d5f625555a
PR java/19295 * jcf-write.c (generate_bytecode_insns): Conversions between integer types of the same precision shouldn't generate widening or narrowing conversion bytecodes. * testsuite/libjava.compile/PR19295.java: New test case. From-SVN: r94162
17 lines
314 B
Java
17 lines
314 B
Java
public class PR19295 implements myInterface {
|
|
public long tagBits = 0;
|
|
|
|
public final boolean isArrayType() {
|
|
return (tagBits & IsArrayType) != 0;
|
|
}
|
|
}
|
|
|
|
abstract class blah {
|
|
public final static int Bit1 = 0x2;
|
|
}
|
|
|
|
interface myInterface {
|
|
long IsArrayType = blah.Bit1;
|
|
}
|
|
|