lagergren@407: /* lagergren@407: * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. lagergren@407: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. attila@962: * lagergren@407: * This code is free software; you can redistribute it and/or modify it lagergren@407: * under the terms of the GNU General Public License version 2 only, as lagergren@407: * published by the Free Software Foundation. attila@962: * lagergren@407: * This code is distributed in the hope that it will be useful, but WITHOUT lagergren@407: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or lagergren@407: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License lagergren@407: * version 2 for more details (a copy is included in the LICENSE file that lagergren@407: * accompanied this code). attila@962: * lagergren@407: * You should have received a copy of the GNU General Public License version lagergren@407: * 2 along with this work; if not, write to the Free Software Foundation, lagergren@407: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. attila@962: * lagergren@407: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA lagergren@407: * or visit www.oracle.com if you need additional information or have any lagergren@407: * questions. lagergren@407: */ lagergren@407: lagergren@407: /** lagergren@407: * JDK-8019809: Break return combo that generates erroneous bytecode lagergren@407: * lagergren@407: * @test lagergren@407: * @run lagergren@407: */ lagergren@407: attila@962: //Function("L: {break L;return; }"); lagergren@407: lagergren@407: function f() { lagergren@407: L: { break L; return; } lagergren@407: } lagergren@407: lagergren@407: f();