Results for “java example problems code site:bugs.java.com python”
bugs.java.com
Bug ID: JDK-4837564 (bf) Please make DirectByteBuffer performance...
The code-snippet referenced in the third suggestion is, as speculated, a result of auto-generated code. The value of $LG_BYTES_PER_VALUE$ for byte is 0. I have verified that the javac compiler optimizes this shift out of the generated byte code.
bugs.java.com
Bug ID: JDK-4634399 javax.imageio.ImageTypeSpecifier...
JDK-4634068 - JDK code doesn't respect contract for equals and hashCode.There are a number of classes that do not respect the implied contract for equals and hashCode. See, for example, Joshua Bloch's book "Effective Java", items 7-8.