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

Please make ByteBuffer extensible

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description



      Name: nt126004 Date: 07/09/2002


      FULL PRODUCT VERSION :
      Generic 1.4.x problem

      FULL OPERATING SYSTEM VERSION : Microsoft Windows 2000
      [Version 5.00.2195]

      ADDITIONAL OPERATING SYSTEMS :


      A DESCRIPTION OF THE PROBLEM :
      The ByteBuffer class doesn't allow further extention. The
      ByteBuffer class contains only package private constructors
      and even has a few abstract package private methods so that
      extending from the class is not possible if the subclass is
      not in the java.nio package.

      Possible reason for allowing extending from ByteBuffer:
      Implement a SequenceByteBuffer that simulatates ByteBuffer
      behaviour externally but reads/writes from/to a number of
      different ByteBuffers.

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 158925)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mr Mark Reinhold
              Reporter:
              nthompsosunw Nathanael Thompson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: