Issue  Fix Version  Assignee  Priority  Status  Resolution  Resolved In Build 

JDK8015038  8  Vladimir Kozlov  P3  Resolved  Fixed  b91 
It failed even with EliminateAutoBox switched off:
bash2.05b$ bin/java d64 version
java version "1.8.0eafastdebug"
Java(TM) SE Runtime Environment (build 1.8.0eafastdebugb88)
Java HotSpot(TM) 64Bit Server VM (build 25.0b32internal201305082235.vkozlov.6934604fastdebug, mixed mode)
bash2.05b$ bin/java d64 XX:CICompilerCount=1 Xcomp XX:EliminateAutoBox DivModTests
FAIL: Math.floorMod(3, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(1, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(0, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(4, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(3, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(1, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(0, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(1, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(2, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(3, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(4, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(1, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(2, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(3, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(4, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(2147483647, 1) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2147483647, 1) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2147483647, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(2147483646, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2147483648, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(2147483647, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(2147483647, 1) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2147483648, 1) = 0 differs from Math.floor(x, y): 0
FAIL: Long.floorMod(4, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(3, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(2, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(1, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(0, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(4, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(3, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(2, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(1, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(0, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(1, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(2, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(3, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(4, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(1, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(2, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(3, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(4, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(9223372036854775807, 1) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(9223372036854775807, 1) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(9223372036854775807, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(9223372036854775806, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(9223372036854775808, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(9223372036854775807, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(9223372036854775807, 1) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(9223372036854775808, 1) = 0 is different than BigDecimal result: 0
Exception in thread "main" java.lang.RuntimeException: 51 errors found in DivMod methods.
at DivModTests.main(DivModTests.java:48)
bash2.05b$ bin/java d64 version
java version "1.8.0eafastdebug"
Java(TM) SE Runtime Environment (build 1.8.0eafastdebugb88)
Java HotSpot(TM) 64Bit Server VM (build 25.0b32internal201305082235.vkozlov.6934604fastdebug, mixed mode)
bash2.05b$ bin/java d64 XX:CICompilerCount=1 Xcomp XX:EliminateAutoBox DivModTests
FAIL: Math.floorMod(3, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(1, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(0, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(4, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(3, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(1, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(0, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(1, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(2, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(3, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(4, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(1, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(2, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(3, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(4, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(2147483647, 1) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2147483647, 1) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2147483647, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(2147483646, 3) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2147483648, 3) = 1 differs from Math.floor(x, y): 1
FAIL: Math.floorMod(2147483647, 3) = 2 differs from Math.floor(x, y): 2
FAIL: Math.floorMod(2147483647, 1) = 0 differs from Math.floor(x, y): 0
FAIL: Math.floorMod(2147483648, 1) = 0 differs from Math.floor(x, y): 0
FAIL: Long.floorMod(4, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(3, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(2, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(1, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(0, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(4, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(3, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(2, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(1, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(0, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(1, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(2, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(3, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(4, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(1, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(2, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(3, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(4, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(9223372036854775807, 1) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(9223372036854775807, 1) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(9223372036854775807, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(9223372036854775806, 3) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(9223372036854775808, 3) = 1 is different than BigDecimal result: 1
FAIL: Long.floorMod(9223372036854775807, 3) = 2 is different than BigDecimal result: 2
FAIL: Long.floorMod(9223372036854775807, 1) = 0 is different than BigDecimal result: 0
FAIL: Long.floorMod(9223372036854775808, 1) = 0 is different than BigDecimal result: 0
Exception in thread "main" java.lang.RuntimeException: 51 errors found in DivMod methods.
at DivModTests.main(DivModTests.java:48)
 backported by

JDK8015038 failed java/lang/Math/DivModTests.java after 6934604 changes
 Resolved
 relates to

JDK6934604 enable parts of EliminateAutoBox by default
 Resolved

JDK8014296 java/lang/Math/DivModTests.java should not compare pointers
 Closed