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 "

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10, 11
    • Fix Version/s: 11
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      x86_64
    • OS:
      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

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: