[jdk11u-dev] RFR: 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs

Anton Kozlov akozlov at openjdk.org
Tue Oct 7 13:13:35 UTC 2025


On Wed, 16 Jul 2025 18:10:08 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

>> Backporting JDK-8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs. Adjusting test to be compatible with GCs other than G1. Ran GHA Sanity Checks, local Tier 1 and 2, and adjusted test directly. Patch is **nearly clean**: since `Reference.refersTo` is not supported, needs minor adjustments.
>
> Taking a closer look at the history, seeing [this](https://github.com/openjdk/jdk11u-dev/pull/869/commits/5ec1e0b8a2a1c3ed745b8ff5fb97b8c0d67354a3) commit when initially backporting the test. Planning to adjust to not use `Reference.refersTo` (which JDK 11 doesn't directly support), rerun local tests and add another commit here.

As far as I can see the Jira issue lacks approval request. @satyenme are you going to proceed with this change?

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3064#issuecomment-3376829150


More information about the jdk-updates-dev mailing list