test with a 3rd party jar file?
huizhe wang
huizhe.wang at oracle.com
Tue Jun 25 17:10:16 UTC 2013
Max,
Can you explain how to use your test library to run a simple test such
as the one attached with a 3rd party jar on bootclasspath?
e.g.
Proc pc = Proc.create("Test")
.args("-Xbootclasspath/p:"+pathtoXercesImpljar)
.start();
is that how 3rd party jar file can be put on the bootclasspath? what else needs to be done after
that in order carry out the test?
Thanks,
Joe
On 6/24/2013 6:05 PM, Weijun Wang wrote:
> On 6/25/13 6:42 AM, Rob McKenna wrote:
>> Some interesting conversations were had lately about shell scripts
>> during Joe Darcy's recent infrastructure tech talk. In particular around
>> the idea of a "jdk.testing" package to provide libraries that would help
>> with the types of operations seen in shell scripts. I'm really hoping to
>> spend some time on this myself over the coming weeks. (in an effort to
>> at least understand why we need shell scripts and whether we could do
>> something else instead)
>
> Oh, I've recently invented a new wheel on loading processes and make
> them interact with each other
>
>
> http://hg.openjdk.java.net/jdk8/tl/jdk/file/bb2e67628dc0/test/java/security/testlibrary/Proc.java
>
>
> An example here
>
>
> http://hg.openjdk.java.net/jdk8/tl/jdk/file/bb2e67628dc0/test/sun/security/krb5/auto/BasicProc.java
>
>
> --Max
>
>>
>> -Rob
>>
More information about the core-libs-dev
mailing list