[jdk11u-dev] RFR: 8312049: runtime/logging/ClassLoadUnloadTest can be improved
Paul Hohensee
phh at openjdk.org
Tue Aug 27 15:31:09 UTC 2024
On Fri, 23 Aug 2024 19:29:43 GMT, Daniel Hu <duke at openjdk.org> wrote:
> Backport that improves ClassLoadUnloadTest; already backported to [JDK21](https://github.com/openjdk/jdk21u-dev/pull/909) and [JDK17](https://github.com/openjdk/jdk17u-dev/pull/2806). Original commit does not apply cleanly due to the options "-Xlog:class+load+cause" "-Xlog:class+load+cause+native" were not added until a later [version](https://bugs.openjdk.org/browse/JDK-8193513), thus these cases are excluded. Some args in exec() also were not added until a [later version](https://bugs.openjdk.org/browse/JDK-8289184), thus they are excluded. Additionally, [these flags](https://bugs.openjdk.org/browse/JDK-8256718) were deprecated in a later version and thus removed from this test; simple modifications are added so that these later removed cases follow the backport logic. Affected test passes.
>
> MacOS GHA not passing due to unrelated deprecated sprintf
Marked as reviewed by phh (Reviewer).
MacOS GHA build failures are sprintf related, i.e., not related to this backport.
-------------
PR Review: https://git.openjdk.org/jdk11u-dev/pull/2920#pullrequestreview-2263770297
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2920#issuecomment-2312880857
More information about the jdk-updates-dev
mailing list