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

No classes in java.awt.geom package implement Serializable.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P4
    • None
    • 1.2.0, 1.2.2, 1.3.0
    • client-libs
    • 2d
    • generic, x86, sparc
    • generic, linux, solaris_2.5.1, windows_95, windows_nt, windows_2000

    Description

      Name: gvC48267 Date: 11/14/97


      Currently, no class in the java.awt.geom package is serializable, making it
      difficult to serialize user-defined objects
      that contain references to java2D objects.
      (Review ID: 20085)
      ======================================================================

      Name: rlT66838 Date: 03/14/2000


      java version "1.2.2"
      Classic VM (build 1.2.2-L, green threads, javacomp)


      The classes in java.awt.geom are not serializable, even though there
      is no ambiguity in the semantics of serializing these types.
      (Review ID: 102406)
      ======================================================================

      Name: rmT116609 Date: 11/20/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      Hello. Class java.awt.geom.GeneralPath is final. I need to serialize an
      instance of this class. I could do so is GeneralPath weren't final; I would
      create a subclass of this class that implements java.io.Serializable.

      How do I do it? Thanks.
      (Review ID: 112579)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              flar Jim Graham
              gvanassesunw Gunter Vanasse (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: