<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>mozilla.dev.tech.js-engine.rhino Google Group</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino</link>
  <description></description>
  <language>en</language>
  <item>
  <title>Delegator and StackOverflowError</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/f5b3a2b004c61f4f/c4b025490730b887?show_docid=c4b025490730b887</link>
  <description>
  Hi, &lt;br&gt; I tried to use Delegator class to implement some functionality on variable &lt;br&gt; assignment. I have my object that implements Scriptable and would like to &lt;br&gt; call additional functionality when instances of this objects are assigned to &lt;br&gt; variable. Here is a part of my JUnit test for this class. &lt;br&gt; final Context context = ContextFactory.getGlobal().ent erContext();
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/f5b3a2b004c61f4f/c4b025490730b887?show_docid=c4b025490730b887</guid>
  <author>
  jpa...@gmail.com
  (Jarosław Pałka)
  </author>
  <pubDate>Wed, 06 Jan 2010 13:36:48 UT
</pubDate>
  </item>
  <item>
  <title>Ast FunctionNode types</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/ceb09539cb068e20/e218de5cbc4c4942?show_docid=e218de5cbc4c4942</link>
  <description>
  What classifies in AST package (if it makes a difference) as a &lt;br&gt; FUNCTION_EXPRESSION vs FUNCTION_STATEMENT vs &lt;br&gt; FUNCTION_EXPRESSION_STATEMENT? I have a list here on various function &lt;br&gt; statements. &lt;br&gt; function foo() {} &lt;br&gt; foo = function() {} &lt;br&gt; foo = new function() {} &lt;br&gt; foo : function() {} &lt;br&gt; What would these be classified? Also would it make a difference if
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/ceb09539cb068e20/e218de5cbc4c4942?show_docid=e218de5cbc4c4942</guid>
  <author>
  neoalch...@gmail.com
  (NeoAlchemy)
  </author>
  <pubDate>Wed, 06 Jan 2010 06:42:01 UT
</pubDate>
  </item>
  <item>
  <title>org.mozilla.javascript.EcmaError: ReferenceError: &quot;ByteString&quot; is not defined.</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/bd47b3a9d497dd76/e624e79ecdaea4f6?show_docid=e624e79ecdaea4f6</link>
  <description>
  when exec js in java got the errors ,wonder why got such error and how to solve them &lt;br&gt; thanks! &lt;br&gt; --- &lt;br&gt; frmsrcurl: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://mozilla-xp.com/mozilla.dev.tech.js-engine.rhino/&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/bd47b3a9d497dd76/e624e79ecdaea4f6?show_docid=e624e79ecdaea4f6</guid>
  <author>
  u...@mozilla-xp.com/
  (terry)
  </author>
  <pubDate>Tue, 05 Jan 2010 06:35:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/8406993ef93b1ebe?show_docid=8406993ef93b1ebe</link>
  <description>
  Wow, this is a bit deeper than I thought. Thanks for the details. What&#39;s &lt;br&gt; your opinion of this: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://mxr.mozilla.org/mozilla/source/js/rhino/examples/DynamicScopes.java&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Is this an implementation of what you consider problematic/challenging or is &lt;br&gt; this something different?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/8406993ef93b1ebe?show_docid=8406993ef93b1ebe</guid>
  <author>
  da...@6degrees.com
  (Daryl Stultz)
  </author>
  <pubDate>Mon, 04 Jan 2010 18:16:12 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/73463bc81f43af0f?show_docid=73463bc81f43af0f</link>
  <description>
  Normally, it doesn&#39;t. I myself have a system that uses this approach that churns over a million script executions per day and encounters no problems. The problem is, you&#39;ll hardly be able to completely lock down the shared scope - while you can not easily put anything into it, you can, say, have one script extend or replace functions of standard objects (i.e. Array.push = function() { ... } - you get the idea) and have it be observed by all others. You can, of course, go through the full reachable JS object graph in the shared scope by recursively calling getIds() and then call ScriptableObject.seal() on every one of them.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/73463bc81f43af0f?show_docid=73463bc81f43af0f</guid>
  <author>
  szege...@gmail.com
  (Attila Szegedi)
  </author>
  <pubDate>Mon, 04 Jan 2010 18:01:14 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/58588756b5693f54?show_docid=58588756b5693f54</link>
  <description>
  There could be some further separation of scope-independent data (basically, the MemberBox objects obtained through reflection, i.e. actual java.lang.reflect.* objects) and scope-dependent data (JavaMembers instances). &lt;br&gt; Yes, ClassCache attached to a scope is on purpose since it has the Class-&amp;gt;JavaMembers map. JavaMembers has a bunch of NativeJavaMethod instances, which are JavaScript functions (they extend BaseFunction), and as such need to answer true to &amp;quot;instanceof Function&amp;quot;, hence they are scope specific, as they bind their prototype to the object returned by the expression &amp;quot;Function.prototype&amp;quot; in that scope.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/58588756b5693f54?show_docid=58588756b5693f54</guid>
  <author>
  szege...@gmail.com
  (Attila Szegedi)
  </author>
  <pubDate>Mon, 04 Jan 2010 17:47:35 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/f4fda793a88575cb?show_docid=f4fda793a88575cb</link>
  <description>
  it could do it (doesnt do it) &lt;br&gt; At least not the code i look at currently (still using 1.6R7) &lt;br&gt; But then if we cache that reflection in a static weakhashmap&amp;lt;Class,xxxx&amp;gt; &lt;br&gt; we could just not get it from the top level scope ClassCache but directly &lt;br&gt; internally so what JavaMembers do have a private static &lt;br&gt; WeakHashmap&amp;lt;Class,JavaMembers&amp;gt; member...
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/f4fda793a88575cb?show_docid=f4fda793a88575cb</guid>
  <author>
  jcompag...@gmail.com
  (Johan Compagner)
  </author>
  <pubDate>Mon, 04 Jan 2010 16:07:19 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/57acf27fa3276682?show_docid=57acf27fa3276682</link>
  <description>
  This page: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://developer.mozilla.org/En/Rhino_documentation/Scopes_and_Contexts&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; under &amp;quot;Sharing Scopes&amp;quot; states &amp;quot;for our purposes it gives us an easy way to &lt;br&gt; share a set of read-only variables across multiple scopes&amp;quot;. Is this section &lt;br&gt; describing the &amp;quot;shared-prototype top-level scope pattern&amp;quot; you dislike? Your
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/57acf27fa3276682?show_docid=57acf27fa3276682</guid>
  <author>
  da...@6degrees.com
  (Daryl Stultz)
  </author>
  <pubDate>Mon, 04 Jan 2010 16:07:03 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/639b858772f3e324?show_docid=639b858772f3e324</link>
  <description>
  Could it, should it, does it? Is this a feature/implementation request?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/639b858772f3e324?show_docid=639b858772f3e324</guid>
  <author>
  da...@6degrees.com
  (Daryl Stultz)
  </author>
  <pubDate>Mon, 04 Jan 2010 16:02:30 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/29d48e6b7a96bd1c?show_docid=29d48e6b7a96bd1c</link>
  <description>
  the thing is that JavaMembers could cache the reflect stuff inside itself in &lt;br&gt; a WeakHashmap &lt;br&gt; So that it doesnt have to do the reflection over and over again. &lt;br&gt; Then it should not matter if there is a ClassCache or not.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/29d48e6b7a96bd1c?show_docid=29d48e6b7a96bd1c</guid>
  <author>
  jcompag...@gmail.com
  (Johan Compagner)
  </author>
  <pubDate>Mon, 04 Jan 2010 15:38:36 UT
</pubDate>
  </item>
  <item>
  <title>Re: Status and Future of Rhino</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/56b44cffad7b3e3b/f98ca15278efde6f?show_docid=f98ca15278efde6f</link>
  <description>
  Norris, &lt;br&gt; Thanks for the update. Are these latest features available in the CVS &lt;br&gt; repository? &lt;br&gt; Thanks, &lt;br&gt; Travis
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/56b44cffad7b3e3b/f98ca15278efde6f?show_docid=f98ca15278efde6f</guid>
  <author>
  travis.en...@gmail.com
  (Travis Ennis)
  </author>
  <pubDate>Mon, 04 Jan 2010 15:34:07 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/3d60856b2c74bdb5?show_docid=3d60856b2c74bdb5</link>
  <description>
  Thanks, Attila, this is good information I&#39;ll file away until I get the time &lt;br&gt; to address performance.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/3d60856b2c74bdb5?show_docid=3d60856b2c74bdb5</guid>
  <author>
  da...@6degrees.com
  (Daryl Stultz)
  </author>
  <pubDate>Mon, 04 Jan 2010 14:03:41 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/28ca1cbb7a819fd3?show_docid=28ca1cbb7a819fd3</link>
  <description>
  Caching is performed once per class and top-level scope, and results stored in an instance of ClassCache that is associated with the topmost scope. &lt;br&gt; As an implication, if you use a new top-level scope for every script execution (which you normally do), you&#39;ll end up with the cache being recreated on a per-scope basis. If you use a shared-prototype top-level scope, you&#39;ll avoid this (but then you have to use shared-prototype top-level scope pattern, which I generally dislike).
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/28ca1cbb7a819fd3?show_docid=28ca1cbb7a819fd3</guid>
  <author>
  szege...@gmail.com
  (Attila Szegedi)
  </author>
  <pubDate>Mon, 04 Jan 2010 13:54:17 UT
</pubDate>
  </item>
  <item>
  <title>Re: Caching wrapped objects in custom WrapFactory</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/96205ac65aaf7792?show_docid=96205ac65aaf7792</link>
  <description>
  My concern was not memory use but the expense of method lookups via &lt;br&gt; reflection. I imagine Rhino does a lot of caching of the lookups, then?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/e2990409ddd7248f/96205ac65aaf7792?show_docid=96205ac65aaf7792</guid>
  <author>
  da...@6degrees.com
  (Daryl Stultz)
  </author>
  <pubDate>Mon, 04 Jan 2010 13:19:32 UT
</pubDate>
  </item>
  <item>
  <title>Re: JSON.parse() problem</title>
  <link>http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/efbe638cabd8cfda/598e07fdc8f33027?show_docid=598e07fdc8f33027</link>
  <description>
  Works great. &lt;br&gt; Thank you Raphael and Norris for the very prompt response! &lt;br&gt; -Christian
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/efbe638cabd8cfda/598e07fdc8f33027?show_docid=598e07fdc8f33027</guid>
  <author>
  christian.gri...@nexthink.com
  (Christian Grigis)
  </author>
  <pubDate>Mon, 04 Jan 2010 13:32:17 UT
</pubDate>
  </item>
  </channel>
</rss>
