Here are diffs :
Oh! Of course you are right - I should not send e-mails when so tired.
Fix looks fine then! Thanks!
Hi. The fix is ok when operating from a jar, but does not work if a unpacked jar or raw build classes/ directory is used. Fix should include an attempt to do the basic search of the classpath.
Example of what does not work:
> cd JTHarness-build/classes
> java -jar com.sun.javatest.tool.Main -version
Unable to access jarfile com.sun.javatest.tool.Main
No, it works, you mistaken typing the command:
~/tmp> java -cp ~/wrk/jt422/ersh/cr_6466752/JTHarness-build/classes/:/opt/lib/jhall.jar com.sun.javatest.tool.Main -version
JT Harness, version 4.1.2 dev b00
Installed in /local_homes/ersh/wrk/jt422/ersh/cr_6466752/JTHarness-build/classes
Running on platform version 1.5.0_09 from /opt/jdk1.5.0_09/jre.
Built with Java(TM) 2 SDK, Version 1.5.0_09 on August 9, 2007.
Copyright (C) 1996-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.