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

Serialization fails (totally) with 1.1.6 Solaris JRE

XMLWordPrintable

    • 1.1.6
    • sparc
    • solaris_2.5.1
    • Verified


      Two key class files have been omitted from the Solaris JRE build for
      JDK 1.1.6. This is with the latest promoted build "I".

      The missing files are missing from rt.jar and are:
      sun/io/ObjectInputStreamDelegate.class
      sun/io/ObjectOutputStreamDelegate.class

      These files are present in the JDK classes.zip but not in the JRE rt.jar

      This causes all uses of serialization to fail:

      java.lang.NoClassDefFoundError: sun/io/ObjectInputStreamDelegate
              at java.io.ObjectInputStream.<init>(ObjectInputStream.java)
              at sun.security.provider.IdentityDatabase.fromStream(IdentityDatabase.java:89)
              at sun.security.provider.IdentityDatabase.fromFile(IdentityDatabase.java:130)
              at sun.security.provider.IdentityDatabase.initializeSystem(IdentityDatabase.java:336)
              at
              at java.security.IdentityScope.initializeSystemScope(IdentityScope.java:73)
              at java.security.IdentityScope.getSystemScope(IdentityScope.java:123)
              at sun.applet.AppletSecurity.reset(AppletSecurity.java:94)
              at sun.applet.AppletSecurity.<init>(AppletSecurity.java:70)
              at sun.activator.AppletViewer.initEnvironment(AppletViewer.java:271)
              at sun.activator.plugin.motif.Activator.doit(Activator.java:79)
              at sun.activator.plugin.motif.Activator.start(Activator.java:51)


      KGH 2/25/98

      P.S. We have the same problem on win32. The files are in classes.zip
      but not in rt.jar

      graham.hamilton@Eng 1998-02-26

            duke J. Duke
            ghamiltosunw Graham Hamilton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: