< prev index next >
test/hotspot/jtreg/compiler/BadLogicCode.java
Print this page
rev 53861 : [mq]: 8219139
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2019, 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.
@@ -24,12 +24,15 @@
/*
* @test
* @bug 4157675
* @summary Solaris JIT generates bad code for logic expression
* @author Tom Rodriguez
+ * @run main compiler.BadLogicCode
*/
+package compiler;
+
public class BadLogicCode {
static int values[] = {Integer.MIN_VALUE, -1, 0, 1, 4, 16, 31,
32, 33, Integer.MAX_VALUE};
static char b[][] = {null, new char[32]};
static boolean nullPtr = false, indexOutBnd = false;
< prev index next >