Adding asm to JDK 8

Jim Holmlund james.holmlund at oracle.com
Thu Feb 2 15:29:48 PST 2012


This is just a heads up that we are in the process of adding
    http://asm.ow2.org/

to jdk 8 as a new top level repo.  This new repo contains the asm source code, with a few mods that 
are needed to build/run it in our environment. The new repo also contains the build files needed to 
participate in our forest builds.  The main building is done by the asm build.xml, with a Makefile 
wrapper around that in order to participate in the forest build.  This Makefile dynamically renames 
the asm packages by prepending 'org.openjdk'.

The forest build handles the asm repo in the same was as the other repos, eg, corba.  The asm repo 
is built just after langtools, and then the resulting .class files are known in the jdk build and 
are put into rt.jar.

The changes for this are:
- These files are modified/added:
     M Makefile
     M make/Defs-internal.gmk
     M make/README.pre-components
     A make/asm-rules.gmk
     M make/jdk-rules.gmk
     M make/sanity-rules.gmk
     M make/scripts/hgforest.sh

- the new asm repo is built just after langtools

- these files in the jdk repo are modified/added:
     M THIRD_PARTY_README
     M make/Makefile
     M make/common/Release.gmk
     M make/common/internal/ImportComponents.gmk
     M make/common/shared/Defs-control.gmk
     M make/common/shared/Defs.gmk
     M make/common/shared/Sanity-Settings.gmk
     A make/common/internal/Defs-asm.gmk
     A test/org/openjdk/org/objectweb/asm/OmitCommons.java
     A test/org/openjdk/org/objectweb/asm/OmitOptimizer.java
     A test/org/openjdk/org/objectweb/asm/OmitTreeAnalysis.java
     A test/org/openjdk/org/objectweb/asm/OmitUtil.java
     A test/org/openjdk/org/objectweb/asm/OmitXml.java
     A test/org/openjdk/org/objectweb/asm/RequiredAsmClasses.java

These changes have not been reviewed and thus are subject to change.  Hopefully, this work can be 
finished in the next couple weeks.  But where have we heard that before.

Please let me know if you have any questions or need more info.

- jjh






More information about the build-infra-dev mailing list