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

2024-05-30 Thread Aman Sharma
ar meaning should be read into the order of the elements. > HTH, > -Joe Missed this email of yours. Thanks for making it clear. Regards, Aman Sharma PhD Student KTH Royal Institute of Technology School of Electrical Engineering and Computer Science (EECS) Department of Theoretic

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

2024-05-22 Thread Aman Sharma
java/lang/Class.java#L2178> when generating a proxy class. What dictates this order? And why is it not deterministic? Regards, Aman Sharma PhD Student KTH Royal Institute of Technology School of Electrical Engineering and Computer Science (EECS) Department of Theoretical Computer Science

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

2024-05-22 Thread Aman Sharma
Hi Chen, That's clear. Thanks for letting me know. I guess then Project Leyden is working on naming the hidden classes deterministically to achieve their goals<https://openjdk.org/projects/leyden/notes/01-beginnings>. Regards, Aman Sharma PhD Student KTH Royal Institute of Techno

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

2024-05-20 Thread Aman Sharma
at runtime is easy to lookup in the allowlist? Regards, Aman Sharma PhD Student KTH Royal Institute of Technology School of Electrical Engineering and Computer Science (EECS) Department of Theoretical Computer Science (TCS) <http://www.kth.se><https://www.kth.se/profile/amansh

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

2024-05-20 Thread Aman Sharma
t, but I won't have the bytecode at this stage. So is there no way to get its bytecode before it is linked and initialized in the JVM? Regards, Aman Sharma PhD Student KTH Royal Institute of Technology School of Electrical Engineering and Computer Science (EECS) Department of Theoretical C

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

2024-05-17 Thread Aman Sharma
e it has so I don't have suggestions to make them stable as of now. For Proxy classes, I feel it can be addressed unless you disagree or some involved in Project Leyden does. :) Thank you for forwarding my mail there. Regards, Aman Sharma PhD Student KTH Royal Institute of

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

2024-05-17 Thread Aman Sharma
, Aman Sharma PhD Student KTH Royal Institute of Technology School of Electrical Engineering and Computer Science (EECS) Department of Theoretical Computer Science (TCS) <http://www.kth.se><https://www.kth.se/profile/amansha><https://www.kth.se/profile/amansha> <https://www.kth.se/

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

2024-05-16 Thread Aman Sharma
Hi, > have not looked into LambdaMetafactory because I did not encounter it as a > problem so far It is possible that java agents are unable to intercept it. `-verbose:class` logs classes such as "org.apache.pdfbox.cos.COSDocument$$Lambda/0x7a80631a0d08". Regards,

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

2024-05-16 Thread Aman Sharma
ration is also unstable. I have run my approach only a few projects only. And for hidden classes, I assume the the agent won't be able to intercept them so detecting them would be really hard. Regards, Aman Sharma PhD Student KTH Royal Institute of Technology School of Electrical Engineeri