panacekcz / checker-framework

Pluggable type-checking for Java
http://checkerframework.org/
Other
0 stars 0 forks source link

Missing or weak lower bound annotations on Matcher #8

Closed panacekcz closed 7 years ago

panacekcz commented 7 years ago

Some methods in the java.util.regex.Matcher class have lower bound annotation on the return value that is too weak or a lower bound annotation is missing. For example, both start() and end() should return @NonNegative.