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. Thanks, -Aleksey
