Bug 3306

Summary: Can't compile JDK src (1GF5X42)
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 F3   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2001-10-10 22:52:56 EDT
- workspace containing content of src.zip plus rt.jar
	- compile it
	- the following classes have compile errors which I think compile under JDK Java compiler.

		MotifBorder
		TreeMap
				
NOTES:

PM (6/19/2001 4:33:21 PM) JDK 1.2.2

    public static class InternalFrameBorder extends FrameBorder {

        JInternalFrame frame;

        // The size of the bounding box for Motif frame corners.
        public final static int CORNER_SIZE = 24;

        /** Constructs an InternalFrameBorder for the InternalFrame
          * <b>aFrame</b>.
          */
        public InternalFrameBorder(JInternalFrame aFrame) {
            FrameBorder.super(aFrame);												<<===== cannot resolve FrameBorder, which was found as superclass !!!
            frame = aFrame;
        }


PM (6/19/2001 4:41:27 PM)
	On TreeMap, the problem is an ambiguity detected when resolving type named 'Entry' - available both through inheritance and enclosing type.
Comment 1 DJ Houghton CLA 2001-10-29 17:08:14 EST
PRODUCT VERSION:
	122

Comment 2 Philipe Mulet CLA 2002-06-11 08:34:24 EDT
Kent - Please double check with latest in 1.4 mode
Comment 3 Kent Johnson CLA 2002-06-11 13:36:20 EDT
In 1.3.1_01 there are 2 errors from missing superclasses:

BasicSpinnerUI from WindowsSpinnerUI.java
BasicStandardDialogUI from WindowsStandardDialogUI.java

Neither of these missing types is in rt.jar.

In 1.4.1 (pre-beta build 14) there are 265 errors before changing the 
compiler's compliance level to 1.4... afterwards there are 14 errors (with 
org.apache.xerces as a prereq and tools.jar, jce.jar & jsse.jar included).

10 of the errors are from not having the 'right' version of org.apache.xerces. 
The other 4 are in ThreadCurrentStack and are corba related...