Skip to content

Commit e5badfa

Browse files
committed
Strip a bare wildcard type argument in the legacy Ant source preprocessor, so that a Class<?> parameter no longer fails the real 1.4 javac, the existing alternation having required at least one character before the closing angle bracket.
1 parent 113a0b7 commit e5badfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ant/build.regexp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
regexp: <List<PGPSignature>>|<Map<CertID, OCSPResponse>>|<URI[^>]*\\>>|<[A-Z?][^>@]*[a-zA-Z0-9\\]]>|<[A-Z]>|<[a-z][^>@]*[a-z\\]]>|@SuppressWarnings(.*)|@Override|@FunctionalInterface
2+
regexp: <List<PGPSignature>>|<Map<CertID, OCSPResponse>>|<URI[^>]*\\>>|<[A-Z?][^>@]*[a-zA-Z0-9\\]]>|<[A-Z]>|<\\?>|<[a-z][^>@]*[a-z\\]]>|@SuppressWarnings(.*)|@Override|@FunctionalInterface
33

0 commit comments

Comments
 (0)