< prev index next >

test/hotspot/jtreg/runtime/6626217/Loader2.java

Print this page
rev 49574 : 8201430: [TESTBUG] Remove script from runtime/6626217

*** 1,7 **** /* ! * Copyright (c) 2010, 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) 2010, 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.
*** 34,44 **** protected Class findClass2(String name) throws ClassNotFoundException { print("Fetching the implementation of "+name); int old = _recur; try { ! FileInputStream fi = new FileInputStream(name+".impl2"); byte result[] = new byte[fi.available()]; fi.read(result); print("DefineClass1 on "+name); _recur++; --- 34,44 ---- protected Class findClass2(String name) throws ClassNotFoundException { print("Fetching the implementation of "+name); int old = _recur; try { ! FileInputStream fi = new FileInputStream(name+".class"); byte result[] = new byte[fi.available()]; fi.read(result); print("DefineClass1 on "+name); _recur++;
< prev index next >