Skip to content
murmot

Results for “java example problems code site:bugs.java.com”

  • 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.

  • bugs.java.com

    JDK-8357090 - Java Issue Tracker

    May 15, 2025 ... Perceived performance problems. Historically, vfork(2) was ... However, no user code could have exploited this behavior, since all code ...

  • bugs.java.com

    Bug ID: JDK-4837564 (bf) Please make DirectByteBuffer performance...

    Sub-Component: java.nio. Affected Version: 1.4.1.The exaggerated example is just to make the point, in actual code, direct byte buffers are only about 4000 x slower than heap buffers even though in our actual code direct buffers are meant to have the potential of being a lot faster.

  • bugs.java.com

    JDK-8163880 - Java Issue Tracker

    Consider the following example: If the ... Here is a changeset that implements the solution for Problems #1 and #2. http://cr.openjdk.java.net/~zmajo/code ...

  • bugs.java.com

    JDK-8270010 - Java Issue Tracker

    The main point of this dance would be to move the problem ... It's a not totally uncommon pattern for example for GC tests to catch OOM and recover. Such code ...

  • bugs.java.com

    Bug ID: JDK-6464834 ObjectOutputStream's internal array...

    SUGGESTED FIX The simple solution for this bug is to set the initial capacity for the OOS.HandleTable and OIS.HandleTable as a power of two(8 or 16), as it was implemented for example in the HashMap class. This solution covers the customer issue and might be considered as the low risk...

  • bugs.java.com

    JDK-8149097 - Java Issue Tracker

    ... code fall over, Errors are for unexpected things that one isn't expected to handle. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Example of a malformatted ...

  • bugs.java.com

    JDK-8235220 - Java Issue Tracker

    oopLooksValid() is a good example of code that recovers from AddressException. ... problem happens if the location contains a small integer, like (0x05 ...