< prev index next >
test/langtools/jdk/jshell/GetResourceTest.java
Print this page
rev 50604 : imported patch jep181-rev1
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 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.
@@ -21,11 +21,11 @@
* questions.
*/
/*
* @test
- * @bug 8179531
+ * @bug 8179531 8010319
* @summary Check that ClassLoader.getResource works as expected in the JShell agent.
* @modules jdk.jshell
* @build KullaTesting TestingInputStream
* @run testng GetResourceTest
*/
@@ -78,11 +78,11 @@
"}",
IGNORE_VALUE,
null,
DiagCheck.DIAG_OK,
DiagCheck.DIAG_OK,
- ste(MAIN_SNIPPET, VALID, VALID, false, null),
+ ste(MAIN_SNIPPET, VALID, VALID, true, null),
ste(testMethod, VALID, OVERWRITTEN, false, MAIN_SNIPPET));
assertEval("test()", "true");
}
public void checkResourceSize() {
< prev index next >