On 6/26/13 9:32 AM, huizhe wang wrote: > Thanks! I'll give it a try. Do you plan to backport this to jdk7?
No, but you can smuggle it there inside your test. --Max > > -Joe > > On 6/25/2013 4:31 PM, Wang Weijun wrote: >> That should be enough. Then you only need to waitFor it. >> >> --Max >> >> 在 Jun 26, 2013,1:10 AM,huizhe wang <huizhe.w...@oracle.com> 写道: >> >>> 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 >>> <Test.java> >