-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b55
-
x86
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018939 | 7u45 | Sean Chou | P4 | Closed | Fixed | b01 |
JDK-2229335 | 7u40 | Sean Coffey | P4 | Closed | Fixed | b08 |
FULL PRODUCT VERSION :
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
It is in api doc, os independent.
A DESCRIPTION OF THE PROBLEM :
When reading the javadoc comments in Component.java and I found this
piece of code example:
"
class MyApp java.io.Serializable
{
BigObjectThatShouldNotBeSerializedWithAButton bigOne;
"
It seems the "implements" keyword is missing. It should be
“ class MyApp implements java.io.Serializable ”
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
It can be seen in http://docs.oracle.com/javase/7/docs/api/java/awt/Component.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
class MyApp implements java.io.Serializable
ACTUAL -
class MyApp java.io.Serializable
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
It is in api doc, os independent.
A DESCRIPTION OF THE PROBLEM :
When reading the javadoc comments in Component.java and I found this
piece of code example:
"
class MyApp java.io.Serializable
{
BigObjectThatShouldNotBeSerializedWithAButton bigOne;
"
It seems the "implements" keyword is missing. It should be
“ class MyApp implements java.io.Serializable ”
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
It can be seen in http://docs.oracle.com/javase/7/docs/api/java/awt/Component.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
class MyApp implements java.io.Serializable
ACTUAL -
class MyApp java.io.Serializable
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-2229335 The code example in javadoc of Component.java misses 'implements' keyword
-
- Closed
-
-
JDK-8018939 The code example in javadoc of Component.java misses 'implements' keyword
-
- Closed
-