-
Enhancement
-
Resolution: Fixed
-
P5
-
None
-
b10
-
sparc
-
solaris_10
A DESCRIPTION OF THE REQUEST :
In the java.nio.Bits class the line:
throw new OutOfMemoryError("Direct buffer memory");
is not very useful for debugging problems. It would be significantly more useful if the message included the values of the reservedMemory, size, and maxMemory fields.
JUSTIFICATION :
The current message makes it very difficult to debug direct memory problems, and a tiny change would make it significantly more useful.
In the java.nio.Bits class the line:
throw new OutOfMemoryError("Direct buffer memory");
is not very useful for debugging problems. It would be significantly more useful if the message included the values of the reservedMemory, size, and maxMemory fields.
JUSTIFICATION :
The current message makes it very difficult to debug direct memory problems, and a tiny change would make it significantly more useful.
- relates to
-
JDK-8057897 NullPointerException message should name the null variable.
- Closed
- links to