Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: db72d6e777383c3d18cf434508b5bb86cea29cad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package b7;
/* Test case for bug 16751 Renaming a class doesn't update all references  */
class SuperClass {
  public static final String CONSTANT = "value";
}

class SubClass extends SuperClass {
}

class Test {
  public static void main(String[] arguments) {
    System.out.println(SubClass.CONSTANT);
  }
}

Back to the top