commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shinobu Kawai (JIRA)" <>
Subject [jira] Created: (JELLY-274) arg tag does not work with arrays on mustang (java 6)
Date Sun, 18 Feb 2007 16:38:05 GMT
arg tag does not work with arrays on mustang (java 6)

                 Key: JELLY-274
             Project: Commons Jelly
          Issue Type: Bug
          Components: core / taglib.core
         Environment: mustang (java 6)
            Reporter: Shinobu Kawai
            Priority: Blocker

When running on mustang, the arg tag does throws a ClassNotFoundException [1].  This is due
to a change in the ClassLoader#loadClass() implementation [2].  The tag should be fixed to
use the three-argument Class.forName method as specified in the bug description.

"ClassLoader.loadClass instance method, which does not (necessarily) support loading array
classes, instead of using the static three-argument Class.forName method (like ObjectInputStream's
own implementation of resolveClass uses).  The Class.forName methods do support loading array
classes using the same array class name syntax returned by Class.getName"

[1] java.lang.ClassNotFoundException: [Ljava.lang.Object;
        at Method)
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at org.apache.commons.jelly.tags.core.ArgTag.doTag(
        at org.apache.commons.jelly.TagSupport.invokeBody(
        at org.apache.commons.jelly.tags.core.InvokeStaticTag.doTag(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message