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

externalizable classes fail with custom readClassDescriptor/writeClassDescriptor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      sparc
    • OS:
      solaris_8
    • Verification:
      Verified

      Description

      This is a follow-on to bug 4461299. Employing the fix described in that bug to Merlin build 65 allows Weblogic to proceed to a later point in its initialization, but the initialization still ultimately fails. It is now failing due to a StreamCorruptedException that is thrown when it tries to read an externalizable object. I have attached a small test case. Triggering the bug still requires the custom readClassDescriptor/writeClassDescriptor methods, and it requires that the externalizable class write some non-standard data in its writeExternal method (such as the boolean value that the test case writes); that follows the Weblogic model.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mwarressunw Michael Warres (Inactive)
              Reporter:
              soaks Scott Oaks
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: