|
Created PR https://github.com/hibernate/hibernate-validator/pull/269.
@Andrea Vacondio: As discussed we can avoid that particular usage with this change, but we can't guarantee that similar issues won't arise. One way to avoid this kind of issue would actually be to work with Animal Sniffer to make sure that only APIs present on Android are used (we use Animal Sniffer anyways for checking compatability with Java 6).
Unfortunately there are no Sniffer signature files for the Android API, so we can't do this kind of check atm. We might re-consider that if some one would provide the required signature files (of course this also depends on how much effort it would be to provide other possibly missing things).
|