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

Track.events is not accessible and should be removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 5.0
    • client-libs
    • tiger
    • generic
    • generic



      Name: fb126949 Date: 09/20/2003


      The class Track in package javax.sound.midi contains a protected field "Vector events" which can never be used. Track has a package-private default constructor, so it can never be instanciated outside of that package, and therefore it cannot be subclassed. Therefore, the events field is superflous (and not used in the implementation anyway) and should be removed to prevent hacks like putting an accessor class into the javax.sound.midi package in order to have direct access to that vector.


      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            fbomerssunw Florian Bomers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: