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

[JVMCI] j.i.j.runtime.test.TestJavaField.java fail due to a compilation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot

      command: compile /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/TestJavaField.java /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/FieldUniverse.java /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/TypeUniverse.java
      reason: User specified action: run compile TestJavaField.java FieldUniverse.java TypeUniverse.java
      elapsed time (seconds): 4.153
      ...
      ----------System.err:(22/2180)----------
      /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/TypeUniverse.java:47: warning: Unsafe is internal proprietary API and may be removed in a future release
          public static final Unsafe unsafe;
                              ^
      /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/TypeUniverse.java:79: warning: Unsafe is internal proprietary API and may be removed in a future release
              Unsafe theUnsafe = null;
              ^
      /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/TypeUniverse.java:81: warning: Unsafe is internal proprietary API and may be removed in a future release
                  theUnsafe = Unsafe.getUnsafe();
                              ^
      /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/TypeUniverse.java:84: warning: Unsafe is internal proprietary API and may be removed in a future release
                      Field theUnsafeField = Unsafe.class.getDeclaredField("theUnsafe");
                                             ^
      /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/TypeUniverse.java:86: warning: Unsafe is internal proprietary API and may be removed in a future release
                      theUnsafe = (Unsafe) theUnsafeField.get(null);
                                   ^
      /export/local/aurora/CommonData/j2se_jdk/hotspot/test/compiler/jvmci/jdk.internal.jvmci.runtime.test/src/jdk/internal/jvmci/runtime/test/TypeUniverse.java:96: error: cannot find symbol
                              ClassLoader.class, String.class, Serializable.class, Cloneable.class, Test.class, TestMetaAccessProvider.class, List.class, Collection.class, Map.class, Queue.class,
                                                                                                                ^
        symbol: class TestMetaAccessProvider
        location: class TypeUniverse
      1 error
      5 warnings
      result: Failed. Compilation failed: Compilation failed

            Unassigned Unassigned
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: