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

externalizable classes fail with custom readClassDescriptor/writeClassDescriptor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta2
    • sparc
    • solaris_8
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: