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

TestUnsafeUnalignedMismatchedAccesses.java fails: error: package jdk.internal.misc does not exist

    Details

    • Subcomponent:
    • Resolved In Build:
      b00

      Description

      hotspot/test/compiler/intrinsics/unsafe/TestUnsafeUnalignedMismatchedAccesses.java

      ----------System.err:(19/1199)----------
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/compiler/intrinsics/unsafe/TestUnsafeUnalignedMismatchedAccesses.java:35: error: package jdk.internal.misc does not exist
      import jdk.internal.misc.Unsafe;
                              ^
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/compiler/intrinsics/unsafe/TestUnsafeUnalignedMismatchedAccesses.java:39: error: cannot find symbol
          private static final Unsafe UNSAFE;
                               ^
        symbol: class Unsafe
        location: class TestUnsafeUnalignedMismatchedAccesses
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/compiler/intrinsics/unsafe/TestUnsafeUnalignedMismatchedAccesses.java:43: error: cannot find symbol
                  Field unsafeField = Unsafe.class.getDeclaredField("theUnsafe");
                                      ^
        symbol: class Unsafe
        location: class TestUnsafeUnalignedMismatchedAccesses
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/compiler/intrinsics/unsafe/TestUnsafeUnalignedMismatchedAccesses.java:45: error: cannot find symbol
                  UNSAFE = (Unsafe) unsafeField.get(null);
                            ^
        symbol: class Unsafe
        location: class TestUnsafeUnalignedMismatchedAccesses
      4 errors
      result: Failed. Compilation failed: Compilation failed


      test result: Failed. Compilation failed: Compilation failed

        Attachments

          Activity

            People

            • Assignee:
              thartmann Tobias Hartmann
              Reporter:
              thartmann Tobias Hartmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: