Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Fuchs 05e5386bbf 8066612: Add a test that will call getDeclaredFields() on all classes and try to set them accessible
This test parses the jars in the boot class path to find the name of all classes, then loads each of them, get their declared fields, and attempt to call setAccessible.

Reviewed-by: coffeys, dholmes, plevart
2014-12-19 20:04:14 +01:00
Daniel Fuchs a84060d397 8065552: setAccessible(true) on fields of Class may throw a SecurityException
This fix hides the new private Class.classLoader field from reflection, rather than making it not accessible.

Reviewed-by: mchung, coffeys
2014-12-01 21:02:21 +01:00
Kelly O'Hair fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
J. Duke 319a3b9947 Initial load 2007-12-01 00:00:00 +00:00