void () { doTest(""" class C { void matcher() { final java.util.regex.Pattern pattern = java.util.regex.Pattern.compile("baaaa"); final java.util.regex.Matcher matcher = pattern.matcher("babaaaaaaaa"); matcher./*Result of 'Matcher.find()' is ignored*/find/**/(); matcher.notifyAll(); } } """); }