Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4441386

javax.net.ssl.SSLSessionBindingEvent has incorrect field

    XMLWordPrintable

Details

    Description



      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
      ------------------


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

      Attachments

        Issue Links

          Activity

            People

              wetmore Bradford Wetmore
              oovsunw Oov Oov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: