Painless currently supports two versions of String concatenation using the + operator in Painless. In Java 8 and below, a traditional StringBuilder is used. In Java 9 and above a new technique is used involving invokedynamic instructions. We should remove the older version as we will no longer support Java 8 in our next major release.
Painless currently supports two versions of String concatenation using the
+
operator in Painless. In Java 8 and below, a traditional StringBuilder is used. In Java 9 and above a new technique is used involving invokedynamic instructions. We should remove the older version as we will no longer support Java 8 in our next major release.