mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
[#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:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user