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

Track.events is not accessible and should be removed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      generic
    • OS:
      generic

      Description



      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.


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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: