Re: JEP 486: Question about CodeSource

2024-10-02 Thread Sean Mullan
Yes, the code below should continue to work after JEP 486 has been integrated. --Sean On 10/1/24 12:31 PM, Thiago Henrique Hupner wrote: Hi all! Will the following snippet stop working after the JEP 486 has been integrated? If so, will there be any replacement to get a CodeSource? ``` getC

JEP 486: Question about CodeSource

2024-10-01 Thread Thiago Henrique Hupner
Hi all! Will the following snippet stop working after the JEP 486 has been integrated? If so, will there be any replacement to get a CodeSource? ``` getClass().getProtectionDomain().getCodeSource().getLocation() ``` Best regards, Thiago