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

Zero VM is broken after JDK-8252689

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b16

      In file included from ./src/hotspot/share/classfile/classLoader.cpp:40:
      ./src/hotspot/share/classfile/systemDictionaryShared.hpp:323:90: error: no viable conversion from returned value of type 'long' to function return type 'Handle'
        static Handle create_jar_manifest(const char* man, size_t size, TRAPS) NOT_CDS_RETURN_(NULL);
                                                                                               ^~~~
      /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include/stddef.h:100:18: note: expanded from macro 'NULL'
      # define NULL __null
                       ^~~~~~
      ./src/hotspot/share/utilities/macros.hpp:119:40: note: expanded from macro 'NOT_CDS_RETURN_'
      #define NOT_CDS_RETURN_(code) { return code; }
                                             ^~~~
      ./src/hotspot/share/runtime/handles.hpp:65:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'long' to 'const Handle &' for 1st argument
      class Handle {
            ^
      ./src/hotspot/share/runtime/handles.hpp:65:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'long' to 'Handle &&' for 1st argument
      1 error generated.

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: