On Thu, 2 Oct 2025 10:23:22 GMT, Damon Fenacci <[email protected]> wrote:
> ## Issue > `compiler/ciReplay/TestInliningProtectionDomain.java` for class > `ProtectionDomainTestNoOtherCompilationPrivate` fails because it expects > `bar()` not to be inlined but it gets inlined instead. > > ## Cause > `TestInliningProtectionDomain` checks that ciReplay inlining does not fail > with unresolved signature classes. For class > `ProtectionDomainTestNoOtherCompilationPrivate` it expects `Integer` in its > signature to be unresolved but it is resolved instead. The reason for this is > that in valhalla boxing classes are automatically added when registering a > loader ([JDK-8364034](https://bugs.openjdk.org/browse/JDK-8364034) (and later > [JDK-8364483](https://bugs.openjdk.org/browse/JDK-8364483)): > https://github.com/openjdk/valhalla/blob/708b4f92431df90c115dac840fb8194ec3aac3fe/src/hotspot/share/classfile/systemDictionary.cpp#L215-L217 > > ## Fix > `TestInliningProtectionDomain` should actually use a different class than > `Integer` (a class that is not in the migrated value classes set, like > `java.lang.Thread`. Changed in all classes for "consistency"). > > ## Testing > Tier 1-3 This pull request has now been integrated. Changeset: d300922e Author: Damon Fenacci <[email protected]> Committer: Tobias Hartmann <[email protected]> URL: https://git.openjdk.org/valhalla/commit/d300922e749877f6c02d84da1f0eb7039ce8be2e Stats: 9 lines in 2 files changed: 0 ins; 1 del; 8 mod 8368939: [lworld] TestInliningProtectionDomain fails since jdk-26+11 Reviewed-by: thartmann ------------- PR: https://git.openjdk.org/valhalla/pull/1651
