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

MemberDoc.isSynthetic() returns false for compiler-gen'd constructor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.2.2
    • tools

      Name: mc57594 Date: 01/11/2000

      Classic VM (build JDK-1.2.2-W, native threads, symcjit)

      Method on MemberDoc isSynthetic() returns false when testing a ConstructorDoc
      for a class where the default constructor was not defined in the source (i.e.
      compiler-generated). ConstructorDoc was obtained by executing a
      ClassDoc.constructors(). Returned ConstructorDoc array correctly contained one
      instance describing the default constructor for the class but tested false when
      the isSynthetic() method was executed against it. As i understand the
      documentation, this should report true.
      (Review ID: 99728)
      ======================================================================

            gafter Neal Gafter (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: