Bug 3306 - Can't compile JDK src (1GF5X42)
Summary: Can't compile JDK src (1GF5X42)
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:52 EDT by Dirk Baeumer CLA
Modified: 2002-06-12 09:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...