-
Bug
-
Resolution: Won't Fix
-
P4
-
OpenJDK6
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2153659 | OpenJDK6 | David Katleman | P4 | Closed | Won't Fix |
Currently with the langtools, corba, jaxp, jaxws pre-components split out and built separately, when someone builds the j2se workspace it needs to find replacements for the classes these components deliver. Currently it uses jar to extract out the packages from the JDK_IMPORT_PATH jdk (the import jdk for the build, e.g. the most recent promoted build for this jdk release). The problem is that these "imported" classes can accidently be too many, e.g. when importing in the corba javax/rmi/ packages from rt.jar, we also get the javax/rmi/ssl packages, which are built and delivered by the j2se workspace not corba.
So we have over installed into the classes directory.
Maybe an "impclasses" directory should be used for this, added to the bootclasspath during the build, and then in Release.gmk when the rt.jar is created, it can be smarter about these impclasses files getting put into the rt.jar? Checking for overlap and problems?
Once copied into the classes directory (which is the javac destination directory), these classes can mess up the javac compilations (class file timestamps being newer than the sources, when the classes are actually OLD).
langtools also delivers javax.annotation.processing so watch out for javax.annotation, it's a package that is split between workspaces.
So we have over installed into the classes directory.
Maybe an "impclasses" directory should be used for this, added to the bootclasspath during the build, and then in Release.gmk when the rt.jar is created, it can be smarter about these impclasses files getting put into the rt.jar? Checking for overlap and problems?
Once copied into the classes directory (which is the javac destination directory), these classes can mess up the javac compilations (class file timestamps being newer than the sources, when the classes are actually OLD).
langtools also delivers javax.annotation.processing so watch out for javax.annotation, it's a package that is split between workspaces.
- backported by
-
JDK-2153659 Fix the import of rt.jar classes from pre-components
-
- Closed
-
- relates to
-
JDK-6609966 CORBA, JAXP, JAXWS split from j2se
-
- Closed
-
-
JDK-6610115 j2se partial build problem with javax/rmi/ssl
-
- Resolved
-
-
JDK-6662581 jdk/make/common/internal/Defs-corba.gmk doesnot list all files to be imported: some classes missing
-
- Resolved
-