-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
9, 10
tools/launcher/FXLauncherTest.java
----------System.out:(80/4230)----------
_____________________________________________
test# 1: test for erroneous jfxrt.jar loading
Main-Class: helloworld.HelloJava
PASS: testExtraneousJars_useCP:1 : test with helloworld.HelloJava
_____________________________________________
test# 2: test for erroneous jfxrt.jar loading
Main-Class: helloworld.HelloJava
PASS: testExtraneousJars:2 : test with helloworld.HelloJava
testExtraneousJars: OK
Passed: 1, Failed: 0, ExitValue: 0
_____________________________________________
test# 3- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.ExtHello
PASS: testExtendFXApp_useCP_noJAC:3 : test with helloworld.ExtHello
_____________________________________________
test# 4- Main method:
Main-Class: helloworld.ExtHello
PASS: testExtendFXApp_useCP_noJAC:4 : test with helloworld.ExtHello
_____________________________________________
test# 5- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.ExtHello
JavaFX-Application-Class: helloworld.ExtHello
PASS: testExtendFXApp:5 : test with helloworld.ExtHello
_____________________________________________
test# 6- Main method:
Main-Class: helloworld.ExtHello
JavaFX-Application-Class: helloworld.ExtHello
PASS: testExtendFXApp:6 : test with helloworld.ExtHello
_____________________________________________
test# 7- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.ExtHello
PASS: testExtendFXApp_noJAC:7 : test with helloworld.ExtHello
_____________________________________________
test# 8- Main method:
Main-Class: helloworld.ExtHello
PASS: testExtendFXApp_noJAC:8 : test with helloworld.ExtHello
testExtendFXApp: OK
Passed: 2, Failed: 0, ExitValue: 0
_____________________________________________
test# 9- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.HelloWorld
PASS: testBasicFXApp_useCP_noJAC:9 : test with helloworld.HelloWorld
_____________________________________________
test# 10- Main method:
Main-Class: helloworld.HelloWorld
PASS: testBasicFXApp_useCP_noJAC:10 : test with helloworld.HelloWorld
_____________________________________________
test# 11- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.HelloWorld
JavaFX-Application-Class: helloworld.HelloWorld
renaming fxtest.jar to testBasicFXApp-11-fxtest.jar
FAIL: testBasicFXApp:11 : test with helloworld.HelloWorld
Test static void FXLauncherTest.testBasicFXApp() throws java.lang.Exception failed: java.lang.reflect.InvocationTargetException
----begin detailed exceptions----
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at TestHelper.run(TestHelper.java:205)
at FXLauncherTest.main(FXLauncherTest.java:402)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.Exception: Failed: testBasicFXApp:11
at FXLauncherTest.checkStatus(FXLauncherTest.java:205)
at FXLauncherTest.testBasicFXApp(FXLauncherTest.java:258)
at FXLauncherTest.testBasicFXApp(FXLauncherTest.java:221)
... 12 more
----end detailed exceptions----
_____________________________________________
test# 12: abort on missing Main-Class
JavaFX-Application-Class: helloworld.HelloWorld
PASS: testMissingMC:12 : test with helloworld.HelloWorld
testMissingMC: OK
Passed: 3, Failed: 1, ExitValue: 1
Total: Passed: 3, Failed 1
----------System.err:(56/4128)*----------
Executed command: C:\\jenkins\\workspace\\9-dev\\build\\jdk\\bin\\java.exe -jar C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x64\\jdk_test.tier2\\jtreg\\JTwork\\scratch\\4\\fxtest.jar one two
###TestError###: test did not return 0 exit value
++++Begin Test Info++++
Test Status: FAIL
++++Test Environment++++
JDK8_HOME=c:/jenkins/workspace/mach5data/install/java/re/jdk/8/promoted/latest/bundles/windows-x64/jdk-8-windows-x64.tar.gz/jdk1.8.0
PATH=C:\\jenkins\\workspace\\mach5data\\install\\java\\re\\jdk\\8\\promoted\\latest\\bundles\\windows-x64\\jdk-8-windows-x64.tar.gz\\jdk1.8.0\\bin;C:\\jenkins\\workspace\\mach5data\\install\\jpg\\infra\\builddeps\\gnumake-cygwin_x86\\4.0+1.0\\gnumake-cygwin_x86-4.0+1.0.tar.gz\\cygwin\\bin;C:\\jenkins\\workspace\\mach5data\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b05\\bundles\\jtreg_bin-4.2.zip\\jtreg\\bin;C:\\cygwin\\usr\\local\\bin;C:\\cygwin\\bin;C:\\cygwin\\user\\bin;C:\\cygwin\\bin;.;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn
SystemDrive=C:
SystemRoot=C:\\Windows
TEMP=C:\\Temp
JTREG_TIMEOUT_FACTOR=5
JTREG_TIMEOUT_OPTION=-timeoutFactor:5
JTREG_VERBOSE=fail,error,time
buildid=BUILD_ID
windir=C:\\Windows
CLASSPATH=C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x64\\jdk_test.tier2\\jtreg\\JTwork\\classes\\1\\tools\\launcher;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\tools\\launcher;C:\\jenkins\\workspace\\mach5data\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b05\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\javatest.jar;C:\\jenkins\\workspace\\mach5data\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b05\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\jtreg.jar
++++Test Output++++
HelloWorld.primaryStage.show();
Parameters:
parameter: one
parameter: two
++++Test Stack Trace++++
java.lang.Throwable: current stack of the test
TestHelper.doExec(TestHelper.java:470)
TestHelper.doExec(TestHelper.java:431)
FXLauncherTest.testBasicFXApp(FXLauncherTest.java:247)
FXLauncherTest.testBasicFXApp(FXLauncherTest.java:221)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:547)
TestHelper.run(TestHelper.java:205)
FXLauncherTest.main(FXLauncherTest.java:402)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:547)
com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
java.base/java.lang.Thread.run(Thread.java:844)
++++End of Test Info++++
java.lang.RuntimeException: Tests failed: 1
at TestHelper.run(TestHelper.java:224)
at FXLauncherTest.main(FXLauncherTest.java:402)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
----------System.out:(80/4230)----------
_____________________________________________
test# 1: test for erroneous jfxrt.jar loading
Main-Class: helloworld.HelloJava
PASS: testExtraneousJars_useCP:1 : test with helloworld.HelloJava
_____________________________________________
test# 2: test for erroneous jfxrt.jar loading
Main-Class: helloworld.HelloJava
PASS: testExtraneousJars:2 : test with helloworld.HelloJava
testExtraneousJars: OK
Passed: 1, Failed: 0, ExitValue: 0
_____________________________________________
test# 3- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.ExtHello
PASS: testExtendFXApp_useCP_noJAC:3 : test with helloworld.ExtHello
_____________________________________________
test# 4- Main method:
Main-Class: helloworld.ExtHello
PASS: testExtendFXApp_useCP_noJAC:4 : test with helloworld.ExtHello
_____________________________________________
test# 5- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.ExtHello
JavaFX-Application-Class: helloworld.ExtHello
PASS: testExtendFXApp:5 : test with helloworld.ExtHello
_____________________________________________
test# 6- Main method:
Main-Class: helloworld.ExtHello
JavaFX-Application-Class: helloworld.ExtHello
PASS: testExtendFXApp:6 : test with helloworld.ExtHello
_____________________________________________
test# 7- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.ExtHello
PASS: testExtendFXApp_noJAC:7 : test with helloworld.ExtHello
_____________________________________________
test# 8- Main method:
Main-Class: helloworld.ExtHello
PASS: testExtendFXApp_noJAC:8 : test with helloworld.ExtHello
testExtendFXApp: OK
Passed: 2, Failed: 0, ExitValue: 0
_____________________________________________
test# 9- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.HelloWorld
PASS: testBasicFXApp_useCP_noJAC:9 : test with helloworld.HelloWorld
_____________________________________________
test# 10- Main method:
Main-Class: helloworld.HelloWorld
PASS: testBasicFXApp_useCP_noJAC:10 : test with helloworld.HelloWorld
_____________________________________________
test# 11- Main method: public static void main(String[] args) { launch(args); }
Main-Class: helloworld.HelloWorld
JavaFX-Application-Class: helloworld.HelloWorld
renaming fxtest.jar to testBasicFXApp-11-fxtest.jar
FAIL: testBasicFXApp:11 : test with helloworld.HelloWorld
Test static void FXLauncherTest.testBasicFXApp() throws java.lang.Exception failed: java.lang.reflect.InvocationTargetException
----begin detailed exceptions----
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at TestHelper.run(TestHelper.java:205)
at FXLauncherTest.main(FXLauncherTest.java:402)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.Exception: Failed: testBasicFXApp:11
at FXLauncherTest.checkStatus(FXLauncherTest.java:205)
at FXLauncherTest.testBasicFXApp(FXLauncherTest.java:258)
at FXLauncherTest.testBasicFXApp(FXLauncherTest.java:221)
... 12 more
----end detailed exceptions----
_____________________________________________
test# 12: abort on missing Main-Class
JavaFX-Application-Class: helloworld.HelloWorld
PASS: testMissingMC:12 : test with helloworld.HelloWorld
testMissingMC: OK
Passed: 3, Failed: 1, ExitValue: 1
Total: Passed: 3, Failed 1
----------System.err:(56/4128)*----------
Executed command: C:\\jenkins\\workspace\\9-dev\\build\\jdk\\bin\\java.exe -jar C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x64\\jdk_test.tier2\\jtreg\\JTwork\\scratch\\4\\fxtest.jar one two
###TestError###: test did not return 0 exit value
++++Begin Test Info++++
Test Status: FAIL
++++Test Environment++++
JDK8_HOME=c:/jenkins/workspace/mach5data/install/java/re/jdk/8/promoted/latest/bundles/windows-x64/jdk-8-windows-x64.tar.gz/jdk1.8.0
PATH=C:\\jenkins\\workspace\\mach5data\\install\\java\\re\\jdk\\8\\promoted\\latest\\bundles\\windows-x64\\jdk-8-windows-x64.tar.gz\\jdk1.8.0\\bin;C:\\jenkins\\workspace\\mach5data\\install\\jpg\\infra\\builddeps\\gnumake-cygwin_x86\\4.0+1.0\\gnumake-cygwin_x86-4.0+1.0.tar.gz\\cygwin\\bin;C:\\jenkins\\workspace\\mach5data\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b05\\bundles\\jtreg_bin-4.2.zip\\jtreg\\bin;C:\\cygwin\\usr\\local\\bin;C:\\cygwin\\bin;C:\\cygwin\\user\\bin;C:\\cygwin\\bin;.;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn
SystemDrive=C:
SystemRoot=C:\\Windows
TEMP=C:\\Temp
JTREG_TIMEOUT_FACTOR=5
JTREG_TIMEOUT_OPTION=-timeoutFactor:5
JTREG_VERBOSE=fail,error,time
buildid=BUILD_ID
windir=C:\\Windows
CLASSPATH=C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x64\\jdk_test.tier2\\jtreg\\JTwork\\classes\\1\\tools\\launcher;C:\\jenkins\\workspace\\9-dev\\jdk\\test\\tools\\launcher;C:\\jenkins\\workspace\\mach5data\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b05\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\javatest.jar;C:\\jenkins\\workspace\\mach5data\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b05\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\jtreg.jar
++++Test Output++++
HelloWorld.primaryStage.show();
Parameters:
parameter: one
parameter: two
++++Test Stack Trace++++
java.lang.Throwable: current stack of the test
TestHelper.doExec(TestHelper.java:470)
TestHelper.doExec(TestHelper.java:431)
FXLauncherTest.testBasicFXApp(FXLauncherTest.java:247)
FXLauncherTest.testBasicFXApp(FXLauncherTest.java:221)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:547)
TestHelper.run(TestHelper.java:205)
FXLauncherTest.main(FXLauncherTest.java:402)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:547)
com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
java.base/java.lang.Thread.run(Thread.java:844)
++++End of Test Info++++
java.lang.RuntimeException: Tests failed: 1
at TestHelper.run(TestHelper.java:224)
at FXLauncherTest.main(FXLauncherTest.java:402)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:547)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.base/java.lang.Thread.run(Thread.java:844)
- duplicates
-
JDK-8202553 Update FXLauncherTest as part of removing JavaFX from JDK
- Resolved
- relates to
-
JDK-8185593 tools/launcher/FXLauncherTest.java crashes with assert(value != deleted_handle()) failed: Used a deleted global handle
- Closed