-
Bug
-
Resolution: Fixed
-
P4
-
5.0, 6, 7, 8, 11, 12, 13
-
b24
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8225974 | 14 | Claes Redestad | P4 | Resolved | Fixed | team |
A property file like the following should fail to load with an IAE
a=\u0
but if there's a preceding property like this, it might mis-parse instead:
b=\u0123
a=\u0
-> property a erroneously becomes \u0123
Fixing this might mean some properties files that were malformed would go from being silently misparsed to throwing an IllegalArgumentException, so a CSR will be filed.
a=\u0
but if there's a preceding property like this, it might mis-parse instead:
b=\u0123
a=\u0
-> property a erroneously becomes \u0123
Fixing this might mean some properties files that were malformed would go from being silently misparsed to throwing an IllegalArgumentException, so a CSR will be filed.
- backported by
-
JDK-8225974 Properties.load fails to throw IAE on malformed unicode in certain circumstances
- Resolved
- csr for
-
JDK-8224242 Properties.load fails to throw IAE on malformed unicode in certain circumstances
- Closed