JEP 280 (Indify String Concat) integration

Aleksey Shipilev aleksey.shipilev at
Fri Jan 22 17:37:29 UTC 2016

On 01/22/2016 05:44 PM, Peter Levart wrote:
> If StringConcatException ever gets thrown, will it propagate out of the
> concatenation expression execution? If yes, then it should probably be
> an unchecked exception, right?

StringConcatException is modeled after LambdaConversionException: it
covers the linkage invariants, and it is thrown from bootstrap method
only. When BSM throws, call site initialization fails with
BootstrapMethodError, having this exception as the cause. Therefore, I
see no particular reason in making that exception unchecked.


More information about the core-libs-dev mailing list