Bug 158518

Summary: Remove dependency of GenericTypeTest#test370 on SUN internal APIs
Product: [Eclipse Project] JDT Reporter: Maxime Daniel <maxime_daniel>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 M3   
Hardware: PC   
OS: All   
Whiteboard:

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