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

JDK built with --enable-cds=no fails with NoClassDefFoundError: DirectMethodHandle$Holder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      generic

      Description

      This issue can be reproduced also on Linux x86_64.

      Build with '--enable-cds=no'

      Run: make run-test TEST=hotspot/jtreg/sanity

      Output:

      Building target 'run-test' in configuration '/priv/d038402/builds/TEST_BUILDS_NOEA/0/ea_new_jdk_lu0486_64_release'
      Test selection 'hotspot/jtreg/sanity', will run:
      * jtreg:test/hotspot/jtreg/sanity

      Running test 'jtreg:test/hotspot/jtreg/sanity'
      Error occurred during initialization of boot layer
      java.lang.NoClassDefFoundError: java/lang/invoke/DirectMethodHandle$Holder
      Error: Compilation of extra property definition files failed. rc=1
      Finished running test 'jtreg:test/hotspot/jtreg/sanity'
      Test report is stored in /priv/d038402/builds/TEST_BUILDS_NOEA/0/ea_new_jdk_lu0486_64_release/test-results/jtreg_test_hotspot_jtreg_sanity

      ==============================
      Test summary
      ==============================
         TEST TOTAL PASS FAIL ERROR
      >> jtreg:test/hotspot/jtreg/sanity 1 0 0 1 <<
      ==============================
      TEST FAILURE

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchung Mandy Chung
              Reporter:
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: