-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.2.2
-
x86
-
windows_nt
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)
======================================================================
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)
======================================================================
- relates to
-
JDK-4419436 default constructor should be synthetic?
-
- Resolved
-