Summary: | Default value character of annotations in ClassFileEditor are badly printed | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Romain Dervaux <romain.dervaux> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | minor | ||||||
Priority: | P3 | CC: | Olivier_Thomann | ||||
Version: | 3.5 | ||||||
Target Milestone: | 3.6 M2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Romain Dervaux
2009-08-12 12:04:44 EDT
Reproduced. We print: // Method descriptor #8 ()Ljava/lang/String; public abstract String test1(); Annotation Default: "\0" (constant type) // Method descriptor #12 ()C public abstract char test2(); Annotation Default: ' ' (constant type) } Instead of '\0'. Will fix for 3.6M2. No need to backport for 3.5.1. Created attachment 144258 [details]
Proposed fix
Released for 3.6M2. Regression test added in: org.eclipse.jdt.core.tests.compiler.regression.ClassFileReaderTest_1_5#test016 Verified for 3.6M2 |