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

some tests in com/sun/jdi fail on localized Windows platform

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • core-svc
    • None
    • b09
    • windows

      The environment in which I ran tests is as follows:
      JDK: 20-ea
      OS: Windows 10
      Locale: ja

      The following test failed on localized Windows platform:

      com/sun/jdi/CatchCaughtTest.java
      com/sun/jdi/CatchPatternTest.java
      com/sun/jdi/JdbExprTest.java
      com/sun/jdi/JdbMethodExitTest.java
      com/sun/jdi/JdbStepTest.java
      com/sun/jdi/JdbReadTwiceTest.sh
      com/sun/jdi/JdbStepTest.java
      com/sun/jdi/JdbStopInNotificationThreadTest.java
      com/sun/jdi/JdbStopThreadidTest.java
      com/sun/jdi/JdbStopThreadTest.java
      com/sun/jdi/JdbVarargsTest.java
      com/sun/jdi/RedefineTTYLineNumber.java

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

      java.lang.RuntimeException: 'Usage: catch' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
      at CatchCaughtTest.runCases(CatchCaughtTest.java:73)
      at lib.jdb.JdbTest.run(JdbTest.java:96)
      at CatchCaughtTest.main(CatchCaughtTest.java:52)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1596)

            tkiriyama Takuya Kiriyama
            tkiriyama Takuya Kiriyama
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: