-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
While working on #35938, I noticed that the toString() implementation for annotations on modern JDKs no longer includes value= for an annotation with a single value attribute.
I then noticed that the toString() implementation on modern JDKs also differs in the following ways.
dis no longer appended todoublevalues (since it's superfluous).- There is no longer a space after a
(byte)cast. - Hexidecimal values in bytes are formatted using lowercase instead of uppercase.
Since these changes are simple to make in our toString() implementation for synthesized annotations, we should update SynthesizedMergedAnnotationInvocationHandler accordingly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement