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

KeytoolReaderP12Test.java fail on localized Windows platform

    XMLWordPrintable

Details

    • b13
    • generic
    • generic

    Backports

      Description

        The environment in which I ran the test is as follows:
        JDK: 21-ea
        OS: Windows 10
        Locale: ja

        The following test failed on localized Windows platform:

        java/security/KeyStore/PKCS12/KeytoolReaderP12Test.java

        Here's a snippet from the log file of KeytoolReaderP12Test.java:

        ---
        java.lang.RuntimeException: 'Alias name: pkcs12testenduser1' missing from stdout/stderr
        at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
        at KeytoolReaderP12Test.lambda$runAndValidate$0(KeytoolReaderP12Test.java:141)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1707)
        at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
        at KeytoolReaderP12Test.runAndValidate(KeytoolReaderP12Test.java:140)
        at KeytoolReaderP12Test.readTest(KeytoolReaderP12Test.java:123)
        at KeytoolReaderP12Test.main(KeytoolReaderP12Test.java:57)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
        at java.base/java.lang.Thread.run(Thread.java:1592)
        ---

        Attachments

          Issue Links

            Activity

              People

                jlu Justin Lu
                tkiriyama Takuya Kiriyama
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: