<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/rss.css"?>
<rss version="2.0">
  <channel>
    <title>JRuby</title>
    <link>http://xircles.codehaus.org/projects/jruby/lists</link>
    <docs>This file is an RSS 2.0 file.</docs>
    <description>Feed of the latest messages for JRuby</description>
    <language>en-US</language>
    <item>
      <title>[jruby-scm] [jira] Updated: (JRUBY-2645) CLONE -Process.pid does not give the correct PID  on 64bit linux</title>
      <creator>Thomas E Enebo (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 18:29:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/26888662.1215214167089.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/26888662.1215214167089.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Thomas E Enebo (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 18:29:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
     [ http://jira.codehaus.org/browse/JRUBY-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas E Enebo updated JRUBY-2645:
----------------------------------


I have a start on this issue for Linux.

&gt; CLONE -Process.pid does not give the correct PID  on 64bit linux
&gt; ----------------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2645
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2645
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Core Classes/Modules
&gt;    Affects Versions: JRuby 1.1b1
&gt;         Environment: Linux client11 2.6.20-gentoo-r8y #2 SMP PREEMPT Tue Jul 10 12:39:18 EEST 2007 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
&gt; java version "1.6.0"
&gt; Java(TM) SE Runtime Environment (build 1.6.0-b105)
&gt; Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
&gt;            Reporter: McClain Looney
&gt;            Assignee: Thomas E Enebo
&gt;            Priority: Minor
&gt;             Fix For: JRuby 1.1RC2
&gt;
&gt;
&gt; I'd like to monitor a JRuby process, but for now I'll have to write a wrapper script -- it would be nice if JRuby could report the correct PID.
&gt;  $ ruby -e "STDOUT.puts Process.pid"
&gt; 30950
&gt;  $ which jruby
&gt; /opt/jruby-1.1b1/bin/jruby
&gt;  $ jruby -e "STDOUT.puts Process.pid"
&gt; 20471808
&gt; Both PIDs should be in the same 30xxx range.
&gt; There was another PID issue marked fixed a month ago, but I just downloaded the latest beta: 1.1b1 and this still seems to be unresolved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Commented: (JRUBY-1467) DB Connection Leak using rails-integration in Resin</title>
      <creator>Eric Stevens (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 13:15:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/22140501.1215195327707.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/22140501.1215195327707.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Eric Stevens (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 13:15:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
    [ http://jira.codehaus.org/browse/JRUBY-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=140659#action_140659 ] 

Eric Stevens commented on JRUBY-1467:
-------------------------------------

I agree with the WONTFIX.  The workaround is relatively clean and I don't know of a better fix without changes in ActiveRecord itself.  

As a side note: I don't know if it is really a connection leak or if AR just doesn't ever release the connection.  The reason it is a problem for us is that we have idle connection cleanup turned on.  The connections are automatically closed by the JBoss connection pool.  AR then tries to repeatably use the closed connection never recovers from the situation.

&gt; DB Connection Leak using rails-integration in Resin
&gt; ---------------------------------------------------
&gt;
&gt;                 Key: JRUBY-1467
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-1467
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: ActiveRecord-JDBC, Rails WAR Deployment
&gt;    Affects Versions: JRuby 1.0.1
&gt;         Environment: Windows XP SP2, JDK 1.6.0_02, JRuby 1.0.1, Resin 3.1.3, rails-integration, Mysql 5.0.45
&gt;            Reporter: Atif Khan
&gt;            Assignee: Charles Oliver Nutter
&gt;         Attachments: myror.war
&gt;
&gt;
&gt; I have a simple rails example with just one controller and one table. The war is successfully deployed in Resin. The issues is that the application is not closing the connection. So, eventually after a few requests, the server runs out of connections. I am using the DataSource configures in Resin application server for this application. 
&gt; Here is the log that I see:
&gt; [15:56:17.462] Closing dangling connections.  All connections must have a close() in a finally block.
&gt; [15:56:17.462] java.lang.IllegalStateException: unclosed connection: UserPoolItem[jdbc/mysql,3] was allocated at
&gt; [15:56:17.462]  at com.caucho.jca.UserPoolItem.&lt;init&gt;(UserPoolItem.java:95)
&gt; [15:56:17.462]  at com.caucho.jca.UserPoolItem.&lt;init&gt;(UserPoolItem.java:101)
&gt; [15:56:17.462]  at com.caucho.jca.PoolItem.toActive(PoolItem.java:249)
&gt; [15:56:17.462]  at com.caucho.jca.ConnectionPool.create(ConnectionPool.java:921)
&gt; [15:56:17.462]  at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:779)
&gt; [15:56:17.462]  at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:740)
&gt; [15:56:17.462]  at com.caucho.jca.ConnectionPool.allocateConnection(ConnectionPool.java:551)
&gt; [15:56:17.462]  at com.caucho.sql.DataSourceImpl.getConnection(DataSourceImpl.java:65)
&gt; [15:56:17.462]  at com.caucho.sql.DBPool.getConnection(DBPool.java:669)
&gt; [15:56:17.462]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; [15:56:17.462]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; [15:56:17.462]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; [15:56:17.462]  at java.lang.reflect.Method.invoke(Method.java:597)
&gt; [15:56:17.462]  at org.jruby.javasupport.JavaMethod.invokeWithExceptionHandling(JavaMethod.java:196)
&gt; [15:56:17.462]  at org.jruby.javasupport.JavaMethod.invoke(JavaMethod.java:172)
&gt; [15:56:17.462]  at org.jruby.javasupport.JavaClass$InstanceMethodInvoker.execute(JavaClass.java:439)
&gt; [15:56:17.462]  at org.jruby.internal.runtime.methods.SimpleCallbackMethod.call(SimpleCallbackMethod.java:81)
&gt; [15:56:17.462]  at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:71)
&gt; [15:56:17.462]  at org.jruby.evaluator.EvaluationState.callNode(EvaluationState.java:571)
&gt; [15:56:17.462]  at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:207)
&gt; [15:56:17.462]  at org.jruby.evaluator.EvaluationState.setupArgs(EvaluationState.java:2199)
&gt; [15:56:17.462]  at org.jruby.evaluator.EvaluationState.fCallNode(EvaluationState.java:1008)
&gt; [15:56:17.462]  at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:253)
&gt; [15:56:17.462]  at org.jruby.evaluator.EvaluationState.blockNode(EvaluationState.java:533)
&gt; [15:56:17.462]  at org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:201)
&gt; [15:56:17.462]  at org.jruby.evaluator.EvaluationState.eval(EvaluationState.java:164)
&gt; ....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Updated: (JRUBY-2756) Major performance problem wrapping/unwrapping blocks/procs</title>
      <creator>Vladimir Sizikov (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 12:30:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/30954698.1215192627070.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/30954698.1215192627070.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Vladimir Sizikov (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 12:30:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
     [ http://jira.codehaus.org/browse/JRUBY-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Sizikov updated JRUBY-2756:
------------------------------------

    Attachment: Profiling.png

Attaching the profiling data out of NetBeans profiler.

The major jumps in execution times are at blocks.

&gt; Major performance problem wrapping/unwrapping blocks/procs
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2756
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2756
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Performance
&gt;            Reporter: Charles Oliver Nutter
&gt;            Assignee: Charles Oliver Nutter
&gt;            Priority: Blocker
&gt;             Fix For: JRuby 1.1.3
&gt;
&gt;         Attachments: Profiling.png
&gt;
&gt;
&gt; JRUBY-2752 uncovered a terrible performance problem in block wrapping/unwrapping (&amp;b). For the attached script there, we are something like 20-30x slower than MRI. The problem appears to be the fact that it wraps and unwraps a proc/block for every call to its worker methods. A modification of the script to use blocks that just yield {|x| yield x} eliminates the performance problem, and shows us being faster than MRI. So it's basically just the wrapping/unwrapping or the fact that it's a proc causing the performance hit.
&gt; Here's the results before modifying the script:
&gt; {noformat}
&gt; ~/NetBeansProjects/jruby &amp;#10132; time jruby --server tester2.rb 
&gt; Found 712890 numbers under 10000000.
&gt; Max jump: 104691 (1098765 -- 1203456).
&gt; real	0m49.438s
&gt; user	0m48.339s
&gt; sys	0m0.766s
&gt; ~/NetBeansProjects/jruby &amp;#10132; time ruby tester2.rb 
&gt; Found 712890 numbers under 10000000.
&gt; Max jump: 104691 (1098765 -- 1203456).
&gt; real	0m4.570s
&gt; user	0m4.465s
&gt; sys	0m0.045s
&gt; {noformat}
&gt; And here's the results after modifying:
&gt; {noformat}
&gt; ~/NetBeansProjects/jruby &amp;#10132; time jruby --server tester2.rb 
&gt; Found 712890 numbers under 10000000.
&gt; Max jump: 104691 (1098765 -- 1203456).
&gt; real	0m3.780s
&gt; user	0m4.128s
&gt; sys	0m0.177s
&gt; ~/NetBeansProjects/jruby &amp;#10132; time ruby tester2.rb 
&gt; Found 712890 numbers under 10000000.
&gt; Max jump: 104691 (1098765 -- 1203456).
&gt; real	0m6.283s
&gt; user	0m6.207s
&gt; sys	0m0.042s
&gt; {noformat}
&gt; This is a blocker for 1.1.3, since so much code out there wraps and unwraps blocks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Closed: (JRUBY-2752) NPE running ruby code</title>
      <creator>Vladimir Sizikov (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 12:18:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/3531364.1215191906904.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/3531364.1215191906904.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Vladimir Sizikov (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 12:18:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
     [ http://jira.codehaus.org/browse/JRUBY-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Sizikov closed JRUBY-2752.
-----------------------------------

    Resolution: Duplicate

Closing this as a duplicate.

But also linking to the JRUBY-2756, since the attached test exposes major performance issue.

Thanks!!!

&gt; NPE running ruby code
&gt; ---------------------
&gt;
&gt;                 Key: JRUBY-2752
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2752
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;    Affects Versions: JRuby 1.1.2
&gt;         Environment: OSX leopard, apple java
&gt;            Reporter: Andr&#233; Cruz
&gt;            Assignee: Vladimir Sizikov
&gt;         Attachments: tester2.rb
&gt;
&gt;
&gt; Running the attached code produces:
&gt; [andre@splicer ~/tmp]$ ./jruby-1.1.2/bin/jruby tester2.rb 
&gt; Exception in thread "main" java.lang.NullPointerException
&gt; 	at org.jruby.javasupport.util.RuntimeHelpers.processBlockArgument(RuntimeHelpers.java:440)
&gt; 	at ruby.Users.andre.tmp.tester2.method__1$RUBY$compute_seq(tester2.rb)
&gt; 	at ruby.Users.andre.tmp.tester2Invokermethod__1$RUBY$compute_seqFixed3.call(Unknown Source)
&gt; 	at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:235)
&gt; 	at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:414)
&gt; 	at ruby.Users.andre.tmp.tester2.block_2$RUBY$__block__(tester2.rb:24)
&gt; 	at ruby.Users.andre.tmp.tester2BlockCallback$block_2$RUBY$__block__xx1.call(Unknown Source)
&gt; 	at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:107)
&gt; 	at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:88)
&gt; 	at org.jruby.runtime.Block.yield(Block.java:109)
&gt; 	at org.jruby.RubyRange.each(RubyRange.java:325)
&gt; 	at org.jruby.RubyRangeInvoker$each_method_0_0.call(Unknown Source)
&gt; 	at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:139)
&gt; 	at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:312)
&gt; 	at ruby.Users.andre.tmp.tester2.__file__(tester2.rb:23)
&gt; 	at ruby.Users.andre.tmp.tester2.__file__(tester2.rb)
&gt; 	at ruby.Users.andre.tmp.tester2.load(tester2.rb)
&gt; 	at org.jruby.Ruby.runScript(Ruby.java:512)
&gt; 	at org.jruby.Ruby.runNormally(Ruby.java:432)
&gt; 	at org.jruby.Ruby.runFromMain(Ruby.java:312)
&gt; 	at org.jruby.Main.run(Main.java:144)
&gt; 	at org.jruby.Main.run(Main.java:89)
&gt; 	at org.jruby.Main.main(Main.java:80)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Commented: (JRUBY-2749) Make RaiseException show the exception message and the Ruby stack trace</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 12:09:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/8288782.1215191367003.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/8288782.1215191367003.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 12:09:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
    [ http://jira.codehaus.org/browse/JRUBY-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=140656#action_140656 ] 

Charles Oliver Nutter commented on JRUBY-2749:
----------------------------------------------

No, you're probably just fine. I'm guessing that toString for NativeException does not do the message right. Shouldn't be hard to fix. Can you come up with a simple test case?

&gt; Make RaiseException show the exception message and the Ruby stack trace
&gt; -----------------------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2749
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2749
&gt;             Project: JRuby
&gt;          Issue Type: Improvement
&gt;          Components: Java Integration
&gt;    Affects Versions: JRuby 1.1.2
&gt;            Reporter: Trejkaz
&gt;
&gt; When we get a RaiseException from Java, the output doesn't include any useful information for determining what went wrong.
&gt; The bare minimum is to have the original message in the exception including the line number.  But also very useful is the stack trace, mainly as it includes line numbers.
&gt; JRUBY-506 originally reported this and allegedly the patch was applied, but looking at RaiseException in 1.1.2 it doesn't seem to have been applied.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Updated: (JRUBY-2745) Revive test_trace_func.rb tests and provide test:interpreter Rake task</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 11:57:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/1594221.1215190646942.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/1594221.1215190646942.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 11:57:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
     [ http://jira.codehaus.org/browse/JRUBY-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Oliver Nutter updated JRUBY-2745:
-----------------------------------------

         Priority: Blocker  (was: Major)
         Assignee: Charles Oliver Nutter
    Fix Version/s: JRuby 1.1.3

Wire up tests before 1.1.3.

&gt; Revive test_trace_func.rb tests and provide test:interpreter Rake task
&gt; ----------------------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2745
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2745
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Interpreter
&gt;            Reporter: Martin Krauskopf
&gt;            Assignee: Charles Oliver Nutter
&gt;            Priority: Blocker
&gt;             Fix For: JRuby 1.1.3
&gt;
&gt;         Attachments: tracing_test-diff.patch
&gt;
&gt;
&gt; I've already done so on my local machine and using tests for jruby-debug-base. But they really belongs to the JRuby code base. So I'll provide a patch. But current tests are too tweaked, since there are some pending bugs in the interpreter. I'll wait at least for JRUBY-2744 to be fixed and then I'll attach a patch here.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-dev] [jira] Created: (JRUBY-2756) Major performance problem wrapping/unwrapping blocks/procs</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 11:43:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/dev/32216431.1215189806894.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/dev/32216431.1215189806894.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>dev@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 11:43:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Major performance problem wrapping/unwrapping blocks/procs
----------------------------------------------------------

                 Key: JRUBY-2756
                 URL: http://jira.codehaus.org/browse/JRUBY-2756
             Project: JRuby
          Issue Type: Bug
          Components: Performance
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
            Priority: Blocker
             Fix For: JRuby 1.1.3


JRUBY-2752 uncovered a terrible performance problem in block wrapping/unwrapping (&amp;b). For the attached script there, we are something like 20-30x slower than MRI. The problem appears to be the fact that it wraps and unwraps a proc/block for every call to its worker methods. A modification of the script to use blocks that just yield {|x| yield x} eliminates the performance problem, and shows us being faster than MRI. So it's basically just the wrapping/unwrapping or the fact that it's a proc causing the performance hit.

Here's the results before modifying the script:

{noformat}
~/NetBeansProjects/jruby &amp;#10132; time jruby --server tester2.rb 
Found 712890 numbers under 10000000.
Max jump: 104691 (1098765 -- 1203456).

real	0m49.438s
user	0m48.339s
sys	0m0.766s
~/NetBeansProjects/jruby &amp;#10132; time ruby tester2.rb 
Found 712890 numbers under 10000000.
Max jump: 104691 (1098765 -- 1203456).

real	0m4.570s
user	0m4.465s
sys	0m0.045s
{noformat}

And here's the results after modifying:

{noformat}
~/NetBeansProjects/jruby &amp;#10132; time jruby --server tester2.rb 
Found 712890 numbers under 10000000.
Max jump: 104691 (1098765 -- 1203456).

real	0m3.780s
user	0m4.128s
sys	0m0.177s
~/NetBeansProjects/jruby &amp;#10132; time ruby tester2.rb 
Found 712890 numbers under 10000000.
Max jump: 104691 (1098765 -- 1203456).

real	0m6.283s
user	0m6.207s
sys	0m0.042s
{noformat}

This is a blocker for 1.1.3, since so much code out there wraps and unwraps blocks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Created: (JRUBY-2756) Major performance problem wrapping/unwrapping blocks/procs</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 11:43:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/13665660.1215189806875.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/13665660.1215189806875.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 11:43:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Major performance problem wrapping/unwrapping blocks/procs
----------------------------------------------------------

                 Key: JRUBY-2756
                 URL: http://jira.codehaus.org/browse/JRUBY-2756
             Project: JRuby
          Issue Type: Bug
          Components: Performance
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
            Priority: Blocker
             Fix For: JRuby 1.1.3


JRUBY-2752 uncovered a terrible performance problem in block wrapping/unwrapping (&amp;b). For the attached script there, we are something like 20-30x slower than MRI. The problem appears to be the fact that it wraps and unwraps a proc/block for every call to its worker methods. A modification of the script to use blocks that just yield {|x| yield x} eliminates the performance problem, and shows us being faster than MRI. So it's basically just the wrapping/unwrapping or the fact that it's a proc causing the performance hit.

Here's the results before modifying the script:

{noformat}
~/NetBeansProjects/jruby &amp;#10132; time jruby --server tester2.rb 
Found 712890 numbers under 10000000.
Max jump: 104691 (1098765 -- 1203456).

real	0m49.438s
user	0m48.339s
sys	0m0.766s
~/NetBeansProjects/jruby &amp;#10132; time ruby tester2.rb 
Found 712890 numbers under 10000000.
Max jump: 104691 (1098765 -- 1203456).

real	0m4.570s
user	0m4.465s
sys	0m0.045s
{noformat}

And here's the results after modifying:

{noformat}
~/NetBeansProjects/jruby &amp;#10132; time jruby --server tester2.rb 
Found 712890 numbers under 10000000.
Max jump: 104691 (1098765 -- 1203456).

real	0m3.780s
user	0m4.128s
sys	0m0.177s
~/NetBeansProjects/jruby &amp;#10132; time ruby tester2.rb 
Found 712890 numbers under 10000000.
Max jump: 104691 (1098765 -- 1203456).

real	0m6.283s
user	0m6.207s
sys	0m0.042s
{noformat}

This is a blocker for 1.1.3, since so much code out there wraps and unwraps blocks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Commented: (JRUBY-2621) Something in ruby_parser is too long to compile, but doesn't get broken apart correctly</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 11:19:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/30945453.1215188366966.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/30945453.1215188366966.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 11:19:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
    [ http://jira.codehaus.org/browse/JRUBY-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=140651#action_140651 ] 

Charles Oliver Nutter commented on JRUBY-2621:
----------------------------------------------

Some experimentation helped me find out that the upper bound of a literal int array is somewhere around 4700 elements. Then it crosses the 65k limit for an individual method.

The giant arrays in question are generated by RACC, so there's little change to get them changed. Instead we should explore the possibility of having arrays over a particular size force splitting by compiling as their own array-populating methods. I'm not going to do this right now, but it's something we'll want to look into in the future for cases like the Ruby parser.

&gt; Something in ruby_parser is too long to compile, but doesn't get broken apart correctly
&gt; ---------------------------------------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2621
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2621
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Compiler
&gt;            Reporter: Charles Oliver Nutter
&gt;            Assignee: Charles Oliver Nutter
&gt;             Fix For: JRuby 1.1.3
&gt;
&gt;
&gt; This will obviously affect performance of ruby_parser quite a bit:
&gt; {noformat}
&gt; ~/NetBeansProjects/jruby &amp;#10132; jruby -J-Djruby.jit.logging.verbose=true -X+C --server -rubygems -rbenchmark -e "gem :ruby_parser; require 'ruby_parser'; 5.times {puts Benchmark.measure {RubyParser.new.parse(File.read('lib/ruby/1.8/rdoc/parsers/parse_rb.rb'))}}"
&gt; could not compile: /Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/ruby_parser-1.0.0/lib/ruby_parser.rb because of: "Invalid method Code length 82165 in class file ruby/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/$1_dot_8/gems/ruby_parser_minus_1_dot_0_dot_0/lib/ruby_parser"
&gt; java.lang.ClassFormatError: Invalid method Code length 82165 in class file ruby/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/$1_dot_8/gems/ruby_parser_minus_1_dot_0_dot_0/lib/ruby_parser
&gt; 	at java.lang.ClassLoader.defineClass1(Native Method)
&gt; 	at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
&gt; 	at org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:21)
&gt; 	at org.jruby.compiler.impl.StandardASMCompiler.loadClass(StandardASMCompiler.java:159)
&gt; 	at org.jruby.Ruby.tryCompile(Ruby.java:464)
&gt; 	at org.jruby.Ruby.compileAndLoadFile(Ruby.java:2041)
&gt; 	at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:56)
&gt; 	at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:320)
&gt; 	at org.jruby.runtime.load.LoadService.require(LoadService.java:346)
&gt; 	at org.jruby.RubyKernel.require(RubyKernel.java:769)
&gt; {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Resolved: (JRUBY-2753) c-return passes different 'file' then c-call for load and require</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 11:07:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/33013432.1215187646901.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/33013432.1215187646901.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 11:07:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
     [ http://jira.codehaus.org/browse/JRUBY-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Oliver Nutter resolved JRUBY-2753.
------------------------------------------

         Assignee: Charles Oliver Nutter
       Resolution: Fixed
    Fix Version/s: JRuby 1.1.3

Ok, I found the issue. Basically on the way into a script, the "current file" was getting set to the file being executed, but never reset to the file doing the require or load on the way back out. This caused require and load to report the correct file going in, but then the filename was lost coming back out. I don't expect this would affect too many stack traces, but it's possible that it caused problems for exceptions happening shortly after a load. At any rate, I think I have it corrected now in r7106. Keep those trace bugs coming :)

&gt; c-return passes different 'file' then c-call for load and require
&gt; -----------------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2753
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2753
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Interpreter
&gt;    Affects Versions: JRuby 1.1.2, JRuby 1.1.3
&gt;         Environment: jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-04 rev 7101) [i386-java]
&gt;            Reporter: Martin Krauskopf
&gt;            Assignee: Charles Oliver Nutter
&gt;             Fix For: JRuby 1.1.3
&gt;
&gt;
&gt; Regression test is already available (and fails) in JRUBY-2745. For simplest scenario you may run:\\
&gt; {noformat}
&gt; $ touch other.rb # creates empty file
&gt; $ cat jira-tester.rb 
&gt; Kernel.set_trace_func(lambda do |event, file, line, id, binding, clazz|
&gt;   printf "%8s | %#{$0.length}s:%-4d | %12s | %8s\n", event, file, line, id, clazz
&gt; end)
&gt; require 'other.rb'
&gt; $ ruby jira-tester.rb 
&gt;     line | jira-tester.rb:5    |              |    false
&gt;   c-call | jira-tester.rb:5    |      require |   Kernel
&gt; c-return | jira-tester.rb:5    |      require |   Kernel
&gt; $ jruby --debug jira-tester.rb 
&gt;     line | jira-tester.rb:5    |              |    false
&gt;   c-call | jira-tester.rb:5    |      require |   Kernel
&gt; c-return | /home/emdot/ruby/tester/lib/stf/./other.rb:5    |      require |   Kernel
&gt; {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jruby] [7106] trunk/jruby/src/org/jruby: Fix for JRUBY-2753, wrong file in c-return trace from require or load.</title>
      <creator>headius@codehaus...</creator>
      <pubDate>Fri, 04 Jul 2008 11:06:54 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/20080704160654.9E54D14A8043%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/20080704160654.9E54D14A8043%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>headius@codehaus...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 11:06:54 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;&lt;style type="text/css"&gt;&lt;!--
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt;  }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; }
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt;  }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; }
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
--&gt;&lt;/style&gt;
&lt;title&gt;[jruby] [7106] trunk/jruby/src/org/jruby: Fix for JRUBY-2753, wrong file in c-return trace from require or load.&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="msg"&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href="http://fisheye.codehaus.org/changelog/jruby/?cs=7106"&gt;7106&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;headius&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2008-07-04 11:06:54 -0500 (Fri, 04 Jul 2008)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;Fix for &lt;a href="http://jira.codehaus.org/secure/ViewIssue.jspa?key=JRUBY-2753"&gt;JRUBY-2753&lt;/a&gt;, wrong file in c-return trace from require or load.&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#trunkjrubysrcorgjrubyRubyjava"&gt;trunk/jruby/src/org/jruby/Ruby.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubysrcorgjrubyruntimeThreadContextjava"&gt;trunk/jruby/src/org/jruby/runtime/ThreadContext.java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id="patch"&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id="trunkjrubysrcorgjrubyRubyjava"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/src/org/jruby/Ruby.java (7105 =&gt; 7106)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/src/org/jruby/Ruby.java	2008-07-04 16:06:49 UTC (rev 7105)
+++ trunk/jruby/src/org/jruby/Ruby.java	2008-07-04 16:06:54 UTC (rev 7106)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -257,11 +257,18 @@
&lt;/span&gt;&lt;span class="cx"&gt;         }
 
         Node node = parseInline(new ByteArrayInputStream(bytes), filename, null);
&lt;/span&gt;&lt;span class="rem"&gt;-        Frame frame = getCurrentContext().getCurrentFrame(); 
&lt;/span&gt;&lt;span class="add"&gt;+        ThreadContext context = getCurrentContext();
&lt;/span&gt;&lt;span class="cx"&gt;         
&lt;/span&gt;&lt;span class="rem"&gt;-        frame.setFile(node.getPosition().getFile());
-        frame.setLine(node.getPosition().getStartLine());
-        return runNormally(node, false);
&lt;/span&gt;&lt;span class="add"&gt;+        String oldFile = context.getFile();
+        int oldLine = context.getLine();
+        try {
+            context.setFile(node.getPosition().getFile());
+            context.setLine(node.getPosition().getStartLine());
+            return runNormally(node, false);
+        } finally {
+            context.setFile(oldFile);
+            context.setLine(oldLine);
+        }
&lt;/span&gt;&lt;span class="cx"&gt;     }
     
     /**
&lt;/span&gt;&lt;span class="lines"&gt;@@ -307,16 +314,23 @@
&lt;/span&gt;&lt;span class="cx"&gt;             new RubiniusRunner(this, inputStream, filename).run();
         } else {
             Node scriptNode = parseFromMain(inputStream, filename);
&lt;/span&gt;&lt;span class="rem"&gt;-            Frame frame = getCurrentContext().getCurrentFrame(); 
-            
-            frame.setFile(scriptNode.getPosition().getFile());
-            frame.setLine(scriptNode.getPosition().getStartLine());
&lt;/span&gt;&lt;span class="add"&gt;+            ThreadContext context = getCurrentContext();
&lt;/span&gt;&lt;span class="cx"&gt; 
&lt;/span&gt;&lt;span class="rem"&gt;-            if (config.isAssumePrinting() || config.isAssumeLoop()) {
-                runWithGetsLoop(scriptNode, config.isAssumePrinting(), config.isProcessLineEnds(),
-                        config.isSplit(), config.isYARVCompileEnabled());
-            } else {
-                runNormally(scriptNode, config.isYARVCompileEnabled());
&lt;/span&gt;&lt;span class="add"&gt;+            String oldFile = context.getFile();
+            int oldLine = context.getLine();
+            try {
+                context.setFile(scriptNode.getPosition().getFile());
+                context.setLine(scriptNode.getPosition().getStartLine());
+
+                if (config.isAssumePrinting() || config.isAssumeLoop()) {
+                    runWithGetsLoop(scriptNode, config.isAssumePrinting(), config.isProcessLineEnds(),
+                            config.isSplit(), config.isYARVCompileEnabled());
+                } else {
+                    runNormally(scriptNode, config.isYARVCompileEnabled());
+                }
+            } finally {
+                context.setFile(oldFile);
+                context.setLine(oldLine);
&lt;/span&gt;&lt;span class="cx"&gt;             }
         }
     }
&lt;/span&gt;&lt;span class="lines"&gt;@@ -2017,9 +2031,11 @@
&lt;/span&gt;&lt;span class="cx"&gt;         }
         ThreadContext context = getCurrentContext();
 
&lt;/span&gt;&lt;span class="add"&gt;+        String file = context.getFile();
&lt;/span&gt;&lt;span class="cx"&gt;         try {
             secure(4); /* should alter global state */
 
&lt;/span&gt;&lt;span class="add"&gt;+            context.setFile(scriptName);
&lt;/span&gt;&lt;span class="cx"&gt;             context.preNodeEval(objectClass, self, scriptName);
 
             parseFile(in, scriptName, null).interpret(this, context, self, Block.NULL_BLOCK);
&lt;/span&gt;&lt;span class="lines"&gt;@@ -2027,6 +2043,7 @@
&lt;/span&gt;&lt;span class="cx"&gt;             return;
         } finally {
             context.postNodeEval();
&lt;/span&gt;&lt;span class="add"&gt;+            context.setFile(file);
&lt;/span&gt;&lt;span class="cx"&gt;         }
     }
     
&lt;/span&gt;&lt;span class="lines"&gt;@@ -2039,9 +2056,11 @@
&lt;/span&gt;&lt;span class="cx"&gt;         }
         ThreadContext context = getCurrentContext();
 
&lt;/span&gt;&lt;span class="add"&gt;+        String file = context.getFile();
&lt;/span&gt;&lt;span class="cx"&gt;         try {
             secure(4); /* should alter global state */
 
&lt;/span&gt;&lt;span class="add"&gt;+            context.setFile(filename);
&lt;/span&gt;&lt;span class="cx"&gt;             context.preNodeEval(objectClass, self, filename);
             
             Node scriptNode = parseFile(in, filename, null);
&lt;/span&gt;&lt;span class="lines"&gt;@@ -2056,6 +2075,7 @@
&lt;/span&gt;&lt;span class="cx"&gt;             return;
         } finally {
             context.postNodeEval();
&lt;/span&gt;&lt;span class="add"&gt;+            context.setFile(file);
&lt;/span&gt;&lt;span class="cx"&gt;         }
     }
 
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubysrcorgjrubyruntimeThreadContextjava"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/src/org/jruby/runtime/ThreadContext.java (7105 =&gt; 7106)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/src/org/jruby/runtime/ThreadContext.java	2008-07-04 16:06:49 UTC (rev 7105)
+++ trunk/jruby/src/org/jruby/runtime/ThreadContext.java	2008-07-04 16:06:54 UTC (rev 7106)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -797,7 +797,6 @@
&lt;/span&gt;&lt;span class="cx"&gt;     }
     
     public void preNodeEval(RubyModule rubyClass, IRubyObject self, String name) {
&lt;/span&gt;&lt;span class="rem"&gt;-        setFile(name);
&lt;/span&gt;&lt;span class="cx"&gt;         pushRubyClass(rubyClass);
         pushCallFrame(null, null, self, Block.NULL_BLOCK, null);
         // set visibility to private, since toplevel of scripts always started out private
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</div>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jruby] [7105] trunk/jruby/src/org/jruby/ext/socket: Trying to improve gethostbyname output; this looks at the InetAddress type and sets AF_INET or AF_INET6 accordingly.</title>
      <creator>headius@codehaus...</creator>
      <pubDate>Fri, 04 Jul 2008 11:06:49 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/20080704160649.4132714A8043%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/20080704160649.4132714A8043%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>headius@codehaus...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 11:06:49 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;&lt;style type="text/css"&gt;&lt;!--
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt;  }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; }
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt;  }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; }
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
--&gt;&lt;/style&gt;
&lt;title&gt;[jruby] [7105] trunk/jruby/src/org/jruby/ext/socket: Trying to improve gethostbyname output; this looks at the InetAddress type and sets AF_INET or AF_INET6 accordingly.&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="msg"&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href="http://fisheye.codehaus.org/changelog/jruby/?cs=7105"&gt;7105&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;headius&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2008-07-04 11:06:49 -0500 (Fri, 04 Jul 2008)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;Trying to improve gethostbyname output; this looks at the InetAddress type and sets AF_INET or AF_INET6 accordingly.&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#trunkjrubysrcorgjrubyextsocketRubySocketjava"&gt;trunk/jruby/src/org/jruby/ext/socket/RubySocket.java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubysrcorgjrubyextsocketRubyTCPSocketjava"&gt;trunk/jruby/src/org/jruby/ext/socket/RubyTCPSocket.java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id="patch"&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id="trunkjrubysrcorgjrubyextsocketRubySocketjava"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/src/org/jruby/ext/socket/RubySocket.java (7104 =&gt; 7105)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/src/org/jruby/ext/socket/RubySocket.java	2008-07-04 16:06:40 UTC (rev 7104)
+++ trunk/jruby/src/org/jruby/ext/socket/RubySocket.java	2008-07-04 16:06:49 UTC (rev 7105)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -135,6 +135,7 @@
&lt;/span&gt;&lt;span class="cx"&gt;     public static final int PF_UNIX = 1;
     public static final int AF_INET = 2;
     public static final int PF_INET = 2;
&lt;/span&gt;&lt;span class="add"&gt;+    public static final int AF_INET6 = 30;
&lt;/span&gt;&lt;span class="cx"&gt; 
     public static final int IPPROTO_IP = 0;
     public static final int IPPROTO_ICMP = 1;
&lt;/span&gt;&lt;span class="lines"&gt;@@ -157,6 +158,7 @@
&lt;/span&gt;&lt;span class="cx"&gt;         rb_mConstants.fastSetConstant(&amp;quot;AF_UNSPEC&amp;quot;, runtime.newFixnum(AF_UNSPEC));
         rb_mConstants.fastSetConstant(&amp;quot;PF_INET&amp;quot;, runtime.newFixnum(PF_INET));
         rb_mConstants.fastSetConstant(&amp;quot;AF_INET&amp;quot;, runtime.newFixnum(AF_INET));
&lt;/span&gt;&lt;span class="add"&gt;+        rb_mConstants.fastSetConstant(&amp;quot;AF_INET6&amp;quot;, runtime.newFixnum(AF_INET6));
&lt;/span&gt;&lt;span class="cx"&gt;         // mandatory constants we haven&amp;#39;t implemented
         rb_mConstants.fastSetConstant(&amp;quot;MSG_OOB&amp;quot;, runtime.newFixnum(0x01));
         rb_mConstants.fastSetConstant(&amp;quot;SOL_SOCKET&amp;quot;, runtime.newFixnum(SOL_SOCKET));
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubysrcorgjrubyextsocketRubyTCPSocketjava"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/src/org/jruby/ext/socket/RubyTCPSocket.java (7104 =&gt; 7105)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/src/org/jruby/ext/socket/RubyTCPSocket.java	2008-07-04 16:06:40 UTC (rev 7104)
+++ trunk/jruby/src/org/jruby/ext/socket/RubyTCPSocket.java	2008-07-04 16:06:49 UTC (rev 7105)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -33,6 +33,8 @@
&lt;/span&gt;&lt;span class="cx"&gt; import java.io.IOException;
 
 import java.net.ConnectException;
&lt;/span&gt;&lt;span class="add"&gt;+import java.net.Inet4Address;
+import java.net.Inet6Address;
&lt;/span&gt;&lt;span class="cx"&gt; import java.net.InetAddress;
 import java.net.InetSocketAddress;
 import java.net.Socket;
&lt;/span&gt;&lt;span class="lines"&gt;@@ -132,11 +134,21 @@
&lt;/span&gt;&lt;span class="cx"&gt;         try {
             IRubyObject[] ret = new IRubyObject[4];
             Ruby r = recv.getRuntime();
&lt;/span&gt;&lt;span class="rem"&gt;-            InetAddress addr = InetAddress.getByName(hostname.convertToString().toString());
&lt;/span&gt;&lt;span class="add"&gt;+            InetAddress addr;
+            String hostString = hostname.convertToString().toString();
+            addr = InetAddress.getByName(hostString);
+            
&lt;/span&gt;&lt;span class="cx"&gt;             ret[0] = r.newString(addr.getCanonicalHostName());
             ret[1] = r.newArray();
&lt;/span&gt;&lt;span class="rem"&gt;-            ret[2] = r.newFixnum(2); //AF_INET
&lt;/span&gt;&lt;span class="cx"&gt;             ret[3] = r.newString(addr.getHostAddress());
&lt;/span&gt;&lt;span class="add"&gt;+            
+            if (addr instanceof Inet4Address) {
+                Inet4Address addr4 = (Inet4Address)addr;
+                ret[2] = r.newFixnum(RubySocket.AF_INET); //AF_INET
+            } else if (addr instanceof Inet6Address) {
+                Inet6Address addr6 = (Inet6Address)addr;
+                ret[2] = r.newFixnum(RubySocket.AF_INET6); //AF_INET
+            }
&lt;/span&gt;&lt;span class="cx"&gt;             return r.newArrayNoCopy(ret);
         } catch(UnknownHostException e) {
             throw sockerr(recv, &amp;quot;gethostbyname: name or service not known&amp;quot;);
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</div>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jruby] [7104] trunk/jruby/nbproject/project.xml: Fix jvyamlb reference.</title>
      <creator>headius@codehaus...</creator>
      <pubDate>Fri, 04 Jul 2008 11:06:41 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/20080704160641.46BAF14A8043%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/20080704160641.46BAF14A8043%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>headius@codehaus...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 11:06:41 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;&lt;style type="text/css"&gt;&lt;!--
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt;  }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; }
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt;  }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; }
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
--&gt;&lt;/style&gt;
&lt;title&gt;[jruby] [7104] trunk/jruby/nbproject/project.xml: Fix jvyamlb reference.&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="msg"&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href="http://fisheye.codehaus.org/changelog/jruby/?cs=7104"&gt;7104&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;headius&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2008-07-04 11:06:40 -0500 (Fri, 04 Jul 2008)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;Fix jvyamlb reference.&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#trunkjrubynbprojectprojectxml"&gt;trunk/jruby/nbproject/project.xml&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id="patch"&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id="trunkjrubynbprojectprojectxml"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/nbproject/project.xml (7103 =&gt; 7104)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/nbproject/project.xml	2008-07-04 13:53:07 UTC (rev 7103)
+++ trunk/jruby/nbproject/project.xml	2008-07-04 16:06:40 UTC (rev 7104)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -89,7 +89,7 @@
&lt;/span&gt;&lt;span class="cx"&gt;         &amp;lt;java-data xmlns=&amp;quot;http://www.netbeans.org/ns/freeform-project-java/2&amp;quot;&amp;gt;
             &amp;lt;compilation-unit&amp;gt;
                 &amp;lt;package-root&amp;gt;${src.dir}&amp;lt;/package-root&amp;gt;
&lt;/span&gt;&lt;span class="rem"&gt;-                &amp;lt;classpath mode=&amp;quot;compile&amp;quot;&amp;gt;lib/bsf.jar:build_lib/junit.jar:build_lib/jline-0.9.93.jar:build_lib/asm-3.0.jar:build_lib/asm-commons-3.0.jar:build_lib/asm-util-3.0.jar:build_lib/jna.jar:build_lib/nailgun-0.7.1.jar:build_lib/joni.jar:build_lib/joda-time-1.5.1.jar:build_lib/jna-posix.jar:build_lib/bytelist-0.1.jar:build_lib/jvyamlb-0.1.4.jar&amp;lt;/classpath&amp;gt;
&lt;/span&gt;&lt;span class="add"&gt;+                &amp;lt;classpath mode=&amp;quot;compile&amp;quot;&amp;gt;lib/bsf.jar:build_lib/junit.jar:build_lib/jline-0.9.93.jar:build_lib/asm-3.0.jar:build_lib/asm-commons-3.0.jar:build_lib/asm-util-3.0.jar:build_lib/jna.jar:build_lib/nailgun-0.7.1.jar:build_lib/joni.jar:build_lib/joda-time-1.5.1.jar:build_lib/jna-posix.jar:build_lib/bytelist-0.1.jar:build_lib/jvyamlb-0.2.jar&amp;lt;/classpath&amp;gt;
&lt;/span&gt;&lt;span class="cx"&gt;                 &amp;lt;built-to&amp;gt;${jruby.classes.dir}&amp;lt;/built-to&amp;gt;
                 &amp;lt;built-to&amp;gt;${lib.dir}/jruby.jar&amp;lt;/built-to&amp;gt;
                 &amp;lt;javadoc-built-to&amp;gt;docs/api&amp;lt;/javadoc-built-to&amp;gt;
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</div>
      </description>
    </item>
    <item>
      <title>[jruby-dev] [jira] Created: (JRUBY-2755) Precompiled scripts do not set initial position information correctly</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 10:43:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/dev/3075569.1215186207143.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/dev/3075569.1215186207143.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>dev@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 10:43:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Precompiled scripts do not set initial position information correctly
---------------------------------------------------------------------

                 Key: JRUBY-2755
                 URL: http://jira.codehaus.org/browse/JRUBY-2755
             Project: JRuby
          Issue Type: Bug
          Components: Compiler
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
             Fix For: JRuby 1.1.3


If you look at the two preNodeEval versions in ThreadContext, one takes a string filename and the other doesn't. The one that doesn't is used by the compiled loading process, and it means that stack traces happening in the root of precompiled scripts may have incorrect positioning information.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Created: (JRUBY-2755) Precompiled scripts do not set initial position information correctly</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 10:43:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/31394449.1215186207115.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/31394449.1215186207115.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 10:43:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Precompiled scripts do not set initial position information correctly
---------------------------------------------------------------------

                 Key: JRUBY-2755
                 URL: http://jira.codehaus.org/browse/JRUBY-2755
             Project: JRuby
          Issue Type: Bug
          Components: Compiler
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
             Fix For: JRuby 1.1.3


If you look at the two preNodeEval versions in ThreadContext, one takes a string filename and the other doesn't. The one that doesn't is used by the compiled loading process, and it means that stack traces happening in the root of precompiled scripts may have incorrect positioning information.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jruby] [7103] trunk/jruby: New rubyspecs, cleaned up excludes.</title>
      <creator>vvs@codehaus...</creator>
      <pubDate>Fri, 04 Jul 2008 08:53:07 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/20080704135307.EDFFD14A8043%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/20080704135307.EDFFD14A8043%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>vvs@codehaus...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 08:53:07 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;&lt;style type="text/css"&gt;&lt;!--
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt;  }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; }
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
#msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt;  }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; }
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff  {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
--&gt;&lt;/style&gt;
&lt;title&gt;[jruby] [7103] trunk/jruby: New rubyspecs, cleaned up excludes.&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="msg"&gt;
&lt;dl&gt;
&lt;dt&gt;Revision&lt;/dt&gt; &lt;dd&gt;&lt;a href="http://fisheye.codehaus.org/changelog/jruby/?cs=7103"&gt;7103&lt;/a&gt;&lt;/dd&gt;
&lt;dt&gt;Author&lt;/dt&gt; &lt;dd&gt;vvs&lt;/dd&gt;
&lt;dt&gt;Date&lt;/dt&gt; &lt;dd&gt;2008-07-04 08:53:07 -0500 (Fri, 04 Jul 2008)&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Log Message&lt;/h3&gt;
&lt;pre&gt;New rubyspecs, cleaned up excludes.

List of spec changes since the last one:
 68 files changed, 561 insertions(+), 131 deletions(-)
   5.9% 1.8/core/array/
   7.7% 1.8/core/
   5.9% 1.8/library/cgi/tagmaker/
   9.3% 1.8/library/cgi/
   8.7% 1.8/library/complex/
  17.5% 1.8/library/iconv/
  13.5% 1.8/library/rational/
   9.6% 1.8/library/singleton/
  10.4% 1.8/library/socket/socket/
   8.4% 1.8/library/&lt;/pre&gt;

&lt;h3&gt;Modified Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#trunkjrubybuildxml"&gt;trunk/jruby/build.xml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubyrubyspecsrevision"&gt;trunk/jruby/rubyspecs.revision&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubyspectagsruby18corefileopen_tagstxt"&gt;trunk/jruby/spec/tags/ruby/1.8/core/file/open_tags.txt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubyspectagsruby18corekernelcaller_tagstxt"&gt;trunk/jruby/spec/tags/ruby/1.8/core/kernel/caller_tags.txt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubyspectagsruby18coreregexpto_s_tagstxt"&gt;trunk/jruby/spec/tags/ruby/1.8/core/regexp/to_s_tags.txt&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Removed Paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#trunkjrubyspectagsruby18languagepredefined_tagstxt"&gt;trunk/jruby/spec/tags/ruby/1.8/language/predefined_tags.txt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubyspectagsruby18librarynetftpsendport_tagstxt"&gt;trunk/jruby/spec/tags/ruby/1.8/library/net/ftp/sendport_tags.txt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubyspectagsruby18librarysocketipsocketpeeraddr_tagstxt"&gt;trunk/jruby/spec/tags/ruby/1.8/library/socket/ipsocket/peeraddr_tags.txt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#trunkjrubyspectagsruby18librarysocketudpsocketsend_tagstxt"&gt;trunk/jruby/spec/tags/ruby/1.8/library/socket/udpsocket/send_tags.txt&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;div id="patch"&gt;
&lt;h3&gt;Diff&lt;/h3&gt;
&lt;a id="trunkjrubybuildxml"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/build.xml (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/build.xml	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/build.xml	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -776,10 +776,8 @@
&lt;/span&gt;&lt;span class="cx"&gt;       &amp;lt;sysproperty key=&amp;quot;jruby.launch.inproc&amp;quot; value=&amp;quot;false&amp;quot;/&amp;gt;
       
       &amp;lt;arg line=&amp;quot;${mspec.dir}/bin/mspec tag&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="rem"&gt;-      &amp;lt;arg line=&amp;quot;-t ${basedir}/bin/jruby&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="cx"&gt;       &amp;lt;arg line=&amp;quot;--add fails --fail&amp;quot;/&amp;gt;
       &amp;lt;arg line=&amp;quot;-B ${spec.dir}/default.mspec&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="rem"&gt;-      &amp;lt;arg value=&amp;quot;${rubyspec.dir}/1.8&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="cx"&gt;     &amp;lt;/java&amp;gt;
   &amp;lt;/target&amp;gt;
 
&lt;/span&gt;&lt;span class="lines"&gt;@@ -797,9 +795,8 @@
&lt;/span&gt;&lt;span class="cx"&gt;       &amp;lt;sysproperty key=&amp;quot;jruby.home&amp;quot; value=&amp;quot;${basedir}&amp;quot;/&amp;gt;
       &amp;lt;sysproperty key=&amp;quot;jruby.launch.inproc&amp;quot; value=&amp;quot;false&amp;quot;/&amp;gt;
       &amp;lt;arg line=&amp;quot;${mspec.dir}/bin/mspec&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="rem"&gt;-      &amp;lt;arg line=&amp;quot;-t ${basedir}/bin/jruby&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="cx"&gt;       &amp;lt;arg line=&amp;quot;-f s -g fails --dry-run&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="rem"&gt;-        &amp;lt;arg line=&amp;quot;-B ${spec.dir}/default.mspec&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="add"&gt;+      &amp;lt;arg line=&amp;quot;-B ${spec.dir}/default.mspec&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="cx"&gt;       &amp;lt;arg value=&amp;quot;${rubyspec.dir}/1.8&amp;quot;/&amp;gt;
     &amp;lt;/java&amp;gt;
   &amp;lt;/target&amp;gt;
&lt;/span&gt;&lt;span class="lines"&gt;@@ -834,7 +831,6 @@
&lt;/span&gt;&lt;span class="cx"&gt; 	&amp;lt;sysproperty key=&amp;quot;jruby.reflection&amp;quot; value=&amp;quot;@{reflection}&amp;quot;/&amp;gt;
 
 	&amp;lt;arg line=&amp;quot;${mspec.dir}/bin/mspec ci&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="rem"&gt;-	&amp;lt;arg value=&amp;quot;-t&amp;quot;/&amp;gt;&amp;lt;arg value=&amp;quot;${basedir}/bin/jruby&amp;quot;/&amp;gt;
&lt;/span&gt;&lt;span class="cx"&gt; 	&amp;lt;arg line=&amp;quot;-T -J-ea&amp;quot;/&amp;gt;
 	&amp;lt;arg value=&amp;quot;-f&amp;quot;/&amp;gt;&amp;lt;arg value=&amp;quot;m&amp;quot;/&amp;gt;
 	&amp;lt;extra-args/&amp;gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubyrubyspecsrevision"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/rubyspecs.revision (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/rubyspecs.revision	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/rubyspecs.revision	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -3,4 +3,4 @@
&lt;/span&gt;&lt;span class="cx"&gt; 
 mspec.revision=c85d72da4a6ac74910d80f7a2d2ea40828f67788
 
&lt;/span&gt;&lt;span class="rem"&gt;-rubyspecs.revision=474d6a9bdbe2ed6c203889d9ce7070d981d470a3
&lt;/span&gt;&lt;span class="add"&gt;+rubyspecs.revision=6b604690042086700a714c14c9dc50abd6b66119
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubyspectagsruby18corefileopen_tagstxt"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/spec/tags/ruby/1.8/core/file/open_tags.txt (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/spec/tags/ruby/1.8/core/file/open_tags.txt	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/spec/tags/ruby/1.8/core/file/open_tags.txt	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -1,2 +1 @@
&lt;/span&gt;&lt;span class="cx"&gt; fails:File.open opens a file that no exists when use File::NOCTTY mode
&lt;/span&gt;&lt;span class="rem"&gt;-fails:File.open raises an Errno::EACCES when opening non-permitted file
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubyspectagsruby18corekernelcaller_tagstxt"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/spec/tags/ruby/1.8/core/kernel/caller_tags.txt (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/spec/tags/ruby/1.8/core/kernel/caller_tags.txt	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/spec/tags/ruby/1.8/core/kernel/caller_tags.txt	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -1,6 +1,3 @@
&lt;/span&gt;&lt;span class="cx"&gt; fails(JRUBY-2651):Kernel#caller in a Proc or eval returns the definition trace of a block when evaluated in a Proc binding
 fails(JRUBY-2651):Kernel#caller in a Proc or eval returns the definition trace of a Proc
 fails(JRUBY-2651):Kernel#caller in a Proc or eval returns the correct definition line for a complex Proc trace
&lt;/span&gt;&lt;span class="rem"&gt;-fails(JRUBY-2651):Kernel#caller in a Proc or eval begins with (eval) for caller(0) in eval
-fails(JRUBY-2651):Kernel#caller in a Proc or eval begins with the eval&amp;#39;s sender&amp;#39;s sender for caller(1) in eval
-fails(JRUBY-2651):Kernel#caller in a Proc or eval shows the current line in the calling block twice when evaled
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubyspectagsruby18coreregexpto_s_tagstxt"&gt;&lt;/a&gt;
&lt;div class="modfile"&gt;&lt;h4&gt;Modified: trunk/jruby/spec/tags/ruby/1.8/core/regexp/to_s_tags.txt (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/spec/tags/ruby/1.8/core/regexp/to_s_tags.txt	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/spec/tags/ruby/1.8/core/regexp/to_s_tags.txt	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -1 +1,2 @@
&lt;/span&gt;&lt;span class="cx"&gt; fails(JRUBY-2683):Regexp#to_s returns a string in (?xxx:yyy) notation
&lt;/span&gt;&lt;span class="add"&gt;+fails(JRUBY-2683):Regexp#to_s handles abusive option groups
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubyspectagsruby18languagepredefined_tagstxt"&gt;&lt;/a&gt;
&lt;div class="delfile"&gt;&lt;h4&gt;Deleted: trunk/jruby/spec/tags/ruby/1.8/language/predefined_tags.txt (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/spec/tags/ruby/1.8/language/predefined_tags.txt	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/spec/tags/ruby/1.8/language/predefined_tags.txt	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -1,3 +0,0 @@
&lt;/span&gt;&lt;span class="rem"&gt;-fails(JRUBY-2452):Predefined global $~ is set at the method-scoped level rather than block-scoped
-fails(JRUBY-2452):Predefined global $_ is set to the last line read by e.g. StringIO#gets
-fails(JRUBY-2452):Predefined global $_ is set at the method-scoped level rather than block-scoped
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubyspectagsruby18librarynetftpsendport_tagstxt"&gt;&lt;/a&gt;
&lt;div class="delfile"&gt;&lt;h4&gt;Deleted: trunk/jruby/spec/tags/ruby/1.8/library/net/ftp/sendport_tags.txt (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/spec/tags/ruby/1.8/library/net/ftp/sendport_tags.txt	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/spec/tags/ruby/1.8/library/net/ftp/sendport_tags.txt	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -1 +0,0 @@
&lt;/span&gt;&lt;span class="rem"&gt;-fails(TBD):Net::FTP#sendport when using IPv4 sends a HOST-PORT specification for the passed host and port using the PORT command
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubyspectagsruby18librarysocketipsocketpeeraddr_tagstxt"&gt;&lt;/a&gt;
&lt;div class="delfile"&gt;&lt;h4&gt;Deleted: trunk/jruby/spec/tags/ruby/1.8/library/socket/ipsocket/peeraddr_tags.txt (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/spec/tags/ruby/1.8/library/socket/ipsocket/peeraddr_tags.txt	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/spec/tags/ruby/1.8/library/socket/ipsocket/peeraddr_tags.txt	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -1 +0,0 @@
&lt;/span&gt;&lt;span class="rem"&gt;-fails(JRUBY-2738):Socket::IPSocket#peeraddr raises error if socket is not connected
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;a id="trunkjrubyspectagsruby18librarysocketudpsocketsend_tagstxt"&gt;&lt;/a&gt;
&lt;div class="delfile"&gt;&lt;h4&gt;Deleted: trunk/jruby/spec/tags/ruby/1.8/library/socket/udpsocket/send_tags.txt (7102 =&gt; 7103)&lt;/h4&gt;
&lt;pre class="diff"&gt;
&lt;span class="info"&gt;--- trunk/jruby/spec/tags/ruby/1.8/library/socket/udpsocket/send_tags.txt	2008-07-04 11:23:07 UTC (rev 7102)
+++ trunk/jruby/spec/tags/ruby/1.8/library/socket/udpsocket/send_tags.txt	2008-07-04 13:53:07 UTC (rev 7103)
&lt;/span&gt;&lt;span class="lines"&gt;@@ -1,2 +0,0 @@
&lt;/span&gt;&lt;span class="rem"&gt;-fails(RBX-421):UDPSocket.send sends data in ad hoc mode
-fails(RBX-421):UDPSocket.send sends data in connection mode
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</div>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Commented: (JRUBY-2683) Regexp#to_s behaves differently than MRI 1.8 or MRI 1.9</title>
      <creator>Vladimir Sizikov (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 08:31:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/31334986.1215178287019.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/31334986.1215178287019.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Vladimir Sizikov (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 08:31:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
    [ http://jira.codehaus.org/browse/JRUBY-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=140626#action_140626 ] 

Vladimir Sizikov commented on JRUBY-2683:
-----------------------------------------

A second rubyspec failure caused by the same thing:

{noformat}
Regexp#to_s handles abusive option groups FAILED
Expected "(?-mix:(?mmmmix-miiiix:))"
 to equal "(?-mix:)"

/opt/work/mspec.git/lib/mspec/expectations/expectations.rb:10:in `fail_with'
/opt/work/mspec.git/lib/mspec/matchers/base.rb:9:in `=='
/opt/work/rubyspec.git/./1.8/core/regexp/to_s_spec.rb:47
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:130:in `instance_eval'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:130:in `protect'
/opt/work/mspec.git/lib/mspec/runner/state.rb:46:in `each'
/opt/work/mspec.git/lib/mspec/runner/state.rb:46:in `protect'
/opt/work/mspec.git/lib/mspec/runner/state.rb:60:in `process'
/opt/work/mspec.git/lib/mspec/runner/state.rb:56:in `each'
/opt/work/mspec.git/lib/mspec/runner/state.rb:56:in `process'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:27:in `describe'
/opt/work/mspec.git/lib/mspec/runner/object.rb:11:in `describe'
/opt/work/rubyspec.git/./1.8/core/regexp/to_s_spec.rb:3
/opt/work/rubyspec.git/./1.8/core/regexp/to_s_spec.rb:48:in `load'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:48:in `files'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:130:in `instance_eval'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:130:in `protect'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:48:in `files'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:42:in `each'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:42:in `files'
/opt/work/mspec.git/lib/mspec/runner/mspec.rb:34:in `process'
/opt/work/mspec.git/lib/mspec/commands/mspec-tag.rb:82:in `run'
/opt/work/mspec.git/lib/mspec/utils/script.rb:85:in `main'
/opt/work/mspec.git/bin/mspec-tag:8
{noformat}

&gt; Regexp#to_s behaves differently than MRI 1.8 or MRI 1.9
&gt; -------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2683
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2683
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Core Classes/Modules
&gt;    Affects Versions: JRuby 1.1.2
&gt;         Environment: Latest JRuby
&gt;            Reporter: Vladimir Sizikov
&gt;            Assignee: Marcin Mielzynski
&gt;             Fix For: JRuby 1.1.3
&gt;
&gt;
&gt; JRuby fails the following rubyspec: /(?:.)/.to_s.should == "(?-mix:.)"
&gt; See also http://rubyspec.org/issues/show/24
&gt; {noformat}
&gt; mspec -t j spec/ruby/1.8/core/regexp/to_s_spec.rb
&gt; F
&gt; 1)
&gt; Regexp#to_s returns a string in (?xxx:yyy) notation FAILED
&gt; Expected "(?-mix:(?:.))"
&gt;  to equal "(?-mix:.)"
&gt; /opt/work/mspec.git/lib/mspec/expectations/expectations.rb:10:in `fail_with'
&gt; /opt/work/mspec.git/lib/mspec/matchers/base.rb:9:in `=='
&gt; /opt/work/./spec/ruby/1.8/core/regexp/to_s_spec.rb:9
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:124:in `instance_eval'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:124:in `protect'
&gt; /opt/work/mspec.git/lib/mspec/runner/state.rb:46:in `each'
&gt; /opt/work/mspec.git/lib/mspec/runner/state.rb:46:in `protect'
&gt; /opt/work/mspec.git/lib/mspec/runner/state.rb:60:in `process'
&gt; /opt/work/mspec.git/lib/mspec/runner/state.rb:56:in `each'
&gt; /opt/work/mspec.git/lib/mspec/runner/state.rb:56:in `process'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:28:in `describe'
&gt; /opt/work/mspec.git/lib/mspec/runner/object.rb:11:in `describe'
&gt; /opt/work/./spec/ruby/1.8/core/regexp/to_s_spec.rb:3
&gt; /opt/work/./spec/ruby/1.8/core/regexp/to_s_spec.rb:49:in `load'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:49:in `files'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:124:in `instance_eval'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:124:in `protect'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:49:in `files'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:43:in `each'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:43:in `files'
&gt; /opt/work/mspec.git/lib/mspec/runner/mspec.rb:35:in `process'
&gt; /opt/work/mspec.git/lib/mspec/commands/mspec-run.rb:76:in `run'
&gt; /opt/work/mspec.git/lib/mspec/utils/script.rb:75:in `main'
&gt; /opt/work/mspec.git/bin/mspec-run:8
&gt; Finished in 0.079000 seconds
&gt; 1 file, 1 example, 5 expectations, 1 failure, 0 errors
&gt; {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Commented: (JRUBY-2621) Something in ruby_parser is too long to compile, but doesn't get broken apart correctly</title>
      <creator>Charles Oliver Nutter (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 08:28:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/913753.1215178107046.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/913753.1215178107046.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 08:28:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
    [ http://jira.codehaus.org/browse/JRUBY-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=140625#action_140625 ] 

Charles Oliver Nutter commented on JRUBY-2621:
----------------------------------------------

I discovered what the problem was with ruby_parser...it's the main script. It initializes a number of seriously gigantic arrays for the Ruby parser productions. I think there are several of these arrays that would fail to compile *individually*, much less all of them as the body of a method. And because they're gigantic, they can't easily be split into multiple methods.

This should generally affect only +C compilation since it's in the root of the script. But it's something to look out for in the future. I'll leave this open to try to explore any way possible to compile this script. Toughy though.

&gt; Something in ruby_parser is too long to compile, but doesn't get broken apart correctly
&gt; ---------------------------------------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2621
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2621
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Compiler
&gt;            Reporter: Charles Oliver Nutter
&gt;            Assignee: Charles Oliver Nutter
&gt;             Fix For: JRuby 1.1.3
&gt;
&gt;
&gt; This will obviously affect performance of ruby_parser quite a bit:
&gt; {noformat}
&gt; ~/NetBeansProjects/jruby &amp;#10132; jruby -J-Djruby.jit.logging.verbose=true -X+C --server -rubygems -rbenchmark -e "gem :ruby_parser; require 'ruby_parser'; 5.times {puts Benchmark.measure {RubyParser.new.parse(File.read('lib/ruby/1.8/rdoc/parsers/parse_rb.rb'))}}"
&gt; could not compile: /Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/ruby_parser-1.0.0/lib/ruby_parser.rb because of: "Invalid method Code length 82165 in class file ruby/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/$1_dot_8/gems/ruby_parser_minus_1_dot_0_dot_0/lib/ruby_parser"
&gt; java.lang.ClassFormatError: Invalid method Code length 82165 in class file ruby/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/$1_dot_8/gems/ruby_parser_minus_1_dot_0_dot_0/lib/ruby_parser
&gt; 	at java.lang.ClassLoader.defineClass1(Native Method)
&gt; 	at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
&gt; 	at org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:21)
&gt; 	at org.jruby.compiler.impl.StandardASMCompiler.loadClass(StandardASMCompiler.java:159)
&gt; 	at org.jruby.Ruby.tryCompile(Ruby.java:464)
&gt; 	at org.jruby.Ruby.compileAndLoadFile(Ruby.java:2041)
&gt; 	at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:56)
&gt; 	at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:320)
&gt; 	at org.jruby.runtime.load.LoadService.require(LoadService.java:346)
&gt; 	at org.jruby.RubyKernel.require(RubyKernel.java:769)
&gt; {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Updated: (JRUBY-2754) YAML is not properly loading object references</title>
      <creator>David Corbin (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 07:42:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/16119087.1215175346889.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/16119087.1215175346889.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>David Corbin (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 07:42:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
     [ http://jira.codehaus.org/browse/JRUBY-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Corbin updated JRUBY-2754:
--------------------------------

    Attachment:     (was: Bug.rb)

&gt; YAML is not properly loading object references
&gt; ----------------------------------------------
&gt;
&gt;                 Key: JRUBY-2754
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2754
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Miscellaneous
&gt;    Affects Versions: JRuby 1.1.1, JRuby 1.1.2
&gt;         Environment: Linux, JDK1.5, though I don't know that it matters.
&gt;            Reporter: David Corbin
&gt;         Attachments: Bug.rb
&gt;
&gt;
&gt; When YAML file with object references is loaded, they're not resolve to the same instance of the object.
&gt; The attachment is small demonstrations. It raises in JRuby, but not in Ruby.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Updated: (JRUBY-2754) YAML is not properly loading object references</title>
      <creator>David Corbin (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 07:40:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/3799516.1215175226934.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/3799516.1215175226934.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>David Corbin (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 07:40:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
     [ http://jira.codehaus.org/browse/JRUBY-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Corbin updated JRUBY-2754:
--------------------------------

    Attachment: Bug.rb

Here is a much smaller and simpler script to demonstrate the problem.



&gt; YAML is not properly loading object references
&gt; ----------------------------------------------
&gt;
&gt;                 Key: JRUBY-2754
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2754
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Miscellaneous
&gt;    Affects Versions: JRuby 1.1.1, JRuby 1.1.2
&gt;         Environment: Linux, JDK1.5, though I don't know that it matters.
&gt;            Reporter: David Corbin
&gt;         Attachments: Bug.rb, Bug.rb
&gt;
&gt;
&gt; When YAML file with object references is loaded, they're not resolve to the same instance of the object.
&gt; The attachment is small demonstrations. It raises in JRuby, but not in Ruby.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-dev] [jira] Created: (JRUBY-2754) YAML is not properly loading object references</title>
      <creator>David Corbin (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 07:33:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/dev/14498982.1215174806879.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/dev/14498982.1215174806879.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>dev@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>David Corbin (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 07:33:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>YAML is not properly loading object references
----------------------------------------------

                 Key: JRUBY-2754
                 URL: http://jira.codehaus.org/browse/JRUBY-2754
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.1.2, JRuby 1.1.1
         Environment: Linux, JDK1.5, though I don't know that it matters.
            Reporter: David Corbin
         Attachments: Bug.rb

When YAML file with object references is loaded, they're not resolve to the same instance of the object.

The attachment is small demonstrations. It raises in JRuby, but not in Ruby.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Created: (JRUBY-2754) YAML is not properly loading object references</title>
      <creator>David Corbin (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 07:33:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/17935024.1215174806859.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/17935024.1215174806859.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>David Corbin (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 07:33:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>YAML is not properly loading object references
----------------------------------------------

                 Key: JRUBY-2754
                 URL: http://jira.codehaus.org/browse/JRUBY-2754
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.1.2, JRuby 1.1.1
         Environment: Linux, JDK1.5, though I don't know that it matters.
            Reporter: David Corbin
         Attachments: Bug.rb

When YAML file with object references is loaded, they're not resolve to the same instance of the object.

The attachment is small demonstrations. It raises in JRuby, but not in Ruby.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-dev] [jira] Created: (JRUBY-2753) c-return passes different 'file' then c-call for load and require</title>
      <creator>Martin Krauskopf (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 06:57:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/dev/21510090.1215172647764.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/dev/21510090.1215172647764.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>dev@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Martin Krauskopf (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 06:57:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>c-return passes different 'file' then c-call for load and require
-----------------------------------------------------------------

                 Key: JRUBY-2753
                 URL: http://jira.codehaus.org/browse/JRUBY-2753
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.1.2, JRuby 1.1.3
         Environment: jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-04 rev 7101) [i386-java]
            Reporter: Martin Krauskopf


Regression test is already available (and fails) in JRUBY-2745. For simplest scenario you may run:\\

{noformat}
$ touch other.rb # creates empty file
$ cat jira-tester.rb 
Kernel.set_trace_func(lambda do |event, file, line, id, binding, clazz|
  printf "%8s | %#{$0.length}s:%-4d | %12s | %8s\n", event, file, line, id, clazz
end)

require 'other.rb'
$ ruby jira-tester.rb 
    line | jira-tester.rb:5    |              |    false
  c-call | jira-tester.rb:5    |      require |   Kernel
c-return | jira-tester.rb:5    |      require |   Kernel
$ jruby --debug jira-tester.rb 
    line | jira-tester.rb:5    |              |    false
  c-call | jira-tester.rb:5    |      require |   Kernel
c-return | /home/emdot/ruby/tester/lib/stf/./other.rb:5    |      require |   Kernel
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Created: (JRUBY-2753) c-return passes different 'file' then c-call for load and require</title>
      <creator>Martin Krauskopf (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 06:57:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/20800355.1215172647737.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/20800355.1215172647737.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Martin Krauskopf (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 06:57:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>c-return passes different 'file' then c-call for load and require
-----------------------------------------------------------------

                 Key: JRUBY-2753
                 URL: http://jira.codehaus.org/browse/JRUBY-2753
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.1.2, JRuby 1.1.3
         Environment: jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-04 rev 7101) [i386-java]
            Reporter: Martin Krauskopf


Regression test is already available (and fails) in JRUBY-2745. For simplest scenario you may run:\\

{noformat}
$ touch other.rb # creates empty file
$ cat jira-tester.rb 
Kernel.set_trace_func(lambda do |event, file, line, id, binding, clazz|
  printf "%8s | %#{$0.length}s:%-4d | %12s | %8s\n", event, file, line, id, clazz
end)

require 'other.rb'
$ ruby jira-tester.rb 
    line | jira-tester.rb:5    |              |    false
  c-call | jira-tester.rb:5    |      require |   Kernel
c-return | jira-tester.rb:5    |      require |   Kernel
$ jruby --debug jira-tester.rb 
    line | jira-tester.rb:5    |              |    false
  c-call | jira-tester.rb:5    |      require |   Kernel
c-return | /home/emdot/ruby/tester/lib/stf/./other.rb:5    |      require |   Kernel
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
    <item>
      <title>[jruby-scm] [jira] Commented: (JRUBY-2722) Interpreter passes absolute path to the EventHook for 'require'ed files</title>
      <creator>Martin Krauskopf (JIRA) (jira@codehaus...)</creator>
      <pubDate>Fri, 04 Jul 2008 06:37:27 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/scm/5328136.1215171447623.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/scm/5328136.1215171447623.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>scm@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Martin Krauskopf (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Jul 04 06:37:27 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>
    [ http://jira.codehaus.org/browse/JRUBY-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=140619#action_140619 ] 

Martin Krauskopf commented on JRUBY-2722:
-----------------------------------------

Tom, the test attached here might be ignored, if JRUBY-2745 is integrated. There is already (failing) 'test_require_trace_full_paths' included.

&gt; Interpreter passes absolute path to the EventHook for 'require'ed files
&gt; -----------------------------------------------------------------------
&gt;
&gt;                 Key: JRUBY-2722
&gt;                 URL: http://jira.codehaus.org/browse/JRUBY-2722
&gt;             Project: JRuby
&gt;          Issue Type: Bug
&gt;          Components: Parser
&gt;    Affects Versions: JRuby 1.1.2
&gt;         Environment: Trunk rev. 7052.
&gt;            Reporter: Martin Krauskopf
&gt;            Assignee: Thomas E Enebo
&gt;             Fix For: JRuby 1.1.3
&gt;
&gt;         Attachments: test_trace_func.rb.patch
&gt;
&gt;
&gt; Influence debugger-like tools. Apply the attached test case and run:
&gt;   {{./bin/jruby --debug test/test_trace_func.rb}}
&gt; Likely commenting-out other test then {{test_require_trace}} before.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

&lt;hr/&gt;
&lt;p&gt;
To unsubscribe from this list please visit:
&lt;/p&gt;
&lt;p&gt;
    &lt;a href="http://xircles.codehaus.org/manage_email"&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;


</pre>
      </description>
    </item>
  </channel>
</rss>
