Integrated: 8289561: java/lang/instrument/NativeMethodPrefixAgent.java fails with "ERROR: Injection failure: java.lang.UnsupportedOperationException: Records requires ASM8"
Alex Menkov
amenkov at openjdk.org
Fri Oct 7 17:16:51 UTC 2022
On Thu, 6 Oct 2022 02:24:12 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> Test failure is a duplicate of [JDK-8284777](https://bugs.openjdk.org/browse/JDK-8284777), but the test needs to be updated:
> - the test instruments all loaded classes, so need to updated ASM version to support records and permits;
> Instrumentor.addNativeMethodTrackingInjection is used only by this test;
> - return empty array from transforming does not cause test failure, added code to handle agent errors
This pull request has now been integrated.
Changeset: c1166a30
Author: Alex Menkov <amenkov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c1166a304dcff6033b8a37ef944b9efa7ab0608d
Stats: 18 lines in 3 files changed: 12 ins; 1 del; 5 mod
8289561: java/lang/instrument/NativeMethodPrefixAgent.java fails with "ERROR: Injection failure: java.lang.UnsupportedOperationException: Records requires ASM8"
Reviewed-by: lmesnik, cjplummer, sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/10589
More information about the serviceability-dev
mailing list