<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Someone should convert these JUnit
      tests to use TestNG.<br>
      <br>
      -- Jon<br>
      <br>
      <br>
      <br>
      On 03/20/2013 05:41 AM, Mani Sarkar wrote:<br>
    </div>
    <blockquote
cite="mid:CAGHtMW=PKUNtX=8Pi3-KVcTLhMMRXCbsntPWGEQ2PodHsCGrFg@mail.gmail.com"
      type="cite">Oops, these tests are still failing despite copying
      junit.jar into the lib folder.
      <div><br>
      </div>
      <div><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">AccessControlTest.java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/BigArityTest.</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">ClassValueTest.java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">InvokeGenericTest.java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">JavaDocExamplesTest.java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MethodHandlesTest.java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MethodTypeTest.java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">PermuteArgsTest.java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">PrivateInvokeTest.java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/RicochetTest.</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">java</span><br
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
        <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">>
          FAILED: java/lang/invoke/</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">ThrowExceptionsTest.java</span></div>
      <div><font color="#222222" face="arial, sans-serif"><br>
        </font></div>
      <div><font color="#222222" face="arial, sans-serif">They are still
          not finding junit.jar despite being placed next to jtreg.jar
          as you can see:</font></div>
      <div><font color="#222222" face="arial, sans-serif"><br>
        </font></div>
      <div><font color="#222222">
          <div><font face="courier new, monospace">$ tree -P *.jar</font></div>
          <div style="font-family:arial,sans-serif">.</div>
          <div><font face="courier new, monospace">├── lib</font></div>
          <div><font face="courier new, monospace">│   ├── javatest.jar</font></div>
          <div><font face="courier new, monospace">│   ├── jh.jar</font></div>
          <div><font face="courier new, monospace">│   ├── jtreg.jar</font></div>
          <div><font face="courier new, monospace">│   ├── junit.jar</font></div>
          <div><font face="courier new, monospace">│   └── testng.jar</font></div>
          <div><br>
          </div>
        </font></div>
      <div><font color="#222222" face="arial, sans-serif">
          <div>java/lang/invoke/AccessControlTest.java                  
                                                                   
             Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/BigArityTest.java                      
                                                                     
            Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/ClassValueTest.java                    
                                                                     
            Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/InvokeGenericTest.java                  
                                                                   
             Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/JavaDocExamplesTest.java                
                                                                   
             Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/MethodHandlesTest.java                  
                                                                   
             Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/MethodTypeTest.java                    
                                                                     
            Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/PermuteArgsTest.java                    
                                                                   
             Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/PrivateInvokeTest.java                  
                                                                   
             Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/RicochetTest.java                      
                                                                     
            Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>java/lang/invoke/ThrowExceptionsTest.java                
                                                                   
             Failed. Execution failed: `main' threw exception:
            java.lang.Exception: No JUnit 4 driver (install junit.jar
            next to jtreg.jar)</div>
          <div>vm/verifier/TestStaticIF.java                            
                                                                   
             Failed. Unexpected exit from test [exit code: 134]</div>
          <div><br>
          </div>
          <div>Cheers,</div>
          <div>mani</div>
        </font><br>
        <div class="gmail_quote">On Wed, Mar 20, 2013 at 12:33 PM, Mani
          Sarkar <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:sadhak001@gmail.com" target="_blank">sadhak001@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            Hi Balchandra,
            <div><br>
            </div>
            <div>Thanks for all the helpful tips.</div>
            <div><br>
            </div>
            <div>I fixed Junit and reran the tests, also played around
              with the jtreg commands, and they worked as well - see
              wiki instructions [2] - any feedback is welcome. There are
              a couple of TODO items but other than that its pretty
              usable.</div>
            <div><br>
            </div>
            <div>The link you posted [1] - isn't working for me, is it
              an internal one?</div>
            <div><br>
            </div>
            <div>[1] <a moz-do-not-send="true"
href="http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html"
style="color:rgb(17,85,204);font-size:13px;font-family:arial,sans-serif"
                target="_blank">http://bambi.ie.oracle.com/web/openjdk/results-large/docs/howtoruntests.html</a></div>
            <div>[2] <a moz-do-not-send="true"
href="http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D"
                target="_blank">http://java.net/projects/adoptopenjdk/pages/EclipseProjectForJTReg%5D</a></div>
            <div><br>
              Cheers,</div>
            <div>mani
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="gmail_quote">
                    On Tue, Mar 19, 2013 at 11:09 PM, Mani Sarkar <span
                      dir="ltr"><<a moz-do-not-send="true"
                        href="mailto:sadhak001@gmail.com"
                        target="_blank">sadhak001@gmail.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      Thanks Balachandra for your response., hope you
                      had a good time away.
                      <div><br>
                      </div>
                      <div>I'll get back to the list with a feedback
                        once I have applied everyone's suggestions so
                        far.<br>
                        <br>
                        <br>
                        Cheers,</div>
                      <div>
                        <div>
                          <div>mani</div>
                          <div>-- <br>
                            <b>Twitter:</b> @theNeomatrix369
                            <div><b>Blog:</b> <a moz-do-not-send="true"
                                href="http://neomatrix369.wordpress.com"
                                target="_blank">http://neomatrix369.wordpress.com</a></div>
                            <div><b>JUG activity:</b> LJC Advocate
                              (@adoptopenjdk & @adoptajsr programs)</div>
                            <div><b>Meet-a-Project:</b> <a
                                moz-do-not-send="true"
                                href="https://github.com/MutabilityDetector"
                                target="_blank">https://github.com/MutabilityDetector</a></div>
                            <div><b>Come to Devoxx UK 2013:</b> <a
                                moz-do-not-send="true"
                                href="http://www.devoxx.com/display/UK13/Home"
                                target="_blank">http://www.devoxx.com/display/UK13/Home</a></div>
                            <div><b><i>Don't chase success, rather aim
                                  for "Excellence", and success will
                                  come chasing after you!</i></b></div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <div><br>
                  </div>
                  -- <br>
                  <b>Twitter:</b> @theNeomatrix369
                  <div><b>Blog:</b> <a moz-do-not-send="true"
                      href="http://neomatrix369.wordpress.com"
                      target="_blank">http://neomatrix369.wordpress.com</a></div>
                  <div><b>JUG activity:</b> LJC Advocate (@adoptopenjdk
                    & @adoptajsr programs)</div>
                  <div><b>Meet-a-Project:</b> <a moz-do-not-send="true"
                      href="https://github.com/MutabilityDetector"
                      target="_blank">https://github.com/MutabilityDetector</a></div>
                  <div><b>Come to Devoxx UK 2013:</b> <a
                      moz-do-not-send="true"
                      href="http://www.devoxx.com/display/UK13/Home"
                      target="_blank">http://www.devoxx.com/display/UK13/Home</a></div>
                  <div><b><i>Don't chase success, rather aim for
                        "Excellence", and success will come chasing
                        after you!</i></b></div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <b>Twitter:</b> @theNeomatrix369
        <div><b>Blog:</b> <a moz-do-not-send="true"
            href="http://neomatrix369.wordpress.com" target="_blank">http://neomatrix369.wordpress.com</a></div>
        <div><b>JUG activity:</b> LJC Advocate (@adoptopenjdk &
          @adoptajsr programs)</div>
        <div><b>Meet-a-Project:</b> <a moz-do-not-send="true"
            href="https://github.com/MutabilityDetector" target="_blank">https://github.com/MutabilityDetector</a></div>
        <div><b>Come to Devoxx UK 2013:</b> <a moz-do-not-send="true"
            href="http://www.devoxx.com/display/UK13/Home"
            target="_blank">http://www.devoxx.com/display/UK13/Home</a></div>
        <div><b><i>Don't chase success, rather aim for "Excellence", and
              success will come chasing after you!</i></b></div>
      </div>
    </blockquote>
    <br>
  </body>
</html>