Bug 43148 - javac fails due to missing java.util.regex.Matcher.quoteReplacement
javac fails due to missing java.util.regex.Matcher.quoteReplacement
Status: RESOLVED FIXED
Product: classpath
Classification: Unclassified
Component: classpath
0.98
: P3 normal
: 0.99
Assigned To: Not yet assigned to anyone
:
Depends on:
Blocks: 39410
  Show dependency treegraph
 
Reported: 2010-02-23 13:14 UTC by Andrew John Hughes
Modified: 2011-07-07 09:47 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2010-02-23 13:14:13 UTC
An exception has occurred in the compiler (1.7.0_84_bootstrap). Please file a bug at the Java Developer Connection (http://java.su\
n.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your \
report.  Thank you.
java.lang.NoSuchMethodError: method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String;\
 was not found.
   at com.sun.tools.javac.util.BasicDiagnosticFormatter.addSourceLineIfNeeded(BasicDiagnosticFormatter.java:151)
   at com.sun.tools.javac.util.BasicDiagnosticFormatter.formatDiagnostic(BasicDiagnosticFormatter.java:105)
   at com.sun.tools.javac.util.AbstractDiagnosticFormatter.format(AbstractDiagnosticFormatter.java:113)
   at com.sun.tools.javac.util.RichDiagnosticFormatter.format(RichDiagnosticFormatter.java:112)
   at com.sun.tools.javac.util.RichDiagnosticFormatter.format(RichDiagnosticFormatter.java:1)
   at com.sun.tools.javac.util.Log.writeDiagnostic(Log.java:374)
   at com.sun.tools.javac.util.Log.report(Log.java:351)
   at com.sun.tools.javac.comp.Resolve.logResolveError(Resolve.java:1593)
   at com.sun.tools.javac.comp.Resolve.access(Resolve.java:1200)
   at com.sun.tools.javac.comp.Resolve.resolveConstructor(Resolve.java:1405)
   at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1330)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1299)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:413)
   at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:437)
   at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1129)
   at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1145)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:413)
   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:457)
   at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:473)
   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:818)
   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:768)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:413)
   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:457)
   at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:739)
   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:655)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:413)
   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:457)
   at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2870)
   at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2796)
Comment 1 Andrew John Hughes 2011-07-07 09:47:36 UTC
Should be fixed by:

http://lists.gnu.org/archive/html/commit-classpath/2011-04/msg00000.html