-
Bug
-
Resolution: Fixed
-
P4
-
17
-
b14
-
generic
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8281326 | 17.0.4-oracle | Gauri Patil | P4 | Resolved | Fixed | b01 |
JDK-8283025 | 17.0.4 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
The following test failed on localized Windows platform:
* tools/launcher/FXLauncherTest.java
* tools/launcher/HelpFlagsTest.java
* tools/launcher/MainClassAttributeTest.java
* tools/launcher/MainClassCantBeLoadedTest.java
* tools/launcher/SourceMode.java
* tools/launcher/TestSpecialArgs.java
The environment in which I ran tests is as follows:
OS: Windows 10
Locale: ja
Here's a snippet from the log file of FXLauncherTest.java:
test# 13: abort on missing Main-Class
JavaFX-Application-Class: helloworld.HelloWorld
renaming fxtest.jar to testMissingMC-13-fxtest.jar
FAIL: testMissingMC:13 : test with helloworld.HelloWorld
Test static void FXLauncherTest.testMissingMC() 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:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at TestHelper.run(TestHelper.java:200)
at FXLauncherTest.main(FXLauncherTest.java:451)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.Exception: Failed: testMissingMC:13
at FXLauncherTest.checkStatus(FXLauncherTest.java:201)
at FXLauncherTest.testMissingMC(FXLauncherTest.java:380)
... 12 more
----end detailed exceptions----
* tools/launcher/FXLauncherTest.java
* tools/launcher/HelpFlagsTest.java
* tools/launcher/MainClassAttributeTest.java
* tools/launcher/MainClassCantBeLoadedTest.java
* tools/launcher/SourceMode.java
* tools/launcher/TestSpecialArgs.java
The environment in which I ran tests is as follows:
OS: Windows 10
Locale: ja
Here's a snippet from the log file of FXLauncherTest.java:
test# 13: abort on missing Main-Class
JavaFX-Application-Class: helloworld.HelloWorld
renaming fxtest.jar to testMissingMC-13-fxtest.jar
FAIL: testMissingMC:13 : test with helloworld.HelloWorld
Test static void FXLauncherTest.testMissingMC() 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:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at TestHelper.run(TestHelper.java:200)
at FXLauncherTest.main(FXLauncherTest.java:451)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.Exception: Failed: testMissingMC:13
at FXLauncherTest.checkStatus(FXLauncherTest.java:201)
at FXLauncherTest.testMissingMC(FXLauncherTest.java:380)
... 12 more
----end detailed exceptions----
- backported by
-
JDK-8281326 some tests in jdk/tools/launcher/ fails on localized Windows platform
-
- Resolved
-
-
JDK-8283025 some tests in jdk/tools/launcher/ fails on localized Windows platform
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/8197fd47
-
Commit openjdk/jdk/cb112aff
-
Review openjdk/jdk17u-dev/227
-
Review openjdk/jdk/4594
(1 links to)