JDK-4903472 : RFE: Mark LineEvent not Serializable
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-08-08
  • 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.
5.0 tigerFixed
Related Reports
Relates :  
Relates :  

Name: fb126949			Date: 08/08/2003

The LineEvent class in package javax.sound.sampled is Serializable by inheritage, but it would be impossible to make it Serializable (i.e. the Line interface would have to be made Serializable, too). Consequently, LineEvent should be explicitely marked "Not Serializable". 

This would also satisfy the JCK problem, I assume: LineEvent's inner class, LineEvent.Type, is not Serializable. This is therefore a re-open of RFE 4335276.


CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b22 VERIFIED IN: tiger-b63

SUGGESTED FIX Add to javax.sound.sampled.LineEvent's class description: * <p> * Although this class implements Serializable, attempts to * serialize a <code>LineEvent</code> object will fail.

PUBLIC COMMENTS RFE: Mark LineEvent not Serializable

EVALUATION ###@###.### 2003-08-08 Should be made clear that LineEvent cannot be serialized. Also, the request to serialize most classes in Java Sound was not accepted (see RFE 4270489).