Replacing a buggy NullPointerException in `Pattern.compile()` with the proper PatternSyntaxException
------------- Commit messages: - 8280403: RegEx: String.split can fail with NPE in Pattern.CharPredicate::match Changes: https://git.openjdk.java.net/jdk/pull/7201/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7201&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8280403 Stats: 11 lines in 2 files changed: 11 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/7201.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7201/head:pull/7201 PR: https://git.openjdk.java.net/jdk/pull/7201