jeffhao | 5d1ac92 | 2011-09-29 17:41:15 -0700 | [diff] [blame] | 1 | // Copyright 2008 The Android Open Source Project |
| 2 | |
| 3 | public class Main { |
| 4 | public static void main(String[] args) { |
| 5 | Special special = new Special(); |
| 6 | special.callInner(); |
| 7 | } |
| 8 | |
| 9 | public static class Special { |
| 10 | Blort mBlort = null; |
| 11 | |
| 12 | Special() { |
| 13 | System.out.println("new Special()"); |
| 14 | } |
| 15 | |
| 16 | public void callInner() { |
| 17 | mBlort.repaint(); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | private class Blort { |
| 22 | public void repaint() { |
| 23 | System.out.println("shouldn't see this"); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | } |