Re: toward ASM 4.0

Duncan MacGregor <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 11 Aug 2011, at 16:45, Eric Bruneton wrote:
> Hi,
> 
> we are about to release ASM 4.0. Compared to ASM 4.0 RC1, we mostly renamed the package from org.objectweb.asm to org.ow2.asm, and we renamed two classes (MethodHandle to Handle, and MethodType to Type). If you are already using ASM 4.0 RC1, we invite you to test the code in SVN HEAD before we release it as "ASM 4.0" in a few weeks (so that we can fix remaining bugs, if any).

SVN HEAD seems to be good in our tests except for change 1522, which changes ClassWriter.getCommonSuperClass() from using Class.forName(String) to using the Class.forName(String,Boolean,ClassLoader) variant. Since it passes in null as the ClassLoader it defaults to the bootstrap ClassLoader and caused a couple of our compilation test cases to fail with ClassNotFoundException. Patching it to use ClassLoader.systemClassLoader() fixes the problem in our case, but it should probably use ClassWriter's ClassLoader instead to avoid any subtle unintended changes in behaviour.

Regards, Duncan.
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.