Patch: PR java/8676

Per Bothner per@bothner.com
Fri Nov 22 13:41:00 GMT 2002


Tom Tromey wrote:

> This patch fixes PR java/8676.
>
> If the right hand side of a shift expression has type long, we must
> cast it to int.  Otherwise the tree we generate confuses the bytecode
> generator.
>
> Tested on x86 Red Hat Linux 7.3.
>
> Ok?

Yes.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Java-patches mailing list