RFR: 8338930: StringConcatFactory hardCoded string concatenation strategy [v6]
Shaojin Wen
swen at openjdk.org
Fri Sep 6 01:12:27 UTC 2024
On Fri, 6 Sep 2024 01:01:11 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Do I need to declare it as ACC_INTERFACE? Many utility classes do this.
>
> interface has extra restrictions that can fail class validation, such as fields must be public static final. So I recommend just using abstract class.
Thanks, I learned something new!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20675#discussion_r1746360230
More information about the core-libs-dev
mailing list