[jdk8u-dev] RFR: 8048003: test/compiler/8009761/Test8009761.java failed with: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled

Zdenek Zambersky zzambers at openjdk.org
Thu Oct 3 15:53:52 UTC 2024


Backport to fix failure on Client VM, [seen on adoptium infra](https://github.com/adoptium/aqa-tests/pull/5646#issuecomment-2377058006) on win32 and arm:

10:24:53  STDOUT:
10:24:53  CompilerOracle: exclude Test8009761.m2
10:24:53  WB error: invalid compilation level 4
10:24:53  STDERR:
10:24:53  java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
10:24:53  	at Test8009761.main(Test8009761.java:263)
10:24:53  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:24:53  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
10:24:53  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:24:53  	at java.lang.reflect.Method.invoke(Method.java:498)
10:24:53  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
10:24:53  	at java.lang.Thread.run(Thread.java:750)


Interestingly test passes on win32 in GHA. I checked jtr, it tests correct jdk, but seems Server VM is built even on win32 (I thought Client VM was default [on win32](https://github.com/openjdk/jdk8u-dev/blob/6acc668a6cfd0c0ab3c05560fe3b45ee44bf76a4/.github/workflows/submit.yml#L986), but probably not):

JDK under test: C:\\Users\\runneradmin\\jdk-windows-x86\\jdk-1.8.0-internal+0_windows-x86_bin\\j2sdk-image
openjdk version "1.8.0_442-internal"
OpenJDK Runtime Environment (build 1.8.0_442-internal-zzambers-25ceefc7a16f31558ec7e92b7504f328a78d8091-b00)
OpenJDK Server VM (build 25.442-b00, mixed mode)

Backport applied cleanly, only file location is different.

**Testing:**
GHA: OK (test passes, failures unrelated)

-------------

Commit messages:
 - Backport b4d4c8a3922f6563013d4e997e149bd0198222d2

Changes: https://git.openjdk.org/jdk8u-dev/pull/591/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=591&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8048003
  Stats: 26 lines in 1 file changed: 5 ins; 19 del; 2 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/591.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/591/head:pull/591

PR: https://git.openjdk.org/jdk8u-dev/pull/591


More information about the jdk8u-dev mailing list