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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 16
    • 16
    • tools
    • b16
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: