--- a/test/langtools/jdk/jshell/CompilerOptionsTest.java Thu Jul 12 12:06:22 2018 -0700
+++ b/test/langtools/jdk/jshell/CompilerOptionsTest.java Thu Jul 12 14:13:15 2018 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 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
@@ -40,7 +40,7 @@
@BeforeMethod
@Override
public void setUp() {
- setUp(b -> b.compilerOptions("-source", "7", "-Xlint:cast"));
+ setUp(b -> b.compilerOptions("-source", "7", "-Xlint:cast,-options"));
}
public void testLint() {