RFR: 8297590: [TESTBUG] HotSpotResolvedJavaFieldTest does not run
Severin Gehwolf
sgehwolf at openjdk.org
Thu Nov 24 17:09:29 UTC 2022
On Thu, 24 Nov 2022 16:33:00 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Simple test fix. Test now also runs when running the JVMCI test set.
>
> Testing: jvmci tests. Includes the test now and passes.
test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/HotSpotResolvedJavaFieldTest.java line 72:
> 70: try {
> 71: Class<?> typeImpl = Class.forName("jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl");
> 72: m = typeImpl.getDeclaredMethod("createField", JavaType.class, int.class, int.class, int.class);
Note this is needed as the mentioned method in class `HotSpotResolvedObjectTypeImpl` has `int` signature for the second param. Not `long`.
-------------
PR: https://git.openjdk.org/jdk/pull/11358
More information about the hotspot-compiler-dev
mailing list