Sahoo,
Is this urgent? If so, I can raise the priority of the internal bug
we have to track this issue.
-Tom
Sanjeeb Kumar Sahoo wrote:
>Hi Tom,
>
>Earlier I had raised this once. Is it necessary for the classes to be
>initialised when they are being loaded for introspection purpose? I
>don't think so. In that case, can TopLink Essential code be changed not
>to initialize classes while loading them? I found the following code in
>TransformerFactory.java by accidentally entering into that file while
>debugging:
> Class clz =
>oracle.toplink.essentials.internal.security.PrivilegedAccessController.getClassForName(descriptor.getJavaClassName(),
>true, classLoader);
>
>We have had bugs raised by our customers for such issues especially when
>static-initializer code assumes it is running in an active application
>context.
>
>Thanks,
>Sahoo
>
>
--
Tom Ware
Principal Software Engineer
Oracle Canada Inc.
Direct: (613) 783-4598
Email: tom.ware_at_oracle.com