Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8269373

some tests in jdk/tools/launcher/ fails on localized Windows platform

XMLWordPrintable

    • b14
    • generic
    • windows

        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----

              myano Masanori Yano
              myano Masanori Yano
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: