Code Review 6969395: TEST_BUG: Tests in java/net sun/net problems
Brad Wetmore
bradford.wetmore at oracle.com
Wed Jul 21 11:16:06 PDT 2010
>> I notice you've changed a lot of http server tests to run in othervm
>> mode. Do they have to run in othervm mode? Just thinking about the
>> overall test time.
>
> In samevm mode all the http server tests that use SSL fail with
> java.lang.NoClassDefFoundError: "Could not initialize class
> javax.crypto.JceSecurityManager". This is really weird. I exchanged mail
> with Jon Gibbons about this, but we never got to the bottom of it. At
> the very least it will require a jtreg change, so for now othervm is all
> we have.
Hm, that is strange. Most likely there is a problem with your
bootclasspath, as it sounds like jce.jar is not being found in the
runtime. We've seen it a lot where something will set its bootclasspath
to a private rt.jar, but skip all the other things that are normally
included. Did you redefine the bootclasspath for these tests or as part
of samevm?
My $.02.
Brad
More information about the net-dev
mailing list