JDK-4925770 : Track.events is not accessible and should be removed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-09-20
  • Updated: 2017-05-16
  • Resolved: 2003-09-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
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.


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

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b22
14-06-2004

PUBLIC COMMENTS Track.events is not accessible and should be removed
10-06-2004

EVALUATION ###@###.### 2003-09-20 Easy to fix, should be done for tiger.
20-09-2003