tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre de Jesus <an...@tektix.com>
Subject Undocumented change in 1.4 JDK can cause problems with tag libraries
Date Mon, 26 Nov 2001 16:19:21 GMT
Hi

As SUN says, the Introspector class in the beans API has been 
reimplemented in the most recent version of the JDK (1.4.0 beta3).
In the previous versions, the simultaneous presence in a tag library 
extension of a getter method and a setter method of diferent types both 
methods would apparently cause no problems:

public void setThis(String str);

public boolean isThis();

(both methods would be recognized).

But now, only the getter method (boolean) is recognized. Probably this 
is the correct behavior, since methods of different types are 
contradictory, but nevertheless I thought to say this because it has 
relevance to this list and can break code that relied on the incorrect 
previous behavior.

Thank you



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message