The regex used to verify problemlist lines:
private static final String commalist = "([\\w-]+)(,[\\w-]+)*";
private static Pattern pattern = Pattern.compile("\\S+\\s+" + commalist + "\\s" + commalist + ".*");
Is missing a plus for the spaces in the middle. More than one whitespace should be okay.
src/share/classes/com/sun/javatest/regtest/tool/ExcludeFileVerifier.java
private static final String commalist = "([\\w-]+)(,[\\w-]+)*";
private static Pattern pattern = Pattern.compile("\\S+\\s+" + commalist + "\\s" + commalist + ".*");
Is missing a plus for the spaces in the middle. More than one whitespace should be okay.
src/share/classes/com/sun/javatest/regtest/tool/ExcludeFileVerifier.java
- duplicates
-
CODETOOLS-7903883 --verify-exclude test existence and format checks are broken
- Resolved
-
CODETOOLS-7903885 --verify-exclude regex is incorrect
- Closed