< prev index next >

test/hotspot/jtreg/runtime/ErrorHandling/VeryEarlyAssertTest.java

Print this page
rev 59076 : [mq]: 8243945


  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 
  26 /*
  27  * @test
  28  * @bug 8214975
  29  * @summary No hs-err file if fatal error is raised during dynamic initialization.
  30  * @library /test/lib
  31  * @modules java.base/jdk.internal.misc
  32  * @requires (vm.debug == true)
  33  * @requires os.family == "linux"

  34  */
  35 
  36 import java.io.BufferedReader;
  37 import java.io.File;
  38 import java.io.FileInputStream;
  39 import java.io.InputStreamReader;
  40 import java.util.regex.Pattern;
  41 import java.util.Map;
  42 
  43 import jdk.test.lib.process.OutputAnalyzer;
  44 import jdk.test.lib.process.ProcessTools;
  45 
  46 public class VeryEarlyAssertTest {
  47 
  48   public static void main(String[] args) throws Exception {
  49 
  50 
  51     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
  52             "-version");
  53     Map<String, String> env = pb.environment();




  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 
  26 /*
  27  * @test
  28  * @bug 8214975
  29  * @summary No hs-err file if fatal error is raised during dynamic initialization.
  30  * @library /test/lib
  31  * @modules java.base/jdk.internal.misc
  32  * @requires (vm.debug == true)
  33  * @requires os.family == "linux"
  34  * @run driver VeryEarlyAssertTest
  35  */
  36 
  37 import java.io.BufferedReader;
  38 import java.io.File;
  39 import java.io.FileInputStream;
  40 import java.io.InputStreamReader;
  41 import java.util.regex.Pattern;
  42 import java.util.Map;
  43 
  44 import jdk.test.lib.process.OutputAnalyzer;
  45 import jdk.test.lib.process.ProcessTools;
  46 
  47 public class VeryEarlyAssertTest {
  48 
  49   public static void main(String[] args) throws Exception {
  50 
  51 
  52     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
  53             "-version");
  54     Map<String, String> env = pb.environment();


< prev index next >