langtools/test/tools/javac/BadOptimization/DeadCode6.java
changeset 30730 d3ce7619db2c
parent 5520 86e4b9a9da40
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    26  * @bug 4073244
    26  * @bug 4073244
    27  * @summary nested classes:  Verify that overzealous dead-code elimination no
    27  * @summary nested classes:  Verify that overzealous dead-code elimination no
    28  * longer removes live code.
    28  * longer removes live code.
    29  * @author dps
    29  * @author dps
    30  *
    30  *
       
    31  * @modules java.desktop
    31  * @run clean DeadCode6
    32  * @run clean DeadCode6
    32  * @run compile -O DeadCode6.java
    33  * @run compile -O DeadCode6.java
    33  */
    34  */
    34 
    35 
    35 // This class will crash the compiler if the bug recurs.
    36 // This class will crash the compiler if the bug recurs.