On Fri, 7 Aug 2026 07:17:48 GMT, Alan Bateman <[email protected]> wrote:
>>> I can't really comment on the JFR part and some of the changes to class >>> loading appear to be indentation and where the event is committed. >>> >>> If ProtectionDomain is removed someday, I think it will still need to be >>> replaced with CodeSource, in case that is a consideration in this change. >> >> We could try a simpler version that will use PD->CodeSource, iff we agree >> that some form of a CodeSource will be retained in the future. > >> We could try a simpler version that will use PD->CodeSource, iff we agree >> that some form of a CodeSource will be retained in the future. > > ProtectionDomain is widely used to get the CodeSource location so no plan to > remove it. It is crying out for a new API but no plans/proposals (that I'm > aware of) right now. Thanks @AlanBateman, @dholmes-ora and @coleenp. Let's try for a simpler solution. ------------- PR Comment: https://git.openjdk.org/jdk/pull/32218#issuecomment-5215208305
