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

Class replacement enhancement

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • core-libs



      Name: rm29839 Date: 02/19/98


      I would like to see the resolveClass method in ObjectInputStream relaxed a bit. Currently the returned class must have the same
      name including package as the StreamClass provided. I would like the option to return a compatable class in a different package.
      In my case I wanted to reorganize the packages in my product and was unable to due to serialized data streams which require the
      class to reside in the same package. This could also occur with the Swing 1.1 vs 1.2 package names.

      I was quite pleased when I found resolveClass as I thought you had thought ahead about this type of class movement issue, only
      to find unacceptable restrictions on the clas that can be returned.
      (Review ID: 25105)
      ======================================================================

            jfialli Joe Fialli
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: