Re: test with a 3rd party jar file?

2013-06-27 Thread huizhe wang
Hi Chris, Thanks for the information! I'll give it a try. On 6/26/2013 6:18 AM, Chris Hegarty wrote: The streams package recently added tests for exercising package-private implementation. Top level dir contain the TEST.properties to add to the bootclasspath: Do you mean TEST.properties

Re: test with a 3rd party jar file?

2013-06-27 Thread Chris Hegarty
On 27/06/2013 08:50, huizhe wang wrote: Hi Chris, Thanks for the information! I'll give it a try. On 6/26/2013 6:18 AM, Chris Hegarty wrote: The streams package recently added tests for exercising package-private implementation. Top level dir contain the TEST.properties to add to the

Re: test with a 3rd party jar file?

2013-06-27 Thread huizhe wang
Thanks Chris for the instructions! Joe On 6/27/2013 3:34 AM, Chris Hegarty wrote: On 27/06/2013 08:50, huizhe wang wrote: Hi Chris, Thanks for the information! I'll give it a try. On 6/26/2013 6:18 AM, Chris Hegarty wrote: The streams package recently added tests for exercising

Re: test with a 3rd party jar file?

2013-06-26 Thread Chris Hegarty
The streams package recently added tests for exercising package-private implementation. Top level dir contain the TEST.properties to add to the bootclasspath: http://hg.openjdk.java.net/jdk8/tl/jdk/file/510035b7/test/java/util/stream/boottest/ Example, individual test, whose test is in

Re: test with a 3rd party jar file?

2013-06-25 Thread huizhe wang
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

Re: test with a 3rd party jar file?

2013-06-25 Thread Wang Weijun
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 =

Re: test with a 3rd party jar file?

2013-06-25 Thread huizhe wang
Thanks! I'll give it a try. Do you plan to backport this to jdk7? -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

Re: test with a 3rd party jar file?

2013-06-25 Thread Weijun Wang
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,

Re: test with a 3rd party jar file?

2013-06-25 Thread Weijun Wang
Oh, there is another test library with similar purpose at https://jbs.oracle.com/bugs/browse/JDK-8007142 and it is already on all versions of java. It can launch a Java process, wait for it to finish, and collect all the output (stdout and stderr). Mine takes care of stdin and focus on

test with a 3rd party jar file?

2013-06-24 Thread huizhe wang
Hi, Does anyone know if it's possible to automate a test with a 3rd party jar file on the bootclasspath or java.endorsed.dirs? I have a test that I run manually with Apache Xerces jar. Thanks, Joe Original Message Subject: [JBS] (JDK-8016773) Regression: diff. behavior

Re: test with a 3rd party jar file?

2013-06-24 Thread Seán Coffey
alternative unless jtreg is able to handle this relatively simple (common?) setup request. regards, Sean. On 24/06/13 18:33, huizhe wang wrote: Hi, Does anyone know if it's possible to automate a test with a 3rd party jar file on the bootclasspath or java.endorsed.dirs? I have a test that I

Re: test with a 3rd party jar file?

2013-06-24 Thread Rob McKenna
see any alternative unless jtreg is able to handle this relatively simple (common?) setup request. regards, Sean. On 24/06/13 18:33, huizhe wang wrote: Hi, Does anyone know if it's possible to automate a test with a 3rd party jar file on the bootclasspath or java.endorsed.dirs? I have

Re: test with a 3rd party jar file?

2013-06-24 Thread huizhe wang
?) setup request. regards, Sean. On 24/06/13 18:33, huizhe wang wrote: Hi, Does anyone know if it's possible to automate a test with a 3rd party jar file on the bootclasspath or java.endorsed.dirs? I have a test that I run manually with Apache Xerces jar. Thanks, Joe Original Message