You are viewing a plain text version of this content. The canonical link for it is here.
Posted to royale-builds@royale.apache.org by ap...@gmail.com on 2022/01/12 02:03:34 UTC

Build failed in Jenkins: royale-asjs_jsonly #3994

See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3994/display/redirect?page=changes>

Changes:

[greg.dove] Avoid the use of eval in Language.as. This plays nicer with restrictive


------------------------------------------
[...truncated 1.50 MB...]
    [mxmlc] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication-config.xml>
    [mxmlc] 
    [mxmlc] 95614 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication.swf> in 2.736 seconds
    [mxmlc] 3.760421 seconds
    [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

test:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/src/test/royale/out>
[royaleunit] Validating task attributes ...
[royaleunit] Generating default values ...
[royaleunit] Using the following settings for the test run:
[royaleunit] 	ROYALE_HOME: [<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/]>
[royaleunit] 	haltonfailure: [true]
[royaleunit] 	headless: [false]
[royaleunit] 	display: [99]
[royaleunit] 	localTrusted: [true]
[royaleunit] 	player: [flash]
[royaleunit] 	port: [1024]
[royaleunit] 	swf: [<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication.swf]>
[royaleunit] 	timeout: [90000ms]
[royaleunit] 	toDir: [<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/src/test/royale/out]>
[royaleunit] Setting up server process ...
[royaleunit] Entry [<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/src/test/royale]> already available in local trust file at [C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
[royaleunit] Executing 'rundll32' with arguments:
[royaleunit] 'url.dll,FileProtocolHandler'
[royaleunit] '<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication.swf'>
[royaleunit] 
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit] 
[royaleunit] Starting server ...
[royaleunit] Opening server socket on port [1024].
[royaleunit] Waiting for client connection ...
[royaleunit] Client connected.
[royaleunit] Setting inbound buffer size to [262144] bytes.
[royaleunit] Receiving data ...
[royaleunit] Sending acknowledgement to player to start sending test data ...
[royaleunit] 
[royaleunit] 
[royaleunit] Stopping server ...
[royaleunit] End of test data reached, sending acknowledgement to player ...
[royaleunit] Closing client connection ...
[royaleunit] Closing server on port [1024] ...
[royaleunit] Analyzing reports ...
[royaleunit] 
[royaleunit] Suite: flexUnitTests.DataGridColumnTest
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123 sec
[royaleunit] 
[royaleunit] Results :
[royaleunit] 
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123 sec
[royaleunit] 
[junitreport] Processing <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/src/test/royale/out/TESTS-TestSuites.xml> to C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1195715136
[junitreport] Loading stylesheet jar:file:/C:/apache/apache-ant-1.9.9/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 2141ms
[junitreport] Deleting: C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1195715136

main:
     [echo] swc-date is 01/12/22 01:59 +0000

test-js:
     [echo] swc-date is 01/12/22 02:00 +0000
   [delete] Deleting: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/BasicJS.swc.properties>

check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

clean:

compile:
     [echo] Cross-compiling tests
     [echo] ROYALE_HOME: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/>
     [echo] ROYALE_SWF_COMPILER_HOME: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/>
     [echo] playerglobal.version: 11.7
Trying to override old definition of task compc
Trying to override old definition of task mxmlc
    [mxmlc] MXMLJSC
    [mxmlc] -compiler.targets=JSRoyale
    [mxmlc] -js-output=target
    [mxmlc] +playerglobal.version=11.7
    [mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
    [mxmlc] +royalelib=<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/>
    [mxmlc] --
    [mxmlc] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/src/test/royale/../../../../../../projects/Basic/src/test/royale/FlexUnitRoyaleApplication.mxml>
    [mxmlc] Jan 12, 2022 2:02:03 AM com.google.javascript.jscomp.LoggerErrorManager printSummary
    [mxmlc] INFO: 0 error(s), 0 warning(s), 98.1% typed
    [mxmlc] The project 'FlexUnitRoyaleApplication' has been successfully compiled and optimized.
    [mxmlc] 70.2208542 seconds
    [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

check-royaleunit-browser:

test:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/src/test/royale/out>
[royaleunit] Validating task attributes ...
[royaleunit] Generating default values ...
[royaleunit] Using the following settings for the test run:
[royaleunit] 	ROYALE_HOME: [<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/]>
[royaleunit] 	haltonfailure: [false]
[royaleunit] 	headless: [false]
[royaleunit] 	display: [99]
[royaleunit] 	localTrusted: [true]
[royaleunit] 	player: [html]
[royaleunit] 	command: [C:\Program Files\Mozilla Firefox\firefox.exe]
[royaleunit] 	port: [1024]
[royaleunit] 	swf: [<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/src/test/royale/target/bin/js-release/index.html]>
[royaleunit] 	timeout: [90000ms]
[royaleunit] 	toDir: [<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/src/test/royale/out]>
[royaleunit] Setting up server process ...
[royaleunit] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[royaleunit] SLF4J: Defaulting to no-operation (NOP) logger implementation
[royaleunit] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[royaleunit] Entry [<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/src/test/royale/target/bin/js-release]> already available in local trust file at [C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
[royaleunit] Executing 'C:\Program Files\Mozilla Firefox\firefox.exe' with arguments:
[royaleunit] '<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/src/test/royale/target/bin/js-release/index.html'>
[royaleunit] 
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit] 
[royaleunit] Starting server ...
[royaleunit] Waiting for client connection ...
[royaleunit] 
[royaleunit] Stopping server ...

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/build.xml>:696: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/build.xml>:126: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/build.xml>:398: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/build.xml>:81: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/projects/Basic/build.xml>:89: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/build.xml>:54: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/frameworks/js/projects/BasicJS/src/test/royale/build.xml>:211: java.util.concurrent.ExecutionException: Socket timeout waiting for royaleunit report
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.apache.royale.test.ant.tasks.TestRun.run(TestRun.java:77)
	at org.apache.royale.test.ant.tasks.RoyaleUnitTask.execute(RoyaleUnitTask.java:192)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
	at org.apache.tools.ant.Main.runBuild(Main.java:830)
	at org.apache.tools.ant.Main.startAnt(Main.java:223)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Caused by: Socket timeout waiting for royaleunit report
	at org.apache.royale.test.ant.RoyaleUnitSocketThread.parseInboundMessages(RoyaleUnitSocketThread.java:108)
	at org.apache.royale.test.ant.RoyaleUnitSocketThread.call(RoyaleUnitSocketThread.java:66)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: Socket timeout waiting for royaleunit report
	at org.apache.royale.test.ant.RoyaleUnitWebSocketServer$1.run(RoyaleUnitWebSocketServer.java:119)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)

Total time: 23 minutes 15 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Skipped archiving because build is not successful

Jenkins build is back to normal : royale-asjs_jsonly #3996

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3996/display/redirect>


Re: Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I think JDK8 is already being used on CI.  I see it in the path on that server.

IIRC, a JDK can be instructed to present older JDK APIs and output older JDK bytecode.  We kept the settings as we received them from Adobe to ensure FB compatibility.  Feel free to change the API and bytecode to 8 although I think that means some code will need to be modified to work with the version 8 APIs.

-Alex

On 1/13/22, 11:41 PM, "Harbs" <ha...@gmail.com> wrote:

    > (I really thought we had already agreed to this in the past,
    > but I guess I am mistaken).

    I also have a vague memory of discussing this and agreeing to Java 8.

    No objections from me. I don’t see a compelling reason to supporting anything less than Java 8 today.

    Harbs

    > On Jan 14, 2022, at 5:52 AM, Greg Dove <gr...@gmail.com> wrote:
    > 
    > Thanks Edward and Josh for your feedback and the additional information.
    > 
    > Does anyone have any objections to us making Java 8 an official minimum
    > requirement? (I really thought we had already agreed to this in the past,
    > but I guess I am mistaken).
    > 
    > And - do we need to vote on this?
    > 
    > Additionally, assuming we agree to this, is anyone able to (and willing to)
    > update the
    > apacheroyaleci2.westus2.cloudapp.azure.com:8080
    > build(s) to use java 8 ?
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > On Fri, Jan 14, 2022 at 1:56 PM Edward Stangler <es...@bradmark.com>
    > wrote:
    > 
    >> 
    >> Most definitely Java 8.
    >> 
    >> That's the lowest LTS version available from AdoptOpenJDK / Adoptium:
    >> 
    >>    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fadoptopenjdk.net%2Freleases.html&amp;data=04%7C01%7Caharui%40adobe.com%7Cecb56e70480a4f20c39908d9d7314e47%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637777429038095516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=PT5KXDRQqA0Y7qLd70jY5R5eAgegxsU%2Bm7oDkdWsQ3c%3D&amp;reserved=0
    >>    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fadoptium.net%2Freleases.html&amp;data=04%7C01%7Caharui%40adobe.com%7Cecb56e70480a4f20c39908d9d7314e47%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637777429038095516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=MKPlhidG5s8Dy5L11j30ITXhm8vvcZ8nzfJVqlOMBDw%3D&amp;reserved=0
    >> 
    >>    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fadoptium.net%2Fmigration.html&amp;data=04%7C01%7Caharui%40adobe.com%7Cecb56e70480a4f20c39908d9d7314e47%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637777429038095516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=YIPtv0Nx8N1kJPFyV%2F08yEchKImcr0cEAuc97zpE3TI%3D&amp;reserved=0
    >> 
    >>    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fadoptopenjdk.net%2Ficedtea-web.html&amp;data=04%7C01%7Caharui%40adobe.com%7Cecb56e70480a4f20c39908d9d7314e47%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637777429038095516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=S3ksIARipAzYkNG3h9nnpPjT%2Bb5XOvy2sCm8v6Hrkzo%3D&amp;reserved=0
    >> 
    >> Java 8 is also available from many other builds, like Azul Zulu and
    >> Amazon Corretto (but strangely, not SapMachine).  The next LTS version
    >> is Java 11.  Adoptium and Amazon Corretto will be supporting their Java
    >> 8 builds until at least May 2026.
    >> 
    >> Java 8 seems to play nicely with most things, and it's the last of the
    >> traditional builds.  It's available on Windows XP and later.
    >> 
    >> This is a fantastic overview of Java versions:
    >> 
    >> 
    >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.marcobehler.com%2Fguides%2Fa-guide-to-java-versions-and-features&amp;data=04%7C01%7Caharui%40adobe.com%7Cecb56e70480a4f20c39908d9d7314e47%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637777429038095516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=juEbCoVsljblVbDf%2BBtQ1IiRWnvnl6seTaC2bnZRNZo%3D&amp;reserved=0
    >> 
    >> 
    >> 
    >> On 1/12/2022 11:22 AM, Josh Tynjala wrote:
    >>> I'm all for requiring Java 8 minimum. We originally required Java 6
    >> because
    >>> that's what Flash Builder was most recently shipped with.
    >>> 
    >>> At some point, Adobe posted instructions for how to make Flash Builder
    >> use
    >>> Java 7/8. In some cases, it's no longer possible to use Java 6, and it's
    >>> probably not safe to use Java 6, because it no longer receives security
    >>> updates. Adobe's instructions have now been taken down, but you can find
    >>> them on archive.org:
    >>> 
    >>> 
    >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fweb.archive.org%2Fweb%2F20210122145322%2Fhttp%3A%2F%2Fblogs.adobe.com%2Fflashplayer%2F2018%2F02%2Frunning-adobe-flash-builder-on-mac-with-java-78.html&amp;data=04%7C01%7Caharui%40adobe.com%7Cecb56e70480a4f20c39908d9d7314e47%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637777429038095516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=X0r%2FXCn6KWdwpcqO9JswO%2Bi5%2FvO1h5HYsrosVokvV9M%3D&amp;reserved=0
    >>> 
    >>> Considering how challenging it is to set up Flash Builder today, I'm not
    >>> sure that it's worth supporting Flash Builder anymore.
    >>> 
    >>> Newer versions of Java can no longer target Java 6 anyway. Some can still
    >>> target Java 7, but I've seen some that can only target Java 8 now. I say
    >>> Java 8 sounds good to me as a new minimum. That's what I've been using as
    >>> the minimum version for many projects over the last several years.
    >>> 
    >>> --
    >>> Josh Tynjala
    >>> Bowler Hat LLC <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2F&amp;data=04%7C01%7Caharui%40adobe.com%7Cecb56e70480a4f20c39908d9d7314e47%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637777429038095516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=54Dtu0PfRqwkRQwJThuCavt72mh0tVM0C80AME5C0lo%3D&amp;reserved=0>
    >>> 
    >>> 
    >>> On Tue, Jan 11, 2022 at 11:43 PM Greg Dove <gr...@gmail.com> wrote:
    >>> 
    >>>> What is our official minimum JDK? I had thought we had discussed this in
    >>>> the past and agreed it needed to be 8 now, but I could find no
    >> reference to
    >>>> this discussion. Does anyone recall this?
    >>>> 
    >>>> At the moment the maven CI build is happy with using java 8 language
    >>>> features, because it is using java 8 to build with. But these other CI
    >>>> builds using ant are not (it is not an ant thing, I assume it is simply
    >> a
    >>>> jdk thing on the build environment, or maybe it is something to do with
    >> the
    >>>> jenkins config?)
    >>>> Is there any way we can align jdk of these builds with the maven build
    >> on
    >>>> apache to use java 8?
    >>>> 
    >>>> I hit two errors today and had to backpedal on some java 8 level code
    >>>> (which used a method reference as a predicate).
    >>>> 
    >>>> The error referenced earlier in this thread has:
    >>>> error: method references are not supported in -source 1.7
    >>>> 
    >>>> Another one in another thread (compiler-only build I think)
    >>>> error: method references are not supported in -source 1.6
    >>>> 
    >>>> At the moment we can't use specific java 8 features because they fail on
    >>>> these builds. So that means no newer language features/possible
    >>>> optimizations that are available in java 8 (which was released around 8
    >>>> years ago).
    >>>> 
    >>>> Just mentioning it... not urgent, but we probably should address it at
    >> some
    >>>> point, no?
    >> 
    >> 



Re: Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by Harbs <ha...@gmail.com>.
> (I really thought we had already agreed to this in the past,
> but I guess I am mistaken).

I also have a vague memory of discussing this and agreeing to Java 8.

No objections from me. I don’t see a compelling reason to supporting anything less than Java 8 today.

Harbs

> On Jan 14, 2022, at 5:52 AM, Greg Dove <gr...@gmail.com> wrote:
> 
> Thanks Edward and Josh for your feedback and the additional information.
> 
> Does anyone have any objections to us making Java 8 an official minimum
> requirement? (I really thought we had already agreed to this in the past,
> but I guess I am mistaken).
> 
> And - do we need to vote on this?
> 
> Additionally, assuming we agree to this, is anyone able to (and willing to)
> update the
> apacheroyaleci2.westus2.cloudapp.azure.com:8080
> build(s) to use java 8 ?
> 
> 
> 
> 
> 
> 
> 
> On Fri, Jan 14, 2022 at 1:56 PM Edward Stangler <es...@bradmark.com>
> wrote:
> 
>> 
>> Most definitely Java 8.
>> 
>> That's the lowest LTS version available from AdoptOpenJDK / Adoptium:
>> 
>>    https://adoptopenjdk.net/releases.html
>>    https://adoptium.net/releases.html
>> 
>>    https://adoptium.net/migration.html
>> 
>>    https://adoptopenjdk.net/icedtea-web.html
>> 
>> Java 8 is also available from many other builds, like Azul Zulu and
>> Amazon Corretto (but strangely, not SapMachine).  The next LTS version
>> is Java 11.  Adoptium and Amazon Corretto will be supporting their Java
>> 8 builds until at least May 2026.
>> 
>> Java 8 seems to play nicely with most things, and it's the last of the
>> traditional builds.  It's available on Windows XP and later.
>> 
>> This is a fantastic overview of Java versions:
>> 
>> 
>> https://www.marcobehler.com/guides/a-guide-to-java-versions-and-features
>> 
>> 
>> 
>> On 1/12/2022 11:22 AM, Josh Tynjala wrote:
>>> I'm all for requiring Java 8 minimum. We originally required Java 6
>> because
>>> that's what Flash Builder was most recently shipped with.
>>> 
>>> At some point, Adobe posted instructions for how to make Flash Builder
>> use
>>> Java 7/8. In some cases, it's no longer possible to use Java 6, and it's
>>> probably not safe to use Java 6, because it no longer receives security
>>> updates. Adobe's instructions have now been taken down, but you can find
>>> them on archive.org:
>>> 
>>> 
>> https://web.archive.org/web/20210122145322/http://blogs.adobe.com/flashplayer/2018/02/running-adobe-flash-builder-on-mac-with-java-78.html
>>> 
>>> Considering how challenging it is to set up Flash Builder today, I'm not
>>> sure that it's worth supporting Flash Builder anymore.
>>> 
>>> Newer versions of Java can no longer target Java 6 anyway. Some can still
>>> target Java 7, but I've seen some that can only target Java 8 now. I say
>>> Java 8 sounds good to me as a new minimum. That's what I've been using as
>>> the minimum version for many projects over the last several years.
>>> 
>>> --
>>> Josh Tynjala
>>> Bowler Hat LLC <https://bowlerhat.dev>
>>> 
>>> 
>>> On Tue, Jan 11, 2022 at 11:43 PM Greg Dove <gr...@gmail.com> wrote:
>>> 
>>>> What is our official minimum JDK? I had thought we had discussed this in
>>>> the past and agreed it needed to be 8 now, but I could find no
>> reference to
>>>> this discussion. Does anyone recall this?
>>>> 
>>>> At the moment the maven CI build is happy with using java 8 language
>>>> features, because it is using java 8 to build with. But these other CI
>>>> builds using ant are not (it is not an ant thing, I assume it is simply
>> a
>>>> jdk thing on the build environment, or maybe it is something to do with
>> the
>>>> jenkins config?)
>>>> Is there any way we can align jdk of these builds with the maven build
>> on
>>>> apache to use java 8?
>>>> 
>>>> I hit two errors today and had to backpedal on some java 8 level code
>>>> (which used a method reference as a predicate).
>>>> 
>>>> The error referenced earlier in this thread has:
>>>> error: method references are not supported in -source 1.7
>>>> 
>>>> Another one in another thread (compiler-only build I think)
>>>> error: method references are not supported in -source 1.6
>>>> 
>>>> At the moment we can't use specific java 8 features because they fail on
>>>> these builds. So that means no newer language features/possible
>>>> optimizations that are available in java 8 (which was released around 8
>>>> years ago).
>>>> 
>>>> Just mentioning it... not urgent, but we probably should address it at
>> some
>>>> point, no?
>> 
>> 


Re: Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by Greg Dove <gr...@gmail.com>.
Thanks Edward and Josh for your feedback and the additional information.

Does anyone have any objections to us making Java 8 an official minimum
requirement? (I really thought we had already agreed to this in the past,
but I guess I am mistaken).

And - do we need to vote on this?

Additionally, assuming we agree to this, is anyone able to (and willing to)
update the
apacheroyaleci2.westus2.cloudapp.azure.com:8080
build(s) to use java 8 ?







On Fri, Jan 14, 2022 at 1:56 PM Edward Stangler <es...@bradmark.com>
wrote:

>
> Most definitely Java 8.
>
> That's the lowest LTS version available from AdoptOpenJDK / Adoptium:
>
>     https://adoptopenjdk.net/releases.html
>     https://adoptium.net/releases.html
>
>     https://adoptium.net/migration.html
>
>     https://adoptopenjdk.net/icedtea-web.html
>
> Java 8 is also available from many other builds, like Azul Zulu and
> Amazon Corretto (but strangely, not SapMachine).  The next LTS version
> is Java 11.  Adoptium and Amazon Corretto will be supporting their Java
> 8 builds until at least May 2026.
>
> Java 8 seems to play nicely with most things, and it's the last of the
> traditional builds.  It's available on Windows XP and later.
>
> This is a fantastic overview of Java versions:
>
>
> https://www.marcobehler.com/guides/a-guide-to-java-versions-and-features
>
>
>
> On 1/12/2022 11:22 AM, Josh Tynjala wrote:
> > I'm all for requiring Java 8 minimum. We originally required Java 6
> because
> > that's what Flash Builder was most recently shipped with.
> >
> > At some point, Adobe posted instructions for how to make Flash Builder
> use
> > Java 7/8. In some cases, it's no longer possible to use Java 6, and it's
> > probably not safe to use Java 6, because it no longer receives security
> > updates. Adobe's instructions have now been taken down, but you can find
> > them on archive.org:
> >
> >
> https://web.archive.org/web/20210122145322/http://blogs.adobe.com/flashplayer/2018/02/running-adobe-flash-builder-on-mac-with-java-78.html
> >
> > Considering how challenging it is to set up Flash Builder today, I'm not
> > sure that it's worth supporting Flash Builder anymore.
> >
> > Newer versions of Java can no longer target Java 6 anyway. Some can still
> > target Java 7, but I've seen some that can only target Java 8 now. I say
> > Java 8 sounds good to me as a new minimum. That's what I've been using as
> > the minimum version for many projects over the last several years.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Tue, Jan 11, 2022 at 11:43 PM Greg Dove <gr...@gmail.com> wrote:
> >
> >> What is our official minimum JDK? I had thought we had discussed this in
> >> the past and agreed it needed to be 8 now, but I could find no
> reference to
> >> this discussion. Does anyone recall this?
> >>
> >> At the moment the maven CI build is happy with using java 8 language
> >> features, because it is using java 8 to build with. But these other CI
> >> builds using ant are not (it is not an ant thing, I assume it is simply
> a
> >> jdk thing on the build environment, or maybe it is something to do with
> the
> >> jenkins config?)
> >> Is there any way we can align jdk of these builds with the maven build
> on
> >> apache to use java 8?
> >>
> >> I hit two errors today and had to backpedal on some java 8 level code
> >> (which used a method reference as a predicate).
> >>
> >> The error referenced earlier in this thread has:
> >> error: method references are not supported in -source 1.7
> >>
> >> Another one in another thread (compiler-only build I think)
> >> error: method references are not supported in -source 1.6
> >>
> >> At the moment we can't use specific java 8 features because they fail on
> >> these builds. So that means no newer language features/possible
> >> optimizations that are available in java 8 (which was released around 8
> >> years ago).
> >>
> >> Just mentioning it... not urgent, but we probably should address it at
> some
> >> point, no?
>
>

Re: Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by Edward Stangler <es...@bradmark.com>.
Most definitely Java 8.

That's the lowest LTS version available from AdoptOpenJDK / Adoptium:

    https://adoptopenjdk.net/releases.html
    https://adoptium.net/releases.html

    https://adoptium.net/migration.html

    https://adoptopenjdk.net/icedtea-web.html

Java 8 is also available from many other builds, like Azul Zulu and
Amazon Corretto (but strangely, not SapMachine).  The next LTS version
is Java 11.  Adoptium and Amazon Corretto will be supporting their Java
8 builds until at least May 2026.

Java 8 seems to play nicely with most things, and it's the last of the
traditional builds.  It's available on Windows XP and later.

This is a fantastic overview of Java versions:

    https://www.marcobehler.com/guides/a-guide-to-java-versions-and-features



On 1/12/2022 11:22 AM, Josh Tynjala wrote:
> I'm all for requiring Java 8 minimum. We originally required Java 6 because
> that's what Flash Builder was most recently shipped with.
>
> At some point, Adobe posted instructions for how to make Flash Builder use
> Java 7/8. In some cases, it's no longer possible to use Java 6, and it's
> probably not safe to use Java 6, because it no longer receives security
> updates. Adobe's instructions have now been taken down, but you can find
> them on archive.org:
>
> https://web.archive.org/web/20210122145322/http://blogs.adobe.com/flashplayer/2018/02/running-adobe-flash-builder-on-mac-with-java-78.html
>
> Considering how challenging it is to set up Flash Builder today, I'm not
> sure that it's worth supporting Flash Builder anymore.
>
> Newer versions of Java can no longer target Java 6 anyway. Some can still
> target Java 7, but I've seen some that can only target Java 8 now. I say
> Java 8 sounds good to me as a new minimum. That's what I've been using as
> the minimum version for many projects over the last several years.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Jan 11, 2022 at 11:43 PM Greg Dove <gr...@gmail.com> wrote:
>
>> What is our official minimum JDK? I had thought we had discussed this in
>> the past and agreed it needed to be 8 now, but I could find no reference to
>> this discussion. Does anyone recall this?
>>
>> At the moment the maven CI build is happy with using java 8 language
>> features, because it is using java 8 to build with. But these other CI
>> builds using ant are not (it is not an ant thing, I assume it is simply a
>> jdk thing on the build environment, or maybe it is something to do with the
>> jenkins config?)
>> Is there any way we can align jdk of these builds with the maven build on
>> apache to use java 8?
>>
>> I hit two errors today and had to backpedal on some java 8 level code
>> (which used a method reference as a predicate).
>>
>> The error referenced earlier in this thread has:
>> error: method references are not supported in -source 1.7
>>
>> Another one in another thread (compiler-only build I think)
>> error: method references are not supported in -source 1.6
>>
>> At the moment we can't use specific java 8 features because they fail on
>> these builds. So that means no newer language features/possible
>> optimizations that are available in java 8 (which was released around 8
>> years ago).
>>
>> Just mentioning it... not urgent, but we probably should address it at some
>> point, no?


Re: Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
I'm all for requiring Java 8 minimum. We originally required Java 6 because
that's what Flash Builder was most recently shipped with.

At some point, Adobe posted instructions for how to make Flash Builder use
Java 7/8. In some cases, it's no longer possible to use Java 6, and it's
probably not safe to use Java 6, because it no longer receives security
updates. Adobe's instructions have now been taken down, but you can find
them on archive.org:

https://web.archive.org/web/20210122145322/http://blogs.adobe.com/flashplayer/2018/02/running-adobe-flash-builder-on-mac-with-java-78.html

Considering how challenging it is to set up Flash Builder today, I'm not
sure that it's worth supporting Flash Builder anymore.

Newer versions of Java can no longer target Java 6 anyway. Some can still
target Java 7, but I've seen some that can only target Java 8 now. I say
Java 8 sounds good to me as a new minimum. That's what I've been using as
the minimum version for many projects over the last several years.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Tue, Jan 11, 2022 at 11:43 PM Greg Dove <gr...@gmail.com> wrote:

> What is our official minimum JDK? I had thought we had discussed this in
> the past and agreed it needed to be 8 now, but I could find no reference to
> this discussion. Does anyone recall this?
>
> At the moment the maven CI build is happy with using java 8 language
> features, because it is using java 8 to build with. But these other CI
> builds using ant are not (it is not an ant thing, I assume it is simply a
> jdk thing on the build environment, or maybe it is something to do with the
> jenkins config?)
> Is there any way we can align jdk of these builds with the maven build on
> apache to use java 8?
>
> I hit two errors today and had to backpedal on some java 8 level code
> (which used a method reference as a predicate).
>
> The error referenced earlier in this thread has:
> error: method references are not supported in -source 1.7
>
> Another one in another thread (compiler-only build I think)
> error: method references are not supported in -source 1.6
>
> At the moment we can't use specific java 8 features because they fail on
> these builds. So that means no newer language features/possible
> optimizations that are available in java 8 (which was released around 8
> years ago).
>
> Just mentioning it... not urgent, but we probably should address it at some
> point, no?
>
>
>
>
>
> On Wed, Jan 12, 2022 at 3:46 PM <ap...@gmail.com> wrote:
>
> > See <
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3995/display/redirect
> > >
> >
> > Changes:
> >
> >
> > ------------------------------------------
> > [...truncated 634.92 KB...]
> >     [junit]
> >     [junit] 725 bytes written to
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf
> > in 0.413 seconds
> >     [junit] After compile:
> >     [junit]
> >     [junit] Executing test:
> >     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf]
> >     [junit]  - Creating new FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit]  - Directory
> > 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> > listed in FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit] Generating test:
> >     [junit] Compiling test:
> >     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests288260773690644
> > 1285.as
> >     [junit]
> >     [junit] 787 bytes written to
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf
> > in 0.137 seconds
> >     [junit] After compile:
> >     [junit]
> >     [junit] Executing test:
> >     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf]
> >     [junit]  - Creating new FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit]  - Directory
> > 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> > listed in FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit] Generating test:
> >     [junit] Compiling test:
> >     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682
> > 721.as
> >     [junit]
> >     [junit] 818 bytes written to
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf
> > in 0.133 seconds
> >     [junit] After compile:
> >     [junit]
> >     [junit] Executing test:
> >     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf]
> >     [junit]  - Creating new FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit]  - Directory
> > 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> > listed in FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit] Generating test:
> >     [junit] Compiling test:
> >     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests349589309993935
> > 3094.as
> >     [junit]
> >     [junit] After compile:
> >     [junit] Property hello is read-only.
> >     [junit]
> >     [junit] Generating test:
> >     [junit] Compiling test:
> >     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests456582175583463
> > 5678.as
> >     [junit]
> >     [junit]
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests349589309993935
> > 3094.as(18): col: 11 Error: Property hello is read-only.
> >     [junit]
> >     [junit]           this.hello = 'bye'; }
> >     [junit]           ^
> >     [junit]
> >     [junit] 793 bytes written to
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf
> > in 0.117 seconds
> >     [junit] After compile:
> >     [junit]
> >     [junit] Executing test:
> >     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf]
> >     [junit]  - Creating new FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit]  - Directory
> > 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> > listed in FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 3.043 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSArrayPropertyValueTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.521 sec
> >     [junit] Running org.apache.royale.compiler.internal.css.CSSBaseTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.003 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSColorPropertyValueTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 1.482 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSCombinatorTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.093 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSDocumentTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.391 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSFontFaceTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.445 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSFunctionCallPropertyValueTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.15 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSKeywordPropertyValueTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.075 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSMediaQueryConditionTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.088 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSNamespaceDefinitionTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.257 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSNumberPropertyValueTests
> >     [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.316 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSPropertyTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.103 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSPropertyValueTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.003 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSRgbColorPropertyValueTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.194 sec
> >     [junit] Running org.apache.royale.compiler.internal.css.CSSRuleTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.273 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSSelectorConditionTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.206 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSSelectorTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.469 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSStringPropertyValueTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.121 sec
> >     [junit] Running
> org.apache.royale.compiler.internal.mxml.MXMLDataTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.004 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.mxml.MXMLInstructionDataTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.089 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.mxml.MXMLTextDataTests
> >     [junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.079 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.mxml.MXMLUnitDataTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.002 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.parsing.mxml.MXMLTokenizerTests
> >     [junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 2, Time
> > elapsed: 0.022 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLArrayNodeTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.262 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLBindingNodeTests
> >     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.479 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLBooleanNodeTests
> >     [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 3, Time
> > elapsed: 0.636 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLClassNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.346 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLClassReferenceNodeTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.002 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLDeclarationsNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.311 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLDefinitionNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.202 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLEventSpecifierNodeTests
> >     [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.661 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLExpressionNodeBaseTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.002 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLFunctionNodeTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 2, Time
> > elapsed: 0.207 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLImplementsNodeTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.187 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLInstanceNodeTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.001 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLIntNodeTests
> >     [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.843 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLLibraryNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.14 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLMetadataNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.166 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLNodeBaseTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.001 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLNumberNodeTests
> >     [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.545 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLObjectNodeTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.244 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLPrivateNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.201 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeBooleanTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.214 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeClassTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.274 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeIntTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.125 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeNumberTests
> >     [junit] Tests run: 27, Failures: 0, Errors: 0, Skipped: 6, Time
> > elapsed: 1.463 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeStringTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.13 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.001 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeUintTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.133 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLRegExpNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.128 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLResourceNodeTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.195 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLScriptNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.184 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLSpecifierNodeBaseTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.001 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLStringNodeTests
> >     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.719 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLStyleNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.217 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLUintNodeTests
> >     [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.462 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLXMLListNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.209 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLXMLNodeTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.236 sec
> >     [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m
> > -Xmx2g
> >
> > main:
> >
> > swf:
> >
> > compiler.jx:
> >
> > prebuild:
> >     [mkdir] Created dir:
> > C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
> >     [mkdir] Created dir:
> > C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes\META-INF
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > prepare:
> >      [echo] Making lib directory
> > C:\jenkins\workspace\royale-compiler\compiler-jx/lib
> >
> > all:
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency:
> >
> > download-dependency:
> >       [get] Getting:
> > https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
> >       [get] To:
> > C:\jenkins\workspace\royale-compiler\compiler-jx\lib\args4j-LICENSE.txt
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency-closure:
> >
> > download-dependency-closure:
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency:
> >
> > download-dependency:
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency:
> >
> > download-dependency:
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency:
> >
> > download-dependency:
> >
> > main:
> >
> > compile:
> >     [javac]
> C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92:
> > warning: 'includeantruntime' was not set, defaulting to
> > build.sysclasspath=last; set to false for repeatable builds
> >     [javac] Compiling 213 source files to
> > C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
> >     [javac] warning: [options] bootstrap class path not set in
> conjunction
> > with -source 1.7
> >     [javac]
> >
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\java\org\apache\royale\compiler\internal\codegen\js\utils\EmitterUtils.java:275:
> > error: method references are not supported in -source 1.7
> >     [javac]         list.removeIf(EmitterUtils::shouldExcludeImport);
> >     [javac]                                     ^
> >     [javac]   (use -source 8 or higher to enable method references)
> >     [javac] 1 error
> >     [javac] 1 warning
> >
> > BUILD FAILED
> > <
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/build.xml
> >:1969:
> > The following error occurred while executing this line:
> > C:\jenkins\workspace\royale-compiler\build.xml:109: The following error
> > occurred while executing this line:
> > C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92: Compile
> > failed; see the compiler error output for details.
> >
> > Total time: 6 minutes 33 seconds
> > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
> > Build step 'Invoke Ant' marked build as failure
> > Skipped archiving because build is not successful
> >
>

Re: Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
I'm all for requiring Java 8 minimum. We originally required Java 6 because
that's what Flash Builder was most recently shipped with.

At some point, Adobe posted instructions for how to make Flash Builder use
Java 7/8. In some cases, it's no longer possible to use Java 6, and it's
probably not safe to use Java 6, because it no longer receives security
updates. Adobe's instructions have now been taken down, but you can find
them on archive.org:

https://web.archive.org/web/20210122145322/http://blogs.adobe.com/flashplayer/2018/02/running-adobe-flash-builder-on-mac-with-java-78.html

Considering how challenging it is to set up Flash Builder today, I'm not
sure that it's worth supporting Flash Builder anymore.

Newer versions of Java can no longer target Java 6 anyway. Some can still
target Java 7, but I've seen some that can only target Java 8 now. I say
Java 8 sounds good to me as a new minimum. That's what I've been using as
the minimum version for many projects over the last several years.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Tue, Jan 11, 2022 at 11:43 PM Greg Dove <gr...@gmail.com> wrote:

> What is our official minimum JDK? I had thought we had discussed this in
> the past and agreed it needed to be 8 now, but I could find no reference to
> this discussion. Does anyone recall this?
>
> At the moment the maven CI build is happy with using java 8 language
> features, because it is using java 8 to build with. But these other CI
> builds using ant are not (it is not an ant thing, I assume it is simply a
> jdk thing on the build environment, or maybe it is something to do with the
> jenkins config?)
> Is there any way we can align jdk of these builds with the maven build on
> apache to use java 8?
>
> I hit two errors today and had to backpedal on some java 8 level code
> (which used a method reference as a predicate).
>
> The error referenced earlier in this thread has:
> error: method references are not supported in -source 1.7
>
> Another one in another thread (compiler-only build I think)
> error: method references are not supported in -source 1.6
>
> At the moment we can't use specific java 8 features because they fail on
> these builds. So that means no newer language features/possible
> optimizations that are available in java 8 (which was released around 8
> years ago).
>
> Just mentioning it... not urgent, but we probably should address it at some
> point, no?
>
>
>
>
>
> On Wed, Jan 12, 2022 at 3:46 PM <ap...@gmail.com> wrote:
>
> > See <
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3995/display/redirect
> > >
> >
> > Changes:
> >
> >
> > ------------------------------------------
> > [...truncated 634.92 KB...]
> >     [junit]
> >     [junit] 725 bytes written to
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf
> > in 0.413 seconds
> >     [junit] After compile:
> >     [junit]
> >     [junit] Executing test:
> >     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf]
> >     [junit]  - Creating new FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit]  - Directory
> > 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> > listed in FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit] Generating test:
> >     [junit] Compiling test:
> >     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests288260773690644
> > 1285.as
> >     [junit]
> >     [junit] 787 bytes written to
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf
> > in 0.137 seconds
> >     [junit] After compile:
> >     [junit]
> >     [junit] Executing test:
> >     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf]
> >     [junit]  - Creating new FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit]  - Directory
> > 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> > listed in FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit] Generating test:
> >     [junit] Compiling test:
> >     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682
> > 721.as
> >     [junit]
> >     [junit] 818 bytes written to
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf
> > in 0.133 seconds
> >     [junit] After compile:
> >     [junit]
> >     [junit] Executing test:
> >     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf]
> >     [junit]  - Creating new FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit]  - Directory
> > 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> > listed in FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit] Generating test:
> >     [junit] Compiling test:
> >     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests349589309993935
> > 3094.as
> >     [junit]
> >     [junit] After compile:
> >     [junit] Property hello is read-only.
> >     [junit]
> >     [junit] Generating test:
> >     [junit] Compiling test:
> >     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests456582175583463
> > 5678.as
> >     [junit]
> >     [junit]
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests349589309993935
> > 3094.as(18): col: 11 Error: Property hello is read-only.
> >     [junit]
> >     [junit]           this.hello = 'bye'; }
> >     [junit]           ^
> >     [junit]
> >     [junit] 793 bytes written to
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf
> > in 0.117 seconds
> >     [junit] After compile:
> >     [junit]
> >     [junit] Executing test:
> >     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> >
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf]
> >     [junit]  - Creating new FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit]  - Directory
> > 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> > listed in FlashPlayer security trust file at:
> > C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> > Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
> >     [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 3.043 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSArrayPropertyValueTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.521 sec
> >     [junit] Running org.apache.royale.compiler.internal.css.CSSBaseTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.003 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSColorPropertyValueTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 1.482 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSCombinatorTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.093 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSDocumentTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.391 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSFontFaceTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.445 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSFunctionCallPropertyValueTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.15 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSKeywordPropertyValueTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.075 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSMediaQueryConditionTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.088 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSNamespaceDefinitionTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.257 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSNumberPropertyValueTests
> >     [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.316 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSPropertyTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.103 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSPropertyValueTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.003 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSRgbColorPropertyValueTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.194 sec
> >     [junit] Running org.apache.royale.compiler.internal.css.CSSRuleTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.273 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSSelectorConditionTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.206 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSSelectorTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.469 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.css.CSSStringPropertyValueTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.121 sec
> >     [junit] Running
> org.apache.royale.compiler.internal.mxml.MXMLDataTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.004 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.mxml.MXMLInstructionDataTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.089 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.mxml.MXMLTextDataTests
> >     [junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.079 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.mxml.MXMLUnitDataTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.002 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.parsing.mxml.MXMLTokenizerTests
> >     [junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 2, Time
> > elapsed: 0.022 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLArrayNodeTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.262 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLBindingNodeTests
> >     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.479 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLBooleanNodeTests
> >     [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 3, Time
> > elapsed: 0.636 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLClassNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.346 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLClassReferenceNodeTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.002 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLDeclarationsNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.311 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLDefinitionNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.202 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLEventSpecifierNodeTests
> >     [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.661 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLExpressionNodeBaseTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.002 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLFunctionNodeTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 2, Time
> > elapsed: 0.207 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLImplementsNodeTests
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.187 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLInstanceNodeTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.001 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLIntNodeTests
> >     [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.843 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLLibraryNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.14 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLMetadataNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.166 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLNodeBaseTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.001 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLNumberNodeTests
> >     [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.545 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLObjectNodeTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.244 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLPrivateNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.201 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeBooleanTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.214 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeClassTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.274 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeIntTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.125 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeNumberTests
> >     [junit] Tests run: 27, Failures: 0, Errors: 0, Skipped: 6, Time
> > elapsed: 1.463 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeStringTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.13 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.001 sec
> >     [junit] Running
> >
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeUintTests
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.133 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLRegExpNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.128 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLResourceNodeTests
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.195 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLScriptNodeTests
> >     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.184 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLSpecifierNodeBaseTests
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.001 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLStringNodeTests
> >     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.719 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLStyleNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> > elapsed: 0.217 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLUintNodeTests
> >     [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.462 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLXMLListNodeTests
> >     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.209 sec
> >     [junit] Running
> > org.apache.royale.compiler.internal.tree.mxml.MXMLXMLNodeTests
> >     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time
> > elapsed: 0.236 sec
> >     [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m
> > -Xmx2g
> >
> > main:
> >
> > swf:
> >
> > compiler.jx:
> >
> > prebuild:
> >     [mkdir] Created dir:
> > C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
> >     [mkdir] Created dir:
> > C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes\META-INF
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > prepare:
> >      [echo] Making lib directory
> > C:\jenkins\workspace\royale-compiler\compiler-jx/lib
> >
> > all:
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency:
> >
> > download-dependency:
> >       [get] Getting:
> > https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
> >       [get] To:
> > C:\jenkins\workspace\royale-compiler\compiler-jx\lib\args4j-LICENSE.txt
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency-closure:
> >
> > download-dependency-closure:
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency:
> >
> > download-dependency:
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency:
> >
> > download-dependency:
> >      [echo] basedir is
> > C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >      [echo] ROYALE_COMPILER_HOME is
> > C:\jenkins\workspace\royale-compiler\compiler-jx
> >
> > check-dependency:
> >
> > download-dependency:
> >
> > main:
> >
> > compile:
> >     [javac]
> C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92:
> > warning: 'includeantruntime' was not set, defaulting to
> > build.sysclasspath=last; set to false for repeatable builds
> >     [javac] Compiling 213 source files to
> > C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
> >     [javac] warning: [options] bootstrap class path not set in
> conjunction
> > with -source 1.7
> >     [javac]
> >
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\java\org\apache\royale\compiler\internal\codegen\js\utils\EmitterUtils.java:275:
> > error: method references are not supported in -source 1.7
> >     [javac]         list.removeIf(EmitterUtils::shouldExcludeImport);
> >     [javac]                                     ^
> >     [javac]   (use -source 8 or higher to enable method references)
> >     [javac] 1 error
> >     [javac] 1 warning
> >
> > BUILD FAILED
> > <
> >
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/build.xml
> >:1969:
> > The following error occurred while executing this line:
> > C:\jenkins\workspace\royale-compiler\build.xml:109: The following error
> > occurred while executing this line:
> > C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92: Compile
> > failed; see the compiler error output for details.
> >
> > Total time: 6 minutes 33 seconds
> > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
> > Build step 'Invoke Ant' marked build as failure
> > Skipped archiving because build is not successful
> >
>

Re: Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by Greg Dove <gr...@gmail.com>.
What is our official minimum JDK? I had thought we had discussed this in
the past and agreed it needed to be 8 now, but I could find no reference to
this discussion. Does anyone recall this?

At the moment the maven CI build is happy with using java 8 language
features, because it is using java 8 to build with. But these other CI
builds using ant are not (it is not an ant thing, I assume it is simply a
jdk thing on the build environment, or maybe it is something to do with the
jenkins config?)
Is there any way we can align jdk of these builds with the maven build on
apache to use java 8?

I hit two errors today and had to backpedal on some java 8 level code
(which used a method reference as a predicate).

The error referenced earlier in this thread has:
error: method references are not supported in -source 1.7

Another one in another thread (compiler-only build I think)
error: method references are not supported in -source 1.6

At the moment we can't use specific java 8 features because they fail on
these builds. So that means no newer language features/possible
optimizations that are available in java 8 (which was released around 8
years ago).

Just mentioning it... not urgent, but we probably should address it at some
point, no?





On Wed, Jan 12, 2022 at 3:46 PM <ap...@gmail.com> wrote:

> See <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3995/display/redirect
> >
>
> Changes:
>
>
> ------------------------------------------
> [...truncated 634.92 KB...]
>     [junit]
>     [junit] 725 bytes written to
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf
> in 0.413 seconds
>     [junit] After compile:
>     [junit]
>     [junit] Executing test:
>     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf]
>     [junit]  - Creating new FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit]  - Directory
> 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> listed in FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit] Generating test:
>     [junit] Compiling test:
>     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests288260773690644
> 1285.as
>     [junit]
>     [junit] 787 bytes written to
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf
> in 0.137 seconds
>     [junit] After compile:
>     [junit]
>     [junit] Executing test:
>     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf]
>     [junit]  - Creating new FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit]  - Directory
> 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> listed in FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit] Generating test:
>     [junit] Compiling test:
>     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682
> 721.as
>     [junit]
>     [junit] 818 bytes written to
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf
> in 0.133 seconds
>     [junit] After compile:
>     [junit]
>     [junit] Executing test:
>     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf]
>     [junit]  - Creating new FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit]  - Directory
> 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> listed in FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit] Generating test:
>     [junit] Compiling test:
>     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests349589309993935
> 3094.as
>     [junit]
>     [junit] After compile:
>     [junit] Property hello is read-only.
>     [junit]
>     [junit] Generating test:
>     [junit] Compiling test:
>     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests456582175583463
> 5678.as
>     [junit]
>     [junit]
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests349589309993935
> 3094.as(18): col: 11 Error: Property hello is read-only.
>     [junit]
>     [junit]           this.hello = 'bye'; }
>     [junit]           ^
>     [junit]
>     [junit] 793 bytes written to
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf
> in 0.117 seconds
>     [junit] After compile:
>     [junit]
>     [junit] Executing test:
>     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf]
>     [junit]  - Creating new FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit]  - Directory
> 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> listed in FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 3.043 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSArrayPropertyValueTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.521 sec
>     [junit] Running org.apache.royale.compiler.internal.css.CSSBaseTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.003 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSColorPropertyValueTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 1.482 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSCombinatorTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.093 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSDocumentTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.391 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSFontFaceTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.445 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSFunctionCallPropertyValueTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.15 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSKeywordPropertyValueTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.075 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSMediaQueryConditionTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.088 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSNamespaceDefinitionTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.257 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSNumberPropertyValueTests
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.316 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSPropertyTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.103 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSPropertyValueTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.003 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSRgbColorPropertyValueTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.194 sec
>     [junit] Running org.apache.royale.compiler.internal.css.CSSRuleTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.273 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSSelectorConditionTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.206 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSSelectorTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.469 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSStringPropertyValueTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.121 sec
>     [junit] Running org.apache.royale.compiler.internal.mxml.MXMLDataTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.004 sec
>     [junit] Running
> org.apache.royale.compiler.internal.mxml.MXMLInstructionDataTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.089 sec
>     [junit] Running
> org.apache.royale.compiler.internal.mxml.MXMLTextDataTests
>     [junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.079 sec
>     [junit] Running
> org.apache.royale.compiler.internal.mxml.MXMLUnitDataTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.002 sec
>     [junit] Running
> org.apache.royale.compiler.internal.parsing.mxml.MXMLTokenizerTests
>     [junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 2, Time
> elapsed: 0.022 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLArrayNodeTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.262 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLBindingNodeTests
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.479 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLBooleanNodeTests
>     [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 3, Time
> elapsed: 0.636 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLClassNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.346 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLClassReferenceNodeTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.002 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLDeclarationsNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.311 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLDefinitionNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.202 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLEventSpecifierNodeTests
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.661 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLExpressionNodeBaseTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.002 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLFunctionNodeTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 2, Time
> elapsed: 0.207 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLImplementsNodeTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.187 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLInstanceNodeTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.001 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLIntNodeTests
>     [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.843 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLLibraryNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.14 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLMetadataNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.166 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLNodeBaseTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.001 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLNumberNodeTests
>     [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.545 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLObjectNodeTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.244 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPrivateNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.201 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeBooleanTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.214 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeClassTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.274 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeIntTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.125 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeNumberTests
>     [junit] Tests run: 27, Failures: 0, Errors: 0, Skipped: 6, Time
> elapsed: 1.463 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeStringTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.13 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.001 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeUintTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.133 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLRegExpNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.128 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLResourceNodeTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.195 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLScriptNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.184 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLSpecifierNodeBaseTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.001 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLStringNodeTests
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.719 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLStyleNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.217 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLUintNodeTests
>     [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.462 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLXMLListNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.209 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLXMLNodeTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.236 sec
>     [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m
> -Xmx2g
>
> main:
>
> swf:
>
> compiler.jx:
>
> prebuild:
>     [mkdir] Created dir:
> C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
>     [mkdir] Created dir:
> C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes\META-INF
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> prepare:
>      [echo] Making lib directory
> C:\jenkins\workspace\royale-compiler\compiler-jx/lib
>
> all:
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency:
>
> download-dependency:
>       [get] Getting:
> https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
>       [get] To:
> C:\jenkins\workspace\royale-compiler\compiler-jx\lib\args4j-LICENSE.txt
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency-closure:
>
> download-dependency-closure:
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency:
>
> download-dependency:
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency:
>
> download-dependency:
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency:
>
> download-dependency:
>
> main:
>
> compile:
>     [javac] C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 213 source files to
> C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with -source 1.7
>     [javac]
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\java\org\apache\royale\compiler\internal\codegen\js\utils\EmitterUtils.java:275:
> error: method references are not supported in -source 1.7
>     [javac]         list.removeIf(EmitterUtils::shouldExcludeImport);
>     [javac]                                     ^
>     [javac]   (use -source 8 or higher to enable method references)
>     [javac] 1 error
>     [javac] 1 warning
>
> BUILD FAILED
> <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/build.xml>:1969:
> The following error occurred while executing this line:
> C:\jenkins\workspace\royale-compiler\build.xml:109: The following error
> occurred while executing this line:
> C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92: Compile
> failed; see the compiler error output for details.
>
> Total time: 6 minutes 33 seconds
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
> Build step 'Invoke Ant' marked build as failure
> Skipped archiving because build is not successful
>

Re: Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by Greg Dove <gr...@gmail.com>.
What is our official minimum JDK? I had thought we had discussed this in
the past and agreed it needed to be 8 now, but I could find no reference to
this discussion. Does anyone recall this?

At the moment the maven CI build is happy with using java 8 language
features, because it is using java 8 to build with. But these other CI
builds using ant are not (it is not an ant thing, I assume it is simply a
jdk thing on the build environment, or maybe it is something to do with the
jenkins config?)
Is there any way we can align jdk of these builds with the maven build on
apache to use java 8?

I hit two errors today and had to backpedal on some java 8 level code
(which used a method reference as a predicate).

The error referenced earlier in this thread has:
error: method references are not supported in -source 1.7

Another one in another thread (compiler-only build I think)
error: method references are not supported in -source 1.6

At the moment we can't use specific java 8 features because they fail on
these builds. So that means no newer language features/possible
optimizations that are available in java 8 (which was released around 8
years ago).

Just mentioning it... not urgent, but we probably should address it at some
point, no?





On Wed, Jan 12, 2022 at 3:46 PM <ap...@gmail.com> wrote:

> See <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3995/display/redirect
> >
>
> Changes:
>
>
> ------------------------------------------
> [...truncated 634.92 KB...]
>     [junit]
>     [junit] 725 bytes written to
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf
> in 0.413 seconds
>     [junit] After compile:
>     [junit]
>     [junit] Executing test:
>     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf]
>     [junit]  - Creating new FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit]  - Directory
> 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> listed in FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit] Generating test:
>     [junit] Compiling test:
>     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests288260773690644
> 1285.as
>     [junit]
>     [junit] 787 bytes written to
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf
> in 0.137 seconds
>     [junit] After compile:
>     [junit]
>     [junit] Executing test:
>     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf]
>     [junit]  - Creating new FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit]  - Directory
> 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> listed in FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit] Generating test:
>     [junit] Compiling test:
>     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682
> 721.as
>     [junit]
>     [junit] 818 bytes written to
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf
> in 0.133 seconds
>     [junit] After compile:
>     [junit]
>     [junit] Executing test:
>     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf]
>     [junit]  - Creating new FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit]  - Directory
> 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> listed in FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit] Generating test:
>     [junit] Compiling test:
>     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests349589309993935
> 3094.as
>     [junit]
>     [junit] After compile:
>     [junit] Property hello is read-only.
>     [junit]
>     [junit] Generating test:
>     [junit] Compiling test:
>     [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests456582175583463
> 5678.as
>     [junit]
>     [junit]
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests349589309993935
> 3094.as(18): col: 11 Error: Property hello is read-only.
>     [junit]
>     [junit]           this.hello = 'bye'; }
>     [junit]           ^
>     [junit]
>     [junit] 793 bytes written to
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf
> in 0.117 seconds
>     [junit] After compile:
>     [junit]
>     [junit] Executing test:
>     [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe,
> C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf]
>     [junit]  - Creating new FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit]  - Directory
> 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already
> listed in FlashPlayer security trust file at:
> C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
>     [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 3.043 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSArrayPropertyValueTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.521 sec
>     [junit] Running org.apache.royale.compiler.internal.css.CSSBaseTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.003 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSColorPropertyValueTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 1.482 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSCombinatorTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.093 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSDocumentTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.391 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSFontFaceTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.445 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSFunctionCallPropertyValueTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.15 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSKeywordPropertyValueTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.075 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSMediaQueryConditionTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.088 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSNamespaceDefinitionTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.257 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSNumberPropertyValueTests
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.316 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSPropertyTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.103 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSPropertyValueTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.003 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSRgbColorPropertyValueTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.194 sec
>     [junit] Running org.apache.royale.compiler.internal.css.CSSRuleTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.273 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSSelectorConditionTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.206 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSSelectorTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.469 sec
>     [junit] Running
> org.apache.royale.compiler.internal.css.CSSStringPropertyValueTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.121 sec
>     [junit] Running org.apache.royale.compiler.internal.mxml.MXMLDataTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.004 sec
>     [junit] Running
> org.apache.royale.compiler.internal.mxml.MXMLInstructionDataTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.089 sec
>     [junit] Running
> org.apache.royale.compiler.internal.mxml.MXMLTextDataTests
>     [junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.079 sec
>     [junit] Running
> org.apache.royale.compiler.internal.mxml.MXMLUnitDataTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.002 sec
>     [junit] Running
> org.apache.royale.compiler.internal.parsing.mxml.MXMLTokenizerTests
>     [junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 2, Time
> elapsed: 0.022 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLArrayNodeTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.262 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLBindingNodeTests
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.479 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLBooleanNodeTests
>     [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 3, Time
> elapsed: 0.636 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLClassNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.346 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLClassReferenceNodeTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.002 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLDeclarationsNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.311 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLDefinitionNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.202 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLEventSpecifierNodeTests
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.661 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLExpressionNodeBaseTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.002 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLFunctionNodeTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 2, Time
> elapsed: 0.207 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLImplementsNodeTests
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.187 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLInstanceNodeTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.001 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLIntNodeTests
>     [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.843 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLLibraryNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.14 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLMetadataNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.166 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLNodeBaseTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.001 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLNumberNodeTests
>     [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.545 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLObjectNodeTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.244 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPrivateNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.201 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeBooleanTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.214 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeClassTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.274 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeIntTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.125 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeNumberTests
>     [junit] Tests run: 27, Failures: 0, Errors: 0, Skipped: 6, Time
> elapsed: 1.463 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeStringTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.13 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.001 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeUintTests
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.133 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLRegExpNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.128 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLResourceNodeTests
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.195 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLScriptNodeTests
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.184 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLSpecifierNodeBaseTests
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.001 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLStringNodeTests
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.719 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLStyleNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 0.217 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLUintNodeTests
>     [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.462 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLXMLListNodeTests
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.209 sec
>     [junit] Running
> org.apache.royale.compiler.internal.tree.mxml.MXMLXMLNodeTests
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time
> elapsed: 0.236 sec
>     [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m
> -Xmx2g
>
> main:
>
> swf:
>
> compiler.jx:
>
> prebuild:
>     [mkdir] Created dir:
> C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
>     [mkdir] Created dir:
> C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes\META-INF
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> prepare:
>      [echo] Making lib directory
> C:\jenkins\workspace\royale-compiler\compiler-jx/lib
>
> all:
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency:
>
> download-dependency:
>       [get] Getting:
> https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
>       [get] To:
> C:\jenkins\workspace\royale-compiler\compiler-jx\lib\args4j-LICENSE.txt
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency-closure:
>
> download-dependency-closure:
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency:
>
> download-dependency:
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency:
>
> download-dependency:
>      [echo] basedir is
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>      [echo] ROYALE_COMPILER_HOME is
> C:\jenkins\workspace\royale-compiler\compiler-jx
>
> check-dependency:
>
> download-dependency:
>
> main:
>
> compile:
>     [javac] C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 213 source files to
> C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with -source 1.7
>     [javac]
> C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\java\org\apache\royale\compiler\internal\codegen\js\utils\EmitterUtils.java:275:
> error: method references are not supported in -source 1.7
>     [javac]         list.removeIf(EmitterUtils::shouldExcludeImport);
>     [javac]                                     ^
>     [javac]   (use -source 8 or higher to enable method references)
>     [javac] 1 error
>     [javac] 1 warning
>
> BUILD FAILED
> <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/build.xml>:1969:
> The following error occurred while executing this line:
> C:\jenkins\workspace\royale-compiler\build.xml:109: The following error
> occurred while executing this line:
> C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92: Compile
> failed; see the compiler error output for details.
>
> Total time: 6 minutes 33 seconds
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
> Build step 'Invoke Ant' marked build as failure
> Skipped archiving because build is not successful
>

Build failed in Jenkins: royale-asjs_jsonly #3995

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3995/display/redirect>

Changes:


------------------------------------------
[...truncated 634.92 KB...]
    [junit] 
    [junit] 725 bytes written to C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf in 0.413 seconds
    [junit] After compile:
    [junit] 
    [junit] Executing test:
    [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe, C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests7059165143155028639.swf]
    [junit]  - Creating new FlashPlayer security trust file at: C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
    [junit]  - Directory 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already listed in FlashPlayer security trust file at: C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
    [junit] Generating test:
    [junit] Compiling test:
    [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.as 
    [junit] 
    [junit] 787 bytes written to C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf in 0.137 seconds
    [junit] After compile:
    [junit] 
    [junit] Executing test:
    [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe, C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests2882607736906441285.swf]
    [junit]  - Creating new FlashPlayer security trust file at: C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
    [junit]  - Directory 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already listed in FlashPlayer security trust file at: C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
    [junit] Generating test:
    [junit] Compiling test:
    [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.as 
    [junit] 
    [junit] 818 bytes written to C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf in 0.133 seconds
    [junit] After compile:
    [junit] 
    [junit] Executing test:
    [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe, C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests451927237083682721.swf]
    [junit]  - Creating new FlashPlayer security trust file at: C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
    [junit]  - Directory 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already listed in FlashPlayer security trust file at: C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
    [junit] Generating test:
    [junit] Compiling test:
    [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests3495893099939353094.as 
    [junit] 
    [junit] After compile:
    [junit] Property hello is read-only.
    [junit] 
    [junit] Generating test:
    [junit] Compiling test:
    [junit] -external-library-path=C:\adobe\flash\11.7\playerglobal.swc C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.as 
    [junit] 
    [junit] C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests3495893099939353094.as(18): col: 11 Error: Property hello is read-only.
    [junit] 
    [junit]           this.hello = 'bye'; }
    [junit]           ^
    [junit] 
    [junit] 793 bytes written to C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf in 0.117 seconds
    [junit] After compile:
    [junit] 
    [junit] Executing test:
    [junit] [C:\adobe\flash\11.7\flashplayerdebugger.exe, C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp\ASVariableTests4565821755834635678.swf]
    [junit]  - Creating new FlashPlayer security trust file at: C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
    [junit]  - Directory 'C:\jenkins\workspace\royale-compiler\compiler\target\junit-temp' already listed in FlashPlayer security trust file at: C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\apache-royale-maven-plugin.cfg
    [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.043 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSArrayPropertyValueTests
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.521 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSBaseTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSColorPropertyValueTests
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.482 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSCombinatorTests
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSDocumentTests
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.391 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSFontFaceTests
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.445 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSFunctionCallPropertyValueTests
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSKeywordPropertyValueTests
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSMediaQueryConditionTests
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSNamespaceDefinitionTests
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.257 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSNumberPropertyValueTests
    [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.316 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSPropertyTests
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSPropertyValueTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSRgbColorPropertyValueTests
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.194 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSRuleTests
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.273 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSSelectorConditionTests
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.206 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSSelectorTests
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
    [junit] Running org.apache.royale.compiler.internal.css.CSSStringPropertyValueTests
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.121 sec
    [junit] Running org.apache.royale.compiler.internal.mxml.MXMLDataTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    [junit] Running org.apache.royale.compiler.internal.mxml.MXMLInstructionDataTests
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec
    [junit] Running org.apache.royale.compiler.internal.mxml.MXMLTextDataTests
    [junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec
    [junit] Running org.apache.royale.compiler.internal.mxml.MXMLUnitDataTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
    [junit] Running org.apache.royale.compiler.internal.parsing.mxml.MXMLTokenizerTests
    [junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.022 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLArrayNodeTests
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLBindingNodeTests
    [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.479 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLBooleanNodeTests
    [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.636 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLClassNodeTests
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.346 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLClassReferenceNodeTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLDeclarationsNodeTests
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.311 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLDefinitionNodeTests
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.202 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLEventSpecifierNodeTests
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.661 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLExpressionNodeBaseTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLFunctionNodeTests
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.207 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLImplementsNodeTests
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLInstanceNodeTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLIntNodeTests
    [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.843 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLLibraryNodeTests
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLMetadataNodeTests
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLNodeBaseTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLNumberNodeTests
    [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.545 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLObjectNodeTests
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.244 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLPrivateNodeTests
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.201 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeBooleanTests
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeClassTests
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeIntTests
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeNumberTests
    [junit] Tests run: 27, Failures: 0, Errors: 0, Skipped: 6, Time elapsed: 1.463 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeStringTests
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.13 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLPropertySpecifierNodeUintTests
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.133 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLRegExpNodeTests
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.128 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLResourceNodeTests
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.195 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLScriptNodeTests
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLSpecifierNodeBaseTests
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLStringNodeTests
    [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.719 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLStyleNodeTests
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.217 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLUintNodeTests
    [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.462 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLXMLListNodeTests
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.209 sec
    [junit] Running org.apache.royale.compiler.internal.tree.mxml.MXMLXMLNodeTests
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.236 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

main:

swf:

compiler.jx:

prebuild:
    [mkdir] Created dir: C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
    [mkdir] Created dir: C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes\META-INF
     [echo] basedir is C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx

prepare:
     [echo] Making lib directory C:\jenkins\workspace\royale-compiler\compiler-jx/lib

all:
     [echo] basedir is C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: C:\jenkins\workspace\royale-compiler\compiler-jx\lib\args4j-LICENSE.txt
     [echo] basedir is C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx

check-dependency:

download-dependency:
     [echo] basedir is C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx

check-dependency:

download-dependency:
     [echo] basedir is C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\resources
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx
     [echo] ROYALE_COMPILER_HOME is C:\jenkins\workspace\royale-compiler\compiler-jx

check-dependency:

download-dependency:

main:

compile:
    [javac] C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 213 source files to C:\jenkins\workspace\royale-compiler\compiler-jx\target\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] C:\jenkins\workspace\royale-compiler\compiler-jx\src\main\java\org\apache\royale\compiler\internal\codegen\js\utils\EmitterUtils.java:275: error: method references are not supported in -source 1.7
    [javac]         list.removeIf(EmitterUtils::shouldExcludeImport);
    [javac]                                     ^
    [javac]   (use -source 8 or higher to enable method references)
    [javac] 1 error
    [javac] 1 warning

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/ws/build.xml>:1969: The following error occurred while executing this line:
C:\jenkins\workspace\royale-compiler\build.xml:109: The following error occurred while executing this line:
C:\jenkins\workspace\royale-compiler\compiler-jx\build.xml:92: Compile failed; see the compiler error output for details.

Total time: 6 minutes 33 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Skipped archiving because build is not successful