-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b146
-
x86
-
windows_7
-
Verified
A DESCRIPTION OF THE PROBLEM :
Towards the bottom of the page, the last example code statement -- illustrating a statement that explicitly specifies the type String for the formal type parameter, T -- there is an extraneous backquote in the String type declaration.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
MyClass<Integer> myObject = new <String> MyClass<>("");
ACTUAL -
MyClass<Integer> myObject = new <String`> MyClass<>("");
URL OF FAULTY DOCUMENTATION :
http://download.java.net/jdk7/docs/technotes/guides/language/type-inference-generic-instance-creation.html
Wrong syntax in code sample for generics.
The fixes will affect the documentation only and not the bits.
Checked with the integrator for the build forest and the l10n team. They have indicated that this is ok.
Towards the bottom of the page, the last example code statement -- illustrating a statement that explicitly specifies the type String for the formal type parameter, T -- there is an extraneous backquote in the String type declaration.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
MyClass<Integer> myObject = new <String> MyClass<>("");
ACTUAL -
MyClass<Integer> myObject = new <String`> MyClass<>("");
URL OF FAULTY DOCUMENTATION :
http://download.java.net/jdk7/docs/technotes/guides/language/type-inference-generic-instance-creation.html
Wrong syntax in code sample for generics.
The fixes will affect the documentation only and not the bits.
Checked with the integrator for the build forest and the l10n team. They have indicated that this is ok.