-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 8
-
Component/s: specification
Currently [1] contains following text:
Example 9.6.3-2. Restricting Where Annotations May Repeat
...
@Interface FooContainer {
Foo[] value();
}
Please note "Interface" above; it's started from uppercase letter 'I' however it should have been started from lowercase letter since 'interface' is a Java keyword.
[1] http://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#d5e15739
Example 9.6.3-2. Restricting Where Annotations May Repeat
...
@Interface FooContainer {
Foo[] value();
}
Please note "Interface" above; it's started from uppercase letter 'I' however it should have been started from lowercase letter since 'interface' is a Java keyword.
[1] http://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#d5e15739