@@ -146,10 +146,11 @@ case JDK1_8: if (ise != null) error("unexpected exception from compiler: " + ise); break; case JDK1_9: + case JDK1_10: if (p == Profile.DEFAULT) break; if (ise == null) error("IllegalStateException not thrown as expected"); else if (!ise.getMessage().contains("option -profile " +