Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8352583

ClassLoader.defineClass(String, ByteBuffer, ProtectionDomain) does not advance buffer position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 5.0, 25
    • core-libs

      defineClass specifies that "An invocation of this method .. yields exactly the same result as the statements". This isn't quite right. The equivalent advances the buffer position to its limit, the defineClass(String, ByteBuffer, ProtectionDomain) method not advance the position.

            bchristi Brent Christian
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: