-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
None
-
1.6
-
generic
-
linux_2.4, solaris_7
JVM spec 2nd edition 4.7.6 says that a class member that does not appear
in the source must be marked with the synthetic attribute.
Neither the old nor the new compiler do this for the static initialization
method nor for the compiler-provided default constructor. However, the
maintainer of the Language spec says that these shouldn't be marked
synthetic.
Which is it? If the compiler is wrong, it needs to be fixed. If the spec
is wrong, it needs to be fixed.
Bug 4304047 is pending the resolution of this issue.
neal.gafter@Eng 2001-02-27
in the source must be marked with the synthetic attribute.
Neither the old nor the new compiler do this for the static initialization
method nor for the compiler-provided default constructor. However, the
maintainer of the Language spec says that these shouldn't be marked
synthetic.
Which is it? If the compiler is wrong, it needs to be fixed. If the spec
is wrong, it needs to be fixed.
Bug 4304047 is pending the resolution of this issue.
neal.gafter@Eng 2001-02-27
- duplicates
-
JDK-4513464 Generated default constructor must be marked using SYNTHETIC attribute
-
- Closed
-
- relates to
-
JDK-4304047 MemberDoc.isSynthetic() returns false for compiler-gen'd constructor
-
- Closed
-