JDK-8285978 : Make javax.sound.midi.Track a final class
  • Type: CSR
  • Component: client-libs
  • Sub-Component: javax.sound
  • Priority: P4
  • Status: Draft
  • Resolution: Unresolved
  • Fix Versions: 19
  • Submitted: 2022-05-01
  • Updated: 2022-05-10
Related Reports
CSR :  
Description
Summary
-------

Make javax.sound.midi.Track a final class

Problem
-------

javax.sound.midi.Track has no sub-classes and public API which allows sub-classing and yet it is not final

Solution
--------

Add the final modifier to this class

Specification
-------------

Update  javax.sound.midi.Track

<pre>
- public class Track 
+ public final class Track
</pre>