< prev index next >

test/hotspot/jtreg/runtime/getSysPackage/GetPackageXbootclasspath.java

Print this page
rev 59076 : [mq]: 8243945
rev 59077 : [mq]: 8244142

*** 1,7 **** /* ! * Copyright (c) 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) 2017, 2020, 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.
*** 52,59 **** ClassFileInstaller.writeClassToDisk("P/Test", InMemoryJavaCompiler.compile("P.Test", Test_src), test_classes); new OutputAnalyzer(ProcessTools.createJavaProcessBuilder( "-Xbootclasspath/a:" + test_classes, "P.Test") ! .start()).shouldContain("Test Passed"); } } --- 52,60 ---- ClassFileInstaller.writeClassToDisk("P/Test", InMemoryJavaCompiler.compile("P.Test", Test_src), test_classes); new OutputAnalyzer(ProcessTools.createJavaProcessBuilder( "-Xbootclasspath/a:" + test_classes, "P.Test") ! .start()).shouldContain("Test Passed") ! .shouldHaveExitValue(0); } }
< prev index next >