dragonwell-releng / issues-repo

0 stars 0 forks source link

[riscv-8u]incompatible types: OopMapSet cannot be converted to ImmutableOopMapSet #23

Open sendaoYan opened 4 months ago

sendaoYan commented 4 months 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 hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64Frame.java
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/compiler/ImmutableOopMapSet.java:197: error: incompatible types: OopMapSet cannot be converted to ImmutableOopMapSet
    ImmutableOopMapSet maps = cb.getOopMaps();
                                           ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java:198: error: incompatible types: OopMap cannot be converted to ImmutableOopMap
    ImmutableOopMap map = cb.getOopMapForReturnAddress(fr.getPC(), debugging);
                                                      ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java:207: error: incompatible types: ImmutableOopMap cannot be converted to OopMap
      for (OopMapStream oms = new OopMapStream(map); !oms.isDone(); oms.next()) {
                                               ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java:226: error: incompatible types: ImmutableOopMap cannot be converted to OopMap
      for (OopMapStream oms = new OopMapStream(map); !oms.isDone(); oms.next()) {
                                               ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java:254: error: incompatible types: OopMapSet cannot be converted to ImmutableOopMapSet
        ImmutableOopMapSet maps = cb.getOopMaps();
                                               ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java:261: error: incompatible types: OopMapSet cannot be converted to ImmutableOopMapSet
      ImmutableOopMapSet maps = cb.getOopMaps();
                                             ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java:277: error: incompatible types: OopMap cannot be converted to ImmutableOopMap
    ImmutableOopMap map = cb.getOopMapForReturnAddress(fr.getPC(), debugging);
                                                      ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapSet.java:283: error: incompatible types: ImmutableOopMap cannot be converted to OopMap
    for (OopMapStream oms = new OopMapStream(map); !oms.isDone(); oms.next()) {
                                             ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
8 errors
1 warning

real    1m57.852s
user    1m56.476s
sys     0m1.008s
sendaoYan commented 4 months ago

mv hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/OopMapSet.java ~/git/issues-repo/riscv-port-jdk8u-delete-files/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/