Re: JEP 416: Missing throws IllegalArgumentException declaration for Method::invoke?

2021-11-11 Thread Marc Hoffmann
Dear Alan, no issue at all, I just noticed in the API diff and wanted to understand whether this was on purpose. Also Thanks for the background information! -marc > On 11. Nov 2021, at 09:48, Alan Bateman wrote: > > On 11/11/2021 08:21, Marc Hoffmann wrote: >> Hi,

JEP 416: Missing throws IllegalArgumentException declaration for Method::invoke?

2021-11-11 Thread Marc Hoffmann
Hi, with the implementation of JEP 416 (https://github.com/openjdk/jdk/commit/c6339cb8a255d387bb182ad20dd69f3d460cf1ed ) the throws declaration for IllegalArgumentException on Method::invoke was removed — while it

Accidentally public inner classes in JDK APIs?

2020-12-22 Thread Marc Hoffmann
Dear core libs developers, I recently noted that the JDK lib implementation comes with a list of public inner classes nested in package private classes. Either these classes are explicitly flagged as public or they become implicitly public when they are nested in interfaces (in accordance to JL