jdk/src/share/classes/com/sun/beans/finder/MethodFinder.java
changeset 5947 0e6f2837eeca
parent 5506 202f599c92aa
child 11088 86d4baf04e15
--- a/jdk/src/share/classes/com/sun/beans/finder/MethodFinder.java	Tue Jun 15 21:32:59 2010 +0400
+++ b/jdk/src/share/classes/com/sun/beans/finder/MethodFinder.java	Tue Jun 22 12:06:33 2010 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -118,7 +118,7 @@
      * @throws NoSuchMethodException if method is not accessible or is not found
      *                               in specified superclass or interface
      */
-    private static Method findAccessibleMethod(Method method) throws NoSuchMethodException {
+    public static Method findAccessibleMethod(Method method) throws NoSuchMethodException {
         Class<?> type = method.getDeclaringClass();
         if (Modifier.isPublic(type.getModifiers())) {
             return method;