We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6eafc commit ea186c2Copy full SHA for ea186c2
src/java.base/share/classes/sun/security/jca/ProvidersFilter.java
@@ -531,10 +531,11 @@ private void nextState(Transition transition)
531
// ^^^
532
state = ParsingState.PRE_PATTERN;
533
} else {
534
- throw new ParserException("Only whitespace characters" +
535
- " are valid after a pattern. Whitespaces that" +
536
- " are part of a provider name, service type " +
537
- "or algorithm must be escaped.", this);
+ throw new ParserException("Unescaped whitespaces are " +
+ "only valid at the end of a pattern. " +
+ "Whitespace characters internal to a " +
+ "provider name, service type or algorithm " +
538
+ "must be escaped.", this);
539
}
540
541
// Should not reach.
0 commit comments