RFR: 8332495: java/util/logging/LoggingDeadlock2.java fails with AssertionError: Some tests failed

2024-05-19 Thread Axel Boldt-Christmas
Improve ` java/util/logging/LoggingDeadlock2.java` stderr parsing by ignoring deprecated warnings. Testing non-generational ZGC requires the use of a deprecated option. - Commit messages: - 8332495: java/util/logging/LoggingDeadlock2.java fails with AssertionError: Some tests fail

RFR: 8332494: java/util/zip/EntryCount64k.java failing with java.lang.RuntimeException: '\\A\\Z' missing from stderr

2024-05-19 Thread Axel Boldt-Christmas
Improve `java/util/zip/EntryCount64k.java` stderr parsing by ignoring deprecated warnings. Testing non-generational ZGC requires the use of a deprecated option. - Commit messages: - 8332494: java/util/zip/EntryCount64k.java failing with java.lang.RuntimeException: '\\A\\Z' missing

Re: Deterministic naming of subclasses of `java/lang/reflect/Proxy`

2024-05-19 Thread David Holmes
On 17/05/2024 9:43 pm, Aman Sharma wrote: Hi Chen, > java.lang.invoke.LambdaForm$MH/0x0200cc000400 I do see this as output when I pass -verbose:class. However, based on my experiments, I have seen that neither an agent passed via 'javaagent' nor an agent passed via 'agentpath' is able to

Re: RFR: 8307818: Convert Indify tool to Classfile API [v2]

2024-05-19 Thread Oussama Louati
> An indify tool in j.l.i tests (also in vmTestBase) convert some source-code > private static methods with MT_ MH_, and INDY_ prefixes into MethodHandle, > MethodType, and CallSite constants. > It currently uses ad-hoc code to process class files and intends to migrate > to ASM; but since we ha

Re: RFR: 8307818: Convert Indify tool to Classfile API

2024-05-19 Thread Oussama Louati
On Thu, 18 Apr 2024 13:53:34 GMT, Oussama Louati wrote: > An indify tool in j.l.i tests (also in vmTestBase) convert some source-code > private static methods with MT_ MH_, and INDY_ prefixes into MethodHandle, > MethodType, and CallSite constants. > It currently uses ad-hoc code to process cla

Re: RFR: 8307818: Convert Indify tool to Classfile API

2024-05-19 Thread ExE Boss
On Thu, 18 Apr 2024 13:53:34 GMT, Oussama Louati wrote: > An indify tool in j.l.i tests (also in vmTestBase) convert some source-code > private static methods with MT_ MH_, and INDY_ prefixes into MethodHandle, > MethodType, and CallSite constants. > It currently uses ad-hoc code to process cla

Re: RFR: 8307818: Convert Indify tool to Classfile API

2024-05-19 Thread Oussama Louati
On Thu, 18 Apr 2024 14:15:12 GMT, Chen Liang wrote: > This is going to be a difficult task because of the sheer size of indify > tool; to migrate you really need in-depth understanding of both indify and CF > API. Good luck! Thank you > test/jdk/java/lang/invoke/indify/Indify.java line 1247:

Re: RFR: 8307818: Convert Indify tool to Classfile API

2024-05-19 Thread Chen Liang
On Thu, 18 Apr 2024 13:53:34 GMT, Oussama Louati wrote: > An indify tool in j.l.i tests (also in vmTestBase) convert some source-code > private static methods with MT_ MH_, and INDY_ prefixes into MethodHandle, > MethodType, and CallSite constants. > It currently uses ad-hoc code to process cla

RFR: 8307818: Convert Indify tool to Classfile API

2024-05-19 Thread Oussama Louati
An indify tool in j.l.i tests (also in vmTestBase) convert some source-code private static methods with MT_ MH_, and INDY_ prefixes into MethodHandle, MethodType, and CallSite constants. It currently uses ad-hoc code to process class files and intends to migrate to ASM; but since we have the Cla