Note: ./com/rc/test/TestPattern.java uses preview language features. Note: Recompile with -Xlint:preview for details. An exception has occurred in the compiler (14-internal). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you. java.lang.AssertionError at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155) at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46) at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitVarDef(Gen.java:1066) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:970) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStat(Gen.java:632) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStat(Gen.java:618) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStats(Gen.java:669) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genCond(Gen.java:758) at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitUnary(Gen.java:2040) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCUnary.accept(JCTree.java:2065) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:860) at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitParens(Gen.java:1989) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCParens.accept(JCTree.java:1958) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:860) at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitConditional(Gen.java:1878) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCConditional.accept(JCTree.java:1460) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:860) at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitLetExpr(Gen.java:2352) at jdk.compiler/com.sun.tools.javac.tree.JCTree$LetExpr.accept(JCTree.java:3118) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:860) at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitVarDef(Gen.java:1064) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:970) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStat(Gen.java:632) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStat(Gen.java:618) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStats(Gen.java:669) at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1080) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1034) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genStat(Gen.java:632) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:950) at jdk.compiler/com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:913) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:880) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genDef(Gen.java:597) at jdk.compiler/com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2391) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:756) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1646) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1614) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:972) at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:318) at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:176) at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57) at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)