< prev index next >

test/compiler/c2/cr6646020/Tester.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke


   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 6646020
  27  * @summary assert(in_bb(n),"must be in block") in -Xcomp mode


  28  */
  29 


  30 /* Complexity upper bound: 3361 ops */
  31 
  32 class Tester_Class_0 {
  33     static byte var_1;
  34 
  35 
  36     public Tester_Class_0()
  37     {
  38         "".length();
  39         {
  40             var_1 = (var_1 = (new byte[(byte)'D'])[(byte)2.40457E38F]);
  41             var_1 = (var_1 = (byte)1.738443503665377E307);
  42             var_1 = (var_1 = (byte)1237144669662298112L);
  43         }
  44         var_1 = "baldh".equalsIgnoreCase("") ? (var_1 = (byte)7.2932087E37F) : (byte)3909726578709910528L;
  45         var_1 = (var_1 = (var_1 = (var_1 = (byte)7.223761846153971E307)));
  46         var_1 = (var_1 = (var_1 = (var_1 = (var_1 = (byte)((short)7860452029249754112L + (byte)1.7374232546809952E308)))));
  47         var_1 = (!true ? (var_1 = (byte)4359229782598970368L) : (short)(byte)1.7509836746850026E308) >= 'P' ? (var_1 = (byte)3.275114793095594E307) : (byte)(- ((byte)1.5595572E38F) / 8.2971296E37F);
  48         byte var_9 = (true ? true : (false ? true : false)) ? (var_1 = (var_1 = (byte)9.928434E37F)) : (var_1 = (byte)9.785060633966518E307);
  49         final byte var_10 = 53;




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 6646020
  27  * @summary assert(in_bb(n),"must be in block") in -Xcomp mode
  28  *
  29  * @run main compiler.c2.cr6646020.Tester
  30  */
  31 
  32 package compiler.c2.cr6646020;
  33 
  34 /* Complexity upper bound: 3361 ops */
  35 
  36 class Tester_Class_0 {
  37     static byte var_1;
  38 
  39 
  40     public Tester_Class_0()
  41     {
  42         "".length();
  43         {
  44             var_1 = (var_1 = (new byte[(byte)'D'])[(byte)2.40457E38F]);
  45             var_1 = (var_1 = (byte)1.738443503665377E307);
  46             var_1 = (var_1 = (byte)1237144669662298112L);
  47         }
  48         var_1 = "baldh".equalsIgnoreCase("") ? (var_1 = (byte)7.2932087E37F) : (byte)3909726578709910528L;
  49         var_1 = (var_1 = (var_1 = (var_1 = (byte)7.223761846153971E307)));
  50         var_1 = (var_1 = (var_1 = (var_1 = (var_1 = (byte)((short)7860452029249754112L + (byte)1.7374232546809952E308)))));
  51         var_1 = (!true ? (var_1 = (byte)4359229782598970368L) : (short)(byte)1.7509836746850026E308) >= 'P' ? (var_1 = (byte)3.275114793095594E307) : (byte)(- ((byte)1.5595572E38F) / 8.2971296E37F);
  52         byte var_9 = (true ? true : (false ? true : false)) ? (var_1 = (var_1 = (byte)9.928434E37F)) : (var_1 = (byte)9.785060633966518E307);
  53         final byte var_10 = 53;


< prev index next >