tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Antonio "Hernández" <ja_hernan...@yahoo.com>
Subject Bug (and fix) in org.apache.jasper.compiler.ClassName
Date Mon, 17 Jan 2000 09:45:25 GMT
Hello:

I have not found an address to submit bug reports so
here it is.

The JSP engine fails to compile a jsp page with HTML
fragments greater than 32K. The problem is inside the
'org.apache.jasper.compiler.ClassName' class. This
class reads the .class file in order to find the
class name. It uses 'short' variables and the
'readShort' method. This kind of variables and methods
cannot deal with values greater than 32K. To fix the
problem just use 'int' instead of 'short' and
'readUnsignedShort' instead of 'readShort'.

Bye,
Juan A. Hernández,
<jahernandez@dss.es>.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Mime
View raw message