JDK-4921754 : java.nio exception classes don't specify serialVersionUID
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 2003-09-12
  • Updated: 2017-05-16
  • Resolved: 2011-05-18
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.
JDK 7 Other
7 b22Fixed OpenJDK6Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Name: ygR10224			Date: 09/12/2003


Filed By      : SPB JCK team (###@###.###)
JDK           : java full version "1.5.0-beta-b18"
JCK           : 1.5
Platform[s]   : Solaris
switch/Mode   : 
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] : N/A


Problem description
===================
Javadoc doesn't specify the serialVersionUID for serializable
classes in packages:
  java.nio,
  java.nio.channels,
  java.nio.charset.
According to RFE 4525039 the serialVersionUID should be 
included in the Serialized Form generated for each class.


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

Comments
EVALUATION The exceptions files used by genExceptions.sh now require that a SVUID beprovided. For existing exceptions, the SVUID as computed by serialver is used. We've also added the javac flag "-Xlint:serial" to java/nio, make/sun/nio, make/java/sun_nio, and make/sun/native2ascii.
12-09-2007

EVALUATION The only serializable classes in NIO are the exceptions and errors.
11-04-2006

EVALUATION Name: jg118383 Date: 09/12/2003 Accepted ======================================================================
11-06-2004