Re: Add @Stable to java.lang.CharacterDataLatin1 and other CharacterData classes

2025-05-26 Thread Claes Redestad
> On second thought, we should just focus on adding stable and final as you > recommend - we should fix stylistic things with no semantic impact later. I’ll note that the code generator used to emit these CharacterData classes — build.tools.generatecharacter.GenerateCharacter — has legacy suppo

Re: Add @Stable to java.lang.CharacterDataLatin1 and other CharacterData classes

2025-05-25 Thread Chen Liang
Subject: Re: Add @Stable to java.lang.CharacterDataLatin1 and other CharacterData classes Hello Shaojin, I think your proposal is reasonable. These arrays are never mutated. Meanwhile I see some declarations like int A[] in CharacterData00, would be nice if you can convert those declarations to

Re: Add @Stable to java.lang.CharacterDataLatin1 and other CharacterData classes

2025-05-24 Thread Chen Liang
Hello Shaojin, I think your proposal is reasonable. These arrays are never mutated. Meanwhile I see some declarations like int A[] in CharacterData00, would be nice if you can convert those declarations to like int[] A too. Regards, Chen From: core-libs-dev on b