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

Zero builds fail after JDK-8237637 (Remove dubious type conversions from oop)

XMLWordPrintable

    • b08
    • Verified

      In file included from /home/shade/trunks/jdk-jdk/build/linux-x86_64-zero-fastdebug/hotspot/variant-zero/gensrc/jvmtifiles/bytecodeInterpreterWithChecks.cpp:3:0:
      /home/shade/trunks/jdk-jdk/src/hotspot/share/interpreter/bytecodeInterpreter.cpp: In static member function 'static void BytecodeInterpreter::runWithChecks(interpreterState)':
      /home/shade/trunks/jdk-jdk/src/hotspot/share/interpreter/bytecodeInterpreter.cpp:2176:49: error: invalid cast from type 'oop' to type 'HeapWordImpl**'
                       HeapWord* to_zero = (HeapWord*) result + sizeof(oopDesc) / oopSize;
                                                       ^~~~~~

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: