It looks like these methods does not work correctly (maybe if inlined):
private boolean toBoolean(long r) {
return r == 0 ? false : true;
}
private long toLong(boolean b) {
return b ? 1 : 0;
}
see comments for details
private boolean toBoolean(long r) {
return r == 0 ? false : true;
}
private long toLong(boolean b) {
return b ? 1 : 0;
}
see comments for details
- duplicates
-
JDK-6732194 Data corruption dependent on -server/-client/-Xbatch
-
- Closed
-