< prev index next >
test/langtools/tools/javac/profiles/ProfileOptionTest.java
Print this page
@@ -1,7 +1,7 @@
-/*
- * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
+ /*
+ * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -148,10 +148,11 @@
error("unexpected exception from compiler: " + ise);
break;
case JDK1_9:
case JDK1_10:
case JDK1_11:
+ case JDK1_12:
if (p == Profile.DEFAULT)
break;
if (ise == null)
error("IllegalStateException not thrown as expected");
else if (!ise.getMessage().contains("option -profile " +
< prev index next >