[code-reflection] RFR: Implementation of -XDreflectAll switch [v2]

Adam Sotona asotona at openjdk.org
Fri Jan 9 10:03:40 UTC 2026


On Fri, 9 Jan 2026 09:54:01 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   catching and logging runtime exceptions when reflectAll enabled
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties line 4335:
> 
>> 4333:     unsupported reflectable method reference in inner class {0}
>> 4334: 
>> 4335: # 0: symbol, 2: string
> 
> This seems wrong -- you go from 0 to 2. Odd that the build generator script doesn't detect that...

It is a typo in the comment, I tried 3-arg message and reverted.
It seems to be flexible, thanks for catching it.

-------------

PR Review Comment: https://git.openjdk.org/babylon/pull/822#discussion_r2675557960


More information about the babylon-dev mailing list