< prev index next >

test/langtools/jdk/jshell/GetResourceTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2017, 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. --- 1,7 ---- /* ! * 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,31 **** * questions. */ /* * @test ! * @bug 8179531 * @summary Check that ClassLoader.getResource works as expected in the JShell agent. * @modules jdk.jshell * @build KullaTesting TestingInputStream * @run testng GetResourceTest */ --- 21,31 ---- * questions. */ /* * @test ! * @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,88 **** "}", IGNORE_VALUE, null, DiagCheck.DIAG_OK, DiagCheck.DIAG_OK, ! ste(MAIN_SNIPPET, VALID, VALID, false, null), ste(testMethod, VALID, OVERWRITTEN, false, MAIN_SNIPPET)); assertEval("test()", "true"); } public void checkResourceSize() { --- 78,88 ---- "}", IGNORE_VALUE, null, DiagCheck.DIAG_OK, DiagCheck.DIAG_OK, ! ste(MAIN_SNIPPET, VALID, VALID, true, null), ste(testMethod, VALID, OVERWRITTEN, false, MAIN_SNIPPET)); assertEval("test()", "true"); } public void checkResourceSize() {
< prev index next >