-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
sparc
-
solaris_2.6
Name: ooR10001 Date: 04/12/2001
Serial Form specification says that class javax.net.ssl.SSLSessionBindingEvent
has only one serial field 'name'. Due to Serial Form specification all other
fields must be transient or static. In fact this class contains only one
non-static non-transient field 'a'. It contradicts with Serial Form
specification and needs to be fixed.
Command:
---------------------------
$ javap -private javax.net.ssl.SSLSessionBindingEvent
---------------------------
Output:
------------------
Compiled from [DashoPro-V1.2-120198]
public class javax.net.ssl.SSLSessionBindingEvent extends java.util.EventObject
{
private java.lang.String a;
public
javax.net.ssl.SSLSessionBindingEvent(javax.net.ssl.SSLSession,java.lang.String);
public java.lang.String getName();
public javax.net.ssl.SSLSession getSession();
}
------------------
Serial Form specification says:
------------------
Class javax.net.ssl.SSLSessionBindingEvent implements Serializable
Serialized Fields
name
String name
------------------
======================================================================
- duplicates
-
JDK-4446749 Need to document @serial tags.
- Resolved