[
https://issues.apache.org/jira/browse/IGNITE-28891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18096376#comment-18096376
]
Mikhail Petrov commented on IGNITE-28891:
-----------------------------------------
[~NSAmelchev] Thank you for the review.
> Fix IDTO Serializer Generator class name parsing for JDK 21
> -----------------------------------------------------------
>
> Key: IGNITE-28891
> URL: https://issues.apache.org/jira/browse/IGNITE-28891
> Project: Ignite
> Issue Type: Bug
> Reporter: Mikhail Petrov
> Assignee: Mikhail Petrov
> Priority: Major
> Labels: ise
> Fix For: 2.19
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{TypeMirror.toString()}} is implemented by {{{}javac{}}}, and its exact
> formatting is {*}not part of the API specification{*}. Between JDK 17 and JDK
> 21, the compiler changed how it pretty-prints annotated types to more closely
> match the Java Language Specification.
> JDK 17
> javac prints:
> {code:java}
> @org.jetbrains.annotations.Nullable java.util.List
> {code}
> JDK 21
> javac prints:
> {code:java}
> [email protected] List
> {code}
> We should not derive the class name from TypeMirror.toString()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)