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

default constructors not marked synthetic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • specification
    • None
    • merlin
    • sparc
    • solaris_2.6

      Default constructors are not marked synthetic. JVM spec (2nd ed.):
      "A class member that does not appear in the source code must be marked
      using a Synthetic attribute." The compiler does not mark default
      constructors as "Synthetic", even though they do not appear in the source
      code.

      Presumably the bug is in the doc, not the compiler, but maybe you'll disagree.

            gbrachasunw Gilad Bracha (Inactive)
            karnoldsunw Kenneth Arnold (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: