-
Bug
-
Resolution: Fixed
-
P1
-
8
-
b01
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8032133 | 8u20 | Doug Lea | P1 | Closed | Fixed | b01 |
JDK-8032414 | 8u5 | Doug Lea | P1 | Resolved | Fixed | b05 |
JDK-8031143 | 8 | Doug Lea | P1 | Closed | Fixed | b124 |
see discussion on core-libs-dev mailing list:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-December/024163.html
--- snippet ---
There might have been some mis-communication about whether the
new @implSpec tag would be used in existing java.util.AbstractX
classes. I had assumed that it would be, and pulled out a few
javadoc overrides in java.util.concurrent classes that would
not be needed if @implSpec were used. With @implSpec, you do
not need to paste in the interface-level spec in an overridden
method just to suppress inclusion of (incorrect) doc comments
about the default implementation.
Is it too late to do this for JDK8? It is easy -- just add a line
with @implSpec for each defined method. AbstractMap diffs
below. (They could be tweaked to get rid of now-unnecessary
paragraph markup, but I don't think this would improve display.)
...
--- snippet ---
http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-December/024163.html
--- snippet ---
There might have been some mis-communication about whether the
new @implSpec tag would be used in existing java.util.AbstractX
classes. I had assumed that it would be, and pulled out a few
javadoc overrides in java.util.concurrent classes that would
not be needed if @implSpec were used. With @implSpec, you do
not need to paste in the interface-level spec in an overridden
method just to suppress inclusion of (incorrect) doc comments
about the default implementation.
Is it too late to do this for JDK8? It is easy -- just add a line
with @implSpec for each defined method. AbstractMap diffs
below. (They could be tweaked to get rid of now-unnecessary
paragraph markup, but I don't think this would improve display.)
...
--- snippet ---
- backported by
-
JDK-8032414 AbstractMap should specify its default implementation using @implSpec
- Resolved
-
JDK-8031143 AbstractMap should specify its default implementation using @implSpec
- Closed
-
JDK-8032133 AbstractMap should specify its default implementation using @implSpec
- Closed
- relates to
-
JDK-8031142 AbstractCollection and AbstractList should specify their default implementation using @implSpec
- Closed
-
JDK-8337520 AbstractSet should specify default implementation using @implSpec
- New