< prev index next >

test/jdk/java/lang/reflect/AccessibleObject/TrySetAccessibleTest.java

Print this page
@@ -193,11 +193,11 @@
      public void testJavaLangClass() throws Exception {
  
          // non-public constructor
          Constructor<?> ctor
              = Class.class.getDeclaredConstructor(ClassLoader.class, Class.class, char.class,
-                                                  ProtectionDomain.class, boolean.class, char.class);
+                                                  ProtectionDomain.class, boolean.class, boolean.class, char.class);
          AccessibleObject[] ctors = { ctor };
  
          assertFalse(ctor.trySetAccessible());
          assertFalse(ctor.canAccess(null));
      }
< prev index next >