On Mon, Nov 18, 2024 at 10:17 PM Chen Liang <chen.l.li...@oracle.com> wrote:
> Hi Eirik, > I think it might have been a legacy oversight; note that even > java.util.Arrays was just recently made final. > Thanks, filed https://bugs.openjdk.org/browse/JDK-8344460 to track this enhancement. > > If Runtime was made final it seems we could remove the CheckCSMs test. > I disagree; CheckCSMs test checks for missing CSM annotations when new > caller sensitive methods are added, and to ensure other reflection changes > do not tamper with the caller sensitive mechanism. The static/final > requirements is just one minor aspect of that test. > Alright, sounds good. We can probably remove the Runtime methods registered in this test though. Eirik.