diff -r 7bc78045adfd -r 868ad94dc3ec rt/emul/compact/src/test/java/org/apidesign/bck2brwsr/tck/LongArithmeticTest.java --- a/rt/emul/compact/src/test/java/org/apidesign/bck2brwsr/tck/LongArithmeticTest.java Wed Oct 09 14:50:29 2013 +0200 +++ b/rt/emul/compact/src/test/java/org/apidesign/bck2brwsr/tck/LongArithmeticTest.java Mon Aug 11 18:19:38 2014 +0200 @@ -114,7 +114,15 @@ return (trueCount == 1) ? result : -2; } - + + @Compare public int parameterSlotCount() { + long argCounts = 281479271874563L; + return unpack(argCounts, 2); + } + private static char unpack(long packed, int word) { // word==0 => return a, ==3 => return d + assert(word <= 3); + return (char)(packed >> ((3-word) * 16)); + } @Compare public long conversion() { return Long.MAX_VALUE; }