< prev index next >
src/java.base/share/classes/java/lang/Byte.java
Print this page
*** 77,87 ****
}
private static class ByteCache {
private ByteCache(){}
! static final Byte cache[] = new Byte[-(-128) + 127 + 1];
static {
for(int i = 0; i < cache.length; i++)
cache[i] = new Byte((byte)(i - 128));
}
--- 77,87 ----
}
private static class ByteCache {
private ByteCache(){}
! static final Byte[] cache = new Byte[-(-128) + 127 + 1];
static {
for(int i = 0; i < cache.length; i++)
cache[i] = new Byte((byte)(i - 128));
}
< prev index next >