JEP 486: Question about CodeSource

Thiago Henrique Hupner thihup at gmail.com
Tue Oct 1 16:31:41 UTC 2024


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20241001/8ae8d4d6/attachment-0001.htm>


More information about the security-dev mailing list