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

wrong class file error when compiling tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • 9
    • 9
    • hotspot
    • svc
    • generic
    • generic

    Description

      #section:build
      ----------messages:(3/105)----------
      command: build TestClassLoaderStats
      reason: Named class compiled on demand
      elapsed time (seconds): 7.005
      result: Failed. Compilation failed: Compilation failed
      ....

      bpool/local/aurora/CommonData/TESTBASE/hotspot/test/serviceability/sa/TestClassLoaderStats.java:31: error: cannot access LingeredApp
      import jdk.test.lib.apps.LingeredApp;
                              ^
        bad class file: /bpool/local/aurora/sandbox/results/workDir/test/lib/share/classes/jdk/test/lib/apps/LingeredApp.class
          class file contains wrong class: jdk.test.lib.Utils
          Please remove or make sure it appears in the correct subdirectory of the classpath.
      1 error
      result: Failed. Compilation failed: Compilation failed

      Attachments

        Issue Links

          Activity

            People

              akulyakh Alexander Kulyakhtin (Inactive)
              olagneau Olivier Lagneau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: