excessive cast requirements

Erik Poupaert erik.poupaert@chello.be
Mon Feb 10 19:13:00 GMT 2003


Erik> In the PreparedStatement.java source, I was forced to add
Erik> excessive casts:

Erik> case (byte)'\n': /* Must be escaped for logs */

This bug is fixed in gcj 3.3.  This patch did it:

2002-08-26  Tom Tromey  <tromey@redhat.com>

	* parse.y (try_builtin_assignconv): Allow narrowing primitive
	conversion if RHS_TYPE is byte, short, or char.


Great. That will help. Is there any location to publish these natively
compiled things? Maybe someone else could be interested?



More information about the Java mailing list