[7u40] Request for phase 2 approval for 8021946: Disabling sun.reflect.Reflection.getCallerCaller(int) by default breaks several frameworks and libraries
Alan Bateman
Alan.Bateman at oracle.com
Thu Aug 1 06:56:21 PDT 2013
On 01/08/2013 01:56, Daniel Fuchs wrote:
> Hi Alan,
>
> If it's not too late you might want to add a testcase in the test for:
>
> @run main/othervm -Djdk.logging.allowStackWalkSearch=true GetCallerClass
>
> since that is supposed to switch allowGetCallerClass on.
>
> best regards,
>
> -- daniel
The logging tests (specifically
bundlesearch/ResourceBundleSearchTest.java) exercises the enabling of
the jdk.logging.allowStackWalkSearch property. However as you bring it
up, I don't think we have a test that exercises the combination
jdk.reflect.allowGetCallerClass=false &&
jdk.logging.allowStackWalkSearch=true. So thank you, I'll add this to
ResourceBundleSearchTest.java before I push it.
-Alan.
More information about the jdk7u-dev
mailing list