commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From D Sledge <david.sle...@yahoo.com>
Subject [Lang] Question about Accessible Criteria
Date Thu, 11 Mar 2010 17:10:43 GMT
Looking at the method ConstructorUtils.getAccessibleConstructor(Constructor), I notice that
the method checks if the declaring class is public.  Should it not also make sure that the
declaring class is either a top-level one or its enclosing class hierarchy are all public,
too?

D



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message