import java.util.Random;

class BadIntegerOperations {

	int getBytesAsInt(byte b[]) {
		int l = 0;
		for (int i = 0; i < b.length; i++)
			l = (l << 8) | b[i];
		return l;
	}

	long getBytesAsLong(byte b[]) {
		long l = 0;
		for (int i = 0; i < b.length; i++)
			l = (l << 8) | b[i];
		return l;
	}

	long getBytesAsLong2(byte b[]) {
		long l = 0;
		for (int i = 0; i < b.length; i++)
			l = b[i] | (l << 8);
		return l;
	}

	int getBytesAsInt2(byte b[]) {
		int l = 0;
		for (int i = 0; i < b.length; i++)
			l = b[i] | (l << 8);
		return l;
	}

	Random r = new Random();

	int getRandomElement(int a[]) {
		return a[r.nextInt() % a.length];
	}

	public BadIntegerOperations() {
	}
}

@@ -641,16 +641,149 @@
 h%5D;%0A%09%7D%0A%0A
+%0A%09public void operationsOnBooleanArrays(String%5B%5D args)%0A%09%7B%0A%09final boolean%5B%5D values = %7B false %7D;%0A%09values%5B0%5D %7C= (args.length %3E 0);%0A%09%7D%0A%0A%0A
 %09public 

add false positive test case (|= on boolean array).