tomcat-dev mailing list archives

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

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'.

Juan A. Hernández,

Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.

View raw message