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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the compiler-dev mailing list