JTreg Build/Documentation Feedback

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jun 21 07:51:48 PDT 2013


Richard,

Thank you for your feedback.  I will work to address the issues
you have raised.

-- Jon

On 06/21/2013 06:48 AM, Richard Warburton wrote:
> Hi,
>
> Just a bit of feedback on building jtreg myself.  Compilation issues are
> with respect to building the hg head.
>
> *Java.net Projects*
> Documentation and links for jtharness and sigtest both point to the
> java.netsites.  It looks like the code is now hosted in openjdk, in
> code tools.  Is
> there any reason for the documentation to be somewhere totally different
> rather than standardised on the openjdk wiki?
>
> *Java 7*
> By default jtreg doesn't seem to compile with a java 7 JDK, because even
> though target is set to 5, source isn't set and the combination of
> source=7, target=5 isn't allowed.  Proposal: when target is set to 5, set
> source to 5 as well or tell people to use a Java 6 jvm.
>
> *Optional Dependencies*
> Both junit and testng are listed as optional dependencies, but the default
> build (make -C make) fails without them available.  It would be more
> friendly to have a better error message around this or not compile
> junit/testng specific code if the dependency is missing.
>
> *Directories*
> The make script seems to assume that the non-standard
> directory /java/devtools/share/ exists and puts junit and testng from that
> path on the classpath.  I needed to create this directory and symbol /opt
> to it, even though junit and testng were in the places referred to by
> make/build.properties.  Again this is using 'make -C make'
>
> regards,
>
>    Dr. Richard Warburton
>
>    http://insightfullogic.com
>    @RichardWarburto <http://twitter.com/richardwarburto>



More information about the jtreg-dev mailing list