Skip to content

Commit 12a41f4

Browse files
Fix provider format regex
1 parent 0945933 commit 12a41f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

closed/src/java.base/share/classes/openj9/internal/security/RestrictedSecurity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ private static void checkProviderFormat(String providerInfo, boolean update) {
18071807
+ "(\\[" // constraints [optional]
18081808
+ "\\s*"
18091809
+ "([+-])?" // action [optional]
1810-
+ "[A-Za-z0-9{}.=*|:,/_\\s-]+" // constraint definition
1810+
+ "[A-Za-z0-9{}.=*|:,/\\\\_\\s-]+" // constraint definition
18111811
+ "\\])?"
18121812
+ "\\s*"
18131813
+ "$");

0 commit comments

Comments
 (0)