dragonwell-releng / issues-repo

0 stars 0 forks source link

[riscv-8u]HTMLGenerator.java:890: error: cannot find symbol private OopMapSet #25

Open sendaoYan opened 1 month ago

sendaoYan commented 1 month ago
> time /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-2.rv64.fc38.riscv64/bin/javac -g -encoding ascii -source 7 -target 7 -classpath /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-2.rv64.fc38.riscv64/lib/tools.jar -sourcepath /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes -d /home/yansendao/git/riscv-port-jdk8u-ysd/build/linux-riscv64-normal-server-slowdebug/hotspot/linux_amd64_compiler2/debug/../generated/saclasses @/home/yansendao/git/riscv-port-jdk8u-ysd/build/linux-riscv64-normal-server-slowdebug/hotspot/linux_amd64_compiler2/debug/../generated/agent.classes.list
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java:890: error: cannot find symbol
      private OopMapSet oms;
              ^
  symbol:   class OopMapSet
  location: class HTMLGenerator.HTMLDisassembler
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/HSDB.java:938: error: cannot find symbol
              OopMapSet maps = cb.getOopMaps();
              ^
  symbol: class OopMapSet
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java:1219: error: constructor OopMapStream in class OopMapStream cannot be applied to given types;
      OopMapStream oms = new OopMapStream(map, OopMapValue.OopTypes.OOP_VALUE);
                         ^
  required: ImmutableOopMap
  found: OopMap,OopTypes
  reason: actual and formal argument lists differ in length
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java:1222: error: constructor OopMapStream in class OopMapStream cannot be applied to given types;
      oms = new OopMapStream(map, OopMapValue.OopTypes.NARROWOOP_VALUE);
            ^
  required: ImmutableOopMap
  found: OopMap,OopTypes
  reason: actual and formal argument lists differ in length
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java:1225: error: constructor OopMapStream in class OopMapStream cannot be applied to given types;
      oms = new OopMapStream(map, OopMapValue.OopTypes.VALUE_VALUE);
            ^
  required: ImmutableOopMap
  found: OopMap,OopTypes
  reason: actual and formal argument lists differ in length
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java:1228: error: constructor OopMapStream in class OopMapStream cannot be applied to given types;
      oms = new OopMapStream(map, OopMapValue.OopTypes.CALLEE_SAVED_VALUE);
            ^
  required: ImmutableOopMap
  found: OopMap,OopTypes
  reason: actual and formal argument lists differ in length
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java:1231: error: constructor OopMapStream in class OopMapStream cannot be applied to given types;
      oms = new OopMapStream(map, OopMapValue.OopTypes.DERIVED_OOP_VALUE);
            ^
  required: ImmutableOopMap
  found: OopMap,OopTypes
  reason: actual and formal argument lists differ in length
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java:1240: error: cannot find symbol
      OopMapSet mapSet = nmethod.getOopMaps();
      ^
  symbol:   class OopMapSet
  location: class HTMLGenerator
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors
1 warning

real    3m49.335s
user    3m46.401s
sys     0m2.063s
time ~/software/jdk/2024-05/dragonwell-11.0.23.20+9-ga/bin/javac -g -encoding ascii -source 7 -target 7 -classpath /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-2.rv64.fc38.riscv64/lib/tools.jar -sourcepath /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes -d /home/yansendao/git/riscv-port-jdk8u-ysd/build/linux-riscv64-normal-server-slowdebug/hotspot/linux_amd64_compiler2/debug/../generated/saclasses hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java