view test/runtime/6929067/T.java @ 17637:1a023fd29afb

8031045: Access checks should precede additional per-instruction checks Summary: Move access check above the check for non-static method Reviewed-by: lfoltan, coleenp
author hseigel
date Fri, 17 Jan 2014 09:39:51 -0500
parents 3b3d12e645e7
children
line wrap: on
line source

public class T
{
  public static boolean foo(boolean bar)
  {
    return bar;
  }

  public static void printIt()
  {
    System.out.println("Hello");
  }
}