Adding asm to JDK 8
Dmitry Samersoff
Dmitry.Samersoff at oracle.com
Thu Feb 2 21:08:53 PST 2012
Jim,
Do you plan to remove one already existing in the
rt.jar (it comes from jax-ws)?
com.sun.xml.internal.ws.org.objectweb.asm
Do you have permission to include one particular version or
plan to sync it regularly?
-Dmitry
On 2012-02-03 07:13, David Holmes wrote:
> Hi Jim,
>
> I added build-dev to the cc as this is of general interest. Actually
> before doing this a heads-up should go out to all jdk8-dev I think.
>
> One question: are there any cross-compilation issues with building this?
> I'm assuming not but want to check.
>
> Okay two questions :) : do you know when this will get modularized and
> show up in the jigsaw repositories?
>
> Thanks,
> David
>
> On 3/02/2012 9:29 AM, Jim Holmlund wrote:
>> 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
>>
>>
>>
--
Dmitry Samersoff
Java Hotspot development team, SPB04
* There will come soft rains ...
More information about the build-infra-dev
mailing list