[#4070] Fix SuperBuilder for non-ASCII superclass simple names

javac pretty-prints JCIdent via toString() using unicode escapes.
Use the identifier Name so Hangul (and other non-ASCII) superclass
simple names generate a valid builder type reference.
This commit is contained in:
Burak KALAYCI authored and Reinier Zwitserloot committed 2026-09-08 23:44:04 +02:00
1 parent 3052918430
commit 4bbc653394
5 files changed
+239

No files matched your search

@@ -0,0 +1,15 @@
public class SuperBuilderNonAscii {
@lombok.SuperBuilder
public static class 부모 {
Long a;
}
@lombok.SuperBuilder
public static class 자식 extends 부모 {
String b;
}
public static void test() {
자식 x = 자식.builder().b("").a(5L).build();
}
}