From a287bfead010a3c8ec246384efd603ec50abbf43 Mon Sep 17 00:00:00 2001 From: Tobias Thierer Date: Thu, 21 Jun 2018 16:59:18 +0100 Subject: [PATCH] Track dropping of throws clause in Pattern.java. This is not really an API change because PatternSyntaxException is unchecked (extends RuntimeException). The behavior has not changed (PatternSyntaxException can still be thrown). Bug: 109659282 Test: Treehugger Change-Id: I5759eee10b27307b68f15fdd6f6f1a258ee01529 --- api/current.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/current.txt b/api/current.txt index 241117b023da..da5addc63c3c 100644 --- a/api/current.txt +++ b/api/current.txt @@ -68724,7 +68724,7 @@ package java.util.regex { public final class Pattern implements java.io.Serializable { method public java.util.function.Predicate asPredicate(); method public static java.util.regex.Pattern compile(java.lang.String); - method public static java.util.regex.Pattern compile(java.lang.String, int) throws java.util.regex.PatternSyntaxException; + method public static java.util.regex.Pattern compile(java.lang.String, int); method public int flags(); method public java.util.regex.Matcher matcher(java.lang.CharSequence); method public static boolean matches(java.lang.String, java.lang.CharSequence); -- 2.11.0