RFR: 8364751: ConstantBootstraps.explicitCast contradictory specification for null-to-primitive [v2]

Chen Liang liach at openjdk.org
Wed Aug 27 18:46:41 UTC 2025


On Tue, 26 Aug 2025 15:23:29 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> I use the same wording as `MethodHandles.explicitCastArguments` here. I recommend updating that method as well if you have such questions.
>
> It would be nice if the term was more well define, especially for `char` and `boolean`, but that doesn't have to be done in this patch.
> 
> I do think it would be good to split up the cases into separate list items though. (I made it way too convoluted the first time around). Like I said in my second comment, I don't think the current text works.

Sure, I rewrote the whole lists. Please review again.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26714#discussion_r2305014182


More information about the core-libs-dev mailing list