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

wrong class file error when compiling tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
      svc
    • CPU:
      generic
    • OS:
      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

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

                Dates

                Created:
                Updated:
                Resolved: