| // Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| package com.android.tools.r8.debug; |
| public class LocalEndTest { |
| int y = 11; // Replaced by stack value of previously visible x (which must not become visible). |
| System.out.print("throwing "); |
| throw new RuntimeException(); |
| System.out.print("not-throwing "); |
| public final boolean raise; |
| public LocalEndTest(boolean raise) { |
| public static void main(String[] args) { |
| new LocalEndTest(false).foo(); |
| new LocalEndTest(true).foo(); |