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

ObjectStreamField.getType() broken for incoming ObjectStreamFields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.3.0, 1.4.2
    • core-libs
    • None

      The "clazz" field of non-primitive ObjectStreamFields belonging to incoming
      class descriptors does not get initialized properly. As a result, calling
      getType() on an incoming ObjectStreamField which has a non-primitive type will
      invariably return Object.class, when really it should return the field's class
      in the local VM (see attached code).

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: