JDK-8080420 : Compilation of TestVectorizationWithInvariant fails with "error: package com.oracle.java.testlibrary does not exist"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-14
  • Updated: 2017-08-07
  • Resolved: 2015-05-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b66Fixed
Related Reports
Relates :  
Description
While trying to sync hs-comp with hs main I hit the following problem because JDK-8067013 did not yet propagate to hs-comp:

/opt/jprt/T/P1/142432.tohartma/s/hotspot/test/compiler/loopopts/superword/TestVectorizationWithInvariant.java:25: error: package com.oracle.java.testlibrary does not exist
import com.oracle.java.testlibrary.*;
^
/opt/jprt/T/P1/142432.tohartma/s/hotspot/test/compiler/loopopts/superword/TestVectorizationWithInvariant.java:42: error: cannot find symbol
        unsafe = Utils.getUnsafe();
                 ^
  symbol:   variable Utils
  location: class TestVectorizationWithInvariant
2 errors