Bug report #424 has just been filed. You can view the report at the following URL: <http://znutar.cortexity.com/BugRatViewer/ShowReport/424> REPORT #424 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical Confidence: public Environment: Release: 3.1 JVM Release: 1.2 Operating System: Windows NT OS Release: 4.0 Platform: Intel Synopsis: Tomcat does not see derived setter methods of tag handlers Description: Let's say that I have two classes. The first one is the base class to provide basic attributes for the tag handler I'm implementing. The second one is the actual tag handler to be used in the page. Here is how the code will look like. class A extends TagSupport { public void setAttrib(int x) { ... } } class B extends A { ... } Assume further that I have the proper TLD file to specify tat "Attrib" is a translation-time attribute. Tomcat does not see the method setAttrib() in class B. What I'm getting is just IllegalAccessException. If I were to override the setAttrib() method in B, then Tomcat can see it.Title: BugRat Report # 424
BugRat Report # 424
Project: Tomcat | Release: 3.1 |
Category: Bug Report | SubCategory: New Bug Report |
Class: swbug | State: received |
Priority: high | Severity: critical |
Confidence:
public
|
Submitter:
_Anonymous ( [EMAIL PROTECTED] )
Date Submitted:
Nov 23 2000, 02:07:02 CST
Responsible:
Z_Tomcat Alias ( [EMAIL PROTECTED] )
- Synopsis:
- Tomcat does not see derived setter methods of tag handlers
- Environment: (jvm, os, osrel, platform)
- 1.2, Windows NT, 4.0, Intel
- Additional Environment Description:
- Report Description:
- Let's say that I have two classes. The first one is the base class to provide basic attributes for the tag handler I'm implementing. The second one is the actual tag handler to be used in the page. Here is how the code will look like. class A extends TagSupport { public void setAttrib(int x) { ... } } class B extends A { ... } Assume further that I have the proper TLD file to specify tat "Attrib" is a translation-time attribute. Tomcat does not see the method setAttrib() in class B. What I'm getting is just IllegalAccessException. If I were to override the setAttrib() method in B, then Tomcat can see it.