JEP 486: Question about CodeSource
Sean Mullan
sean.mullan at oracle.com
Wed Oct 2 14:23:28 UTC 2024
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?
>
> ```
> getClass().getProtectionDomain().getCodeSource().getLocation()
> ```
>
> Best regards,
> Thiago
More information about the security-dev
mailing list