Bug 158518 - Remove dependency of GenericTypeTest#test370 on SUN internal APIs
Summary: Remove dependency of GenericTypeTest#test370 on SUN internal APIs
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: 3.3 M3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-25 04:39 EDT by Maxime Daniel CLA
Modified: 2006-10-30 05:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Daniel CLA 2006-09-25 04:39:53 EDT
Most recent versions of JDK 6 (b99) do complain upon GenericTypeTest#test370:
X.java:4: warning: sun.reflect.annotation.AnnotationParser is Sun proprietary API and may be removed in a future release
import sun.reflect.annotation.AnnotationParser;
                             ^
X.java:8: warning: sun.reflect.annotation.AnnotationParser is Sun proprietary API and may be removed in a future release
                Map<Class, Annotation> map = AnnotationParser.parseAnnotations(null, null, null);
                                             ^
2 warnings

The test should be rewritten so as to suppress that dependency.
Comment 1 Olivier Thomann CLA 2006-10-04 10:42:57 EDT
Released for 3.3M3.
Comment 2 David Audel CLA 2006-10-30 05:40:47 EST
Verified for 3.3 M3 using build I20061030-0010