Summary: | [api] API constants renamed in IProblem | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jim des Rivieres <jeem> | ||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | jerome_lanneluc | ||||||
Version: | 3.0 | ||||||||
Target Milestone: | 3.1 M7 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Jim des Rivieres
2005-04-27 02:19:59 EDT
My fault, I didn't realized that rename these fields would break API... Frederic - along the same line. Could you please compare all API between 3.1 and 3.0 ? And check that only differences are tagged @since 3.1 Frederic - along the same line. Could you please compare all API between 3.1 and 3.0 ? And check that only differences are tagged @since 3.1 Created attachment 20421 [details]
This patch fixes all incorrect API changes since 3.0
Jeem,
Please review and let me know if this is OK for you, then I will apply it to
HEAD.
I've also noticed following break in API:
IAnnotationValueComponent (@since 3.0):
- getEnumContant()
- getEnumCOnstantIndex()
have been removed.
Perhaps we should simply modify @since tag to 3.1...
Frederic, Patch looks good. Modifying the class IAnnotationValueComponent to @since 3.1 would be a good idea, since this is J2SE5 feature that wasn't complete until 3.1. Patch applied + IAnnotationValueComponent tagged as @since 3.1 Note the values for IProblem#JavadocMalformedSeeReference and IProblem#JavadocMissingHashCharacter had been swapped. I assumed it was an oversight as the JavaDocBugTests were failing. I put the values for these 2 constants back to what they were before the patch was applied. Yes, I forgot to modify corresponding messages.properties! So, I will: 1) put back these values as it was in patch (swap of these values since 3.0 was alos an API break as it makes class file code not *fully* compatible between 3.0 and 3.1) 2) modify org.eclipse.jdt.internal.compiler.problem.messages.properties to make this change proper 3) also put back 3.0 value for JavadocPrefix as it again an API break (same reason than point 1) Created attachment 20441 [details] Patch to fix last issues described in comment 8 Last patch pass all JDT/Core and JDT/UI tests. Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD-20050512. Verified. |