<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.java.openjdk.jtreg.user">
    <title>gmane.comp.java.openjdk.jtreg.user</title>
    <link>http://blog.gmane.org/gmane.comp.java.openjdk.jtreg.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/92"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/87"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/79"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/77"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/76"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/75"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/73"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/71"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/92">
    <title>jtreg fails if the test requires a security manager!</title>
    <link>http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/92</link>
    <description>&lt;pre&gt;Hi Jon,

I have a new test that requires that a security manager be installed, so 
I have:

&amp;lt; at &amp;gt;run main/othervm -Djava.security.manager

but this causes jtreg itself to encounter a security exception:

Exception in thread "main" java.security.AccessControlException: access 
denied ("java.io.FilePermission" 
"/scratch/dh198349/dev-work/b11/linux-i586-dh/testoutput/jdk_util/JTwork/classes/java/util/concurrent/atomic/AtomicUpdaters.jta" 
"read")
         at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:364)
         at 
java.security.AccessController.checkPermission(AccessController.java:555)
         at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
         at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
         at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:121)
         at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:87)
         at java.io.FileReader.&amp;lt;init&amp;gt;(FileReader.java:58)
         at com.sun.javatest.regtest.MainWrapper.main(MainWrapper.java:45)

What can I do to fix this?

Thanks,
David

&lt;/pre&gt;</description>
    <dc:creator>David Holmes</dc:creator>
    <dc:date>2012-04-19T04:40:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/87">
    <title>-jdk and releative paths</title>
    <link>http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/87</link>
    <description>&lt;pre&gt;I recently discovered that using relative paths for the -jdk option fails for some of the shell script tests because they expect the jdk path to be an absolute path. (yet one more reason to hate shell tests). About 100 tests fail in jdk/test/test because of the absolute path requirement to their driver shell scripts. Is there any chance that jtreg could convert the path provided to -jdk to an absolute path? being able to use a relative path on the command line is certainly more convenient.

Thanks,

Mike
&lt;/pre&gt;</description>
    <dc:creator>Mike Duigou</dc:creator>
    <dc:date>2011-11-16T22:45:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/79">
    <title>jtreg does not pass the  GNOME_DESKTOP_SESSION_ID system variableto the tested JDK</title>
    <link>http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/79</link>
    <description>&lt;pre&gt;Hi,

The  UIManager.getSystemLookAndFeelClassName() runnning in the test 
method by jtreg returns different L&amp;amp;Fs than  it is run under JDK on the 
Solaris when the GNOME_DESKTOP_SESSION_ID is set.
It is because the jtreg does not pass the  GNOME_DESKTOP_SESSION_ID 
system variable to the tested JDK and so the JDK does not set the 
sun.desktop system variable.

To check this set the GNOME_DESKTOP_SESSION_ID system variable on the 
Solaris and run the following code under java 1.7  and jtreg:
--- TestSunDesktopSystemVariable.java ---
/*
  * &amp;lt; at &amp;gt;test
  * &amp;lt; at &amp;gt;summary Check that sun.desktop variable is set in JDK if the 
GNOME_DESKTOP_SESSION_ID system variable is set on Solaris OS
  * &amp;lt; at &amp;gt;run main TestSunDesktopSystemVariable
  */

public class TestSunDesktopSystemVariable {

     public static void main(String[] args) {
         String sunDesktop = System.getProperty("sun.desktop");
         System.out.println("desktop = " + sunDesktop);

         if(sunDesktop == null){
             throw new RuntimeException("The sun.desktop system variable 
is not set");
         }
     }
}
---------------------------------------------------
The result is
 &amp;gt; java
   desktop = gnome
 &amp;gt; jtreg
   ----------System.out:(1/15)----------
    desktop = null
    ----------System.err:(13/814)----------
    java.lang.RuntimeException: The sun.desktop system variable is not set


To fix this the GNOME_DESKTOP_SESSION_ID system variable should be added 
to the DEFAULT_UNIX_ENV_VARS string array in the 
com.sun.javatest.regtest.Main class.

Thanks,
Alexandr.



&lt;/pre&gt;</description>
    <dc:creator>Alexander Scherbatiy</dc:creator>
    <dc:date>2011-10-21T09:49:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/77">
    <title>Infinite Timeout?</title>
    <link>http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/77</link>
    <description>&lt;pre&gt;I'm working on a bug that involves a lot of reflection and proxies and trying to debug it using the jtreg unit test and attaching to the process with netbeans debugger. I initially ran into problems when jtreg timed out the test after 120 seconds. I then tried increasing the timeout value but my requests for "10000000" were rejected. I'm currently using a timeout factor of 100 but it would be nice to be able to say "-timeout:never". Is there a way to disable timeouts entirely?

Mike
&lt;/pre&gt;</description>
    <dc:creator>Mike Duigou</dc:creator>
    <dc:date>2011-07-29T21:05:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/76">
    <title>PATH not propagated to the test's JVM</title>
    <link>http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/76</link>
    <description>&lt;pre&gt;  According to http://openjdk.java.net/jtreg/faq.html#question4.1,
by design, PATH is not propagated into the test's JVM; instead,

     * Linux and Solaris:
           o PATH is set to /bin:/usr/bin
     * Windows:
           o PATH is set to the MKS or Cygwin toolkit binary directory

What is the rationale behind of restricting the shell tests to use 
commands from /bin:/usr/bin?  We have tests that depend on gawk which is 
not installed in /bin:/usr/bin on Solaris 10 by default (instead 
/opt/sfw/bin) unless I add a symlink or copy them.  These tests fail if 
I use jtreg to run them.

Thanks
Mandy



&lt;/pre&gt;</description>
    <dc:creator>Mandy Chung</dc:creator>
    <dc:date>2011-03-04T23:34:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/75">
    <title>Tag spec update needed on openjdk.java.net</title>
    <link>http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/75</link>
    <description>&lt;pre&gt;The copy of the jtreg tag specification posted at &amp;lt;http://openjdk.java.net/jtreg/tag-spec.txt&amp;gt; is an older version (1.25 06/10/24) than the version included in the online help (1.26 09/10/10) for jtreg 4.1 fcs b02. Also, a less ambiguous date format such as 2011-02-13 would be nice. :-)

Cheers,

Mike
&lt;/pre&gt;</description>
    <dc:creator>Mike Duigou</dc:creator>
    <dc:date>2011-02-13T18:28:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/73">
    <title>jtreg -vmoption(s) vs. -javaoption(s)</title>
    <link>http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/73</link>
    <description>&lt;pre&gt;I'm trying to understand what differences in usage there are for the -vmoption and -javaoption flags. From my reading of RegressionParameters.getTestVMJavaOptions() it would seem than in practice the two options are interchangeable. Is there some other distinction I am missing? The command line help includes a see also for each to the other but doesn't explain any difference.

Mike
&lt;/pre&gt;</description>
    <dc:creator>Mike Duigou</dc:creator>
    <dc:date>2011-01-24T21:01:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/71">
    <title>Tag option "process" is missing in JTreg documentation</title>
    <link>http://comments.gmane.org/gmane.comp.java.openjdk.jtreg.user/71</link>
    <description>&lt;pre&gt;Hi all,

I realized that OpenJDK regression test
langtools/tools/javac/processing/6499119/ClassProcessor.java uses the
tag "&amp;lt; at &amp;gt;compile" followed by tag option "process".

But this tag+option pair is not mentioned (or I'm unable to find it ;-)
in tag specification:
http://openjdk.java.net/jtreg/tag-spec.txt

I also tried to find in newest JTreg harness sources where this option
is processed and it in fact exists (CompileAction.java).

So I think that tag specification on openjdk.java.net should be updated.
If I'm right can anybody please do it?

Thank you in advance,
Pavel Tisnovsky


&lt;/pre&gt;</description>
    <dc:creator>Pavel Tisnovsky</dc:creator>
    <dc:date>2010-11-18T11:26:47</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.openjdk.jtreg.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.openjdk.jtreg.user</link>
  </textinput>
</rdf:RDF>

