mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8279043: Some Security Exception Messages Miss Spaces
Reviewed-by: weijun
This commit is contained in:
parent
f7309060de
commit
f31dead6c5
16 changed files with 21 additions and 21 deletions
|
@ -154,7 +154,7 @@ implements CertAttrSet<String> {
|
|||
|
||||
if (next.isContextSpecific(TAG_REQUIRE) && !next.isConstructed()) {
|
||||
if (this.require != -1)
|
||||
throw new IOException("Duplicate requireExplicitPolicy" +
|
||||
throw new IOException("Duplicate requireExplicitPolicy " +
|
||||
"found in the PolicyConstraintsExtension");
|
||||
next.resetTag(DerValue.tag_Integer);
|
||||
this.require = next.getInteger();
|
||||
|
@ -162,7 +162,7 @@ implements CertAttrSet<String> {
|
|||
} else if (next.isContextSpecific(TAG_INHIBIT) &&
|
||||
!next.isConstructed()) {
|
||||
if (this.inhibit != -1)
|
||||
throw new IOException("Duplicate inhibitPolicyMapping" +
|
||||
throw new IOException("Duplicate inhibitPolicyMapping " +
|
||||
"found in the PolicyConstraintsExtension");
|
||||
next.resetTag(DerValue.tag_Integer);
|
||||
this.inhibit = next.getInteger();
|
||||
|
|
|
@ -202,7 +202,7 @@ public class PolicyInformation {
|
|||
if (obj instanceof Set) {
|
||||
for (Object obj1 : (Set<?>) obj) {
|
||||
if (!(obj1 instanceof PolicyQualifierInfo)) {
|
||||
throw new IOException("Attribute value must be a" +
|
||||
throw new IOException("Attribute value must be a " +
|
||||
"Set of PolicyQualifierInfo objects.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue