tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22867] - Tag handlers can't be inner/nested classes
Date Tue, 02 Sep 2003 22:11:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22867>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22867

Tag handlers can't be inner/nested classes





------- Additional Comments From gthb@dimon.is  2003-09-02 22:11 -------
Yes, apparently it is breaking it, and not by accident.

http://developer.java.sun.com/developer/bugParade/bugs/4887861.html says:

    jdk 1.4.2 does not allow the use of "$" to refer to inner classes anymore.
    We have fixed the code generator to address this.

http://developer.java.sun.com/developer/bugParade/bugs/4894381.html says:

    JDK 1.4.2 does not allow to generate field type for setters and getters
    for the inner classes as user-defined serializable CMP field types with
    '$' as returned from getClass().getName(). Added code that replaces '$'
    with '.' for the user-defined serializable CMP field types (blob but not
    byte[]).

So apparently they have made this decision consciously in JDK 1.4.2, even
though it seems to contradict the JLS.

Sun's own workaround in Sun ONE app server was to replace '$' with '.' ...
I would move for Tomcat to do the same.

Mime
View raw message