Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 50479 invoked from network); 2 Sep 2003 22:08:26 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 2 Sep 2003 22:08:26 -0000 Received: (qmail 20724 invoked by uid 50); 2 Sep 2003 22:11:18 -0000 Date: 2 Sep 2003 22:11:18 -0000 Message-ID: <20030902221118.20720.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 22867] - Tag handlers can't be inner/nested classes X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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.