[jdk8u-dev] Integrated: 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
Tue Oct 22 12:46:39 UTC 2024


On Thu, 3 Oct 2024 15:43:34 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:

> Backport to fix failure on Client VM (win32, arm), [seen on adoptium infra](https://github.com/adoptium/aqa-tests/pull/5646#issuecomment-2377058006):
> 
> 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)

This pull request has now been integrated.

Changeset: 432d9627
Author:    Zdenek Zambersky <zzambers at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/432d9627be7b27da599baf90e4a34d3fbbafd460
Stats:     26 lines in 1 file changed: 5 ins; 19 del; 2 mod

8048003: test/compiler/8009761/Test8009761.java failed with: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled

Compile m3 with C1 if C2 is not available.

Backport-of: b4d4c8a3922f6563013d4e997e149bd0198222d2

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

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


More information about the jdk8u-dev mailing list