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

BigSur version number reported as 10.16, should be 11.nn

XMLWordPrintable

    • b10
    • generic
    • os_x

        The test java/lang/System/OsVersionTest.java fails on macOS Big Sur Betta (20A5374i) with the following exception:

        #section:main
        ----------messages:(4/127)----------
        command: main OsVersionTest
        reason: User specified action: run main OsVersionTest
        Mode: othervm
        elapsed time (seconds): 0.225
        ----------configuration:(0/0)----------
        ----------System.out:(0/0)----------
        ----------System.err:(13/748)----------
        java.lang.Error: 10.16 != 11.0
        at OsVersionTest.main(OsVersionTest.java:54)
        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:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:834)

        JavaTest Message: Test threw exception: java.lang.Error: 10.16 != 11.0

        Reproducibility: 100%
        How to reproduce:

        $ jtreg -testjdk:<path_to_jdk> test/jdk/java/lang/System/OsVersionTest.java

              rriggs Roger Riggs
              vprovodin Vitaly Provodin
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: