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

JdbExprTest.sh fails in JDK10-hs nightly due to "Name unknown: java.lang.Long.MAX_VALUE "

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 11
    • 10, 11
    • core-svc
    • b15
    • x86_64
    • windows_2012

    Backports

      Description

        The following test failure was spotted in the 2017-08-02 JDK10-hs nightly:

        com/sun/jdi/JdbExprTest.sh
            Test failed due to 'Fail: Required output " \\= 9223372036854775807"
            not found in <path>/results/workDir/classes/0/com/sun/jdi/aa3336/jxdbOutput.txt'
            There is also this message: 'com.sun.tools.example.debug.expr.ParseException:
            Name unknown: java.lang.Long.MAX_VALUE' on Win Server 2012 32-bit Server VM.


        This part of the log file is bothersome:

        Breakpoint hit: "thread=main", JdbExprTest.bkpt(), line=12 bci=0
        12 int i = 0; //@1 breakpoint

        main[1] com.sun.tools.example.debug.expr.ParseException: Name unknown: java.lang.Long.MAX_VALUE
         java.lang.Long.MAX_VALUE = null
        main[1]
        The application has been disconnected

        jdb is up and running enough of the application to hit a breakpoint.
        So what would cause the debugger to be unable to resolve
        java.lang.Long.MAX_VALUE?

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                cjplummer Chris Plummer
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: