Details
-
Bug
-
Resolution: Fixed
-
P5
-
None
-
b57
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084596 | emb-9 | Brian Burkhalter | P5 | Resolved | Fixed | team |
Description
To be specific
310 * @throws IllegalArgumentException if a malformed Unicode escape
311 * appears in the input.
312 * @throws NullPointerException if {@code reader} is null.
and
336 * @throws IllegalArgumentException if the input stream contains a
337 * malformed Unicode escape sequence.
338 * @throws NullPointerException if {@code inStream} is null.
(It does not show up well above, but there are two and five spaces before the IAE clauses, respectively, and the same before the respective NPE clauses.)
While we're at it, the j.u.Properties "Basic.java" test and its @summary tag should be changed to something specific to what is being tested.
310 * @throws IllegalArgumentException if a malformed Unicode escape
311 * appears in the input.
312 * @throws NullPointerException if {@code reader} is null.
and
336 * @throws IllegalArgumentException if the input stream contains a
337 * malformed Unicode escape sequence.
338 * @throws NullPointerException if {@code inStream} is null.
(It does not show up well above, but there are two and five spaces before the IAE clauses, respectively, and the same before the respective NPE clauses.)
While we're at it, the j.u.Properties "Basic.java" test and its @summary tag should be changed to something specific to what is being tested.
Attachments
Issue Links
- backported by
-
JDK-8084596 j.u.Properties.load() methods have misaligned @throws clauses
- Resolved
- relates to
-
JDK-8073214 javadoc of Properties methods should specify NullPointerExceptions
- Closed