Better error for JRuby command-line args passed to ng server. #819
Merge remote-tracking branch 'github/master' into better_nailgun_server_error
provide a pass through of the java error for easier debugging when jars actually exist but a name error manifests anyways
address linux kernel 2.6 call convention error on 32 bit platforms
fix spinning indefinitely on partial TLS record (issue #1280)
correct visibility of initialize* and respond_to_missing? methods
fix ld scripts on FreeBSD

another part of the regex used in MRI ffi was also missing
Isolate arity and args from successive calls to Proc#curry.

Fixes #1523.
Avoid creating singleton classes during Proc#curry logic.
Fix infinite loop on bad regexp syntax plus normalize a little closer to MRI ripper impl
Un-exclude test
Fix regression in #1075.

Fiber started to get GCed and shut down, but then woke up and
tried to yield. If a fiber yielding control has its own queue
shut down, allow exception to propagate normally.
Mask 1.9-only spec.
Merge remote-tracking branch 'origin/jruby-1_7'

Conflicts:
	test/externals/ruby1.9/excludes/TestRipper/ParserEvents.rb
[IR] Renamed INTERPRET_SCRIPT --> INTERPRET_ROOT to get it into backtraces

* Discovered that MRI test runner had broken because Kernel#caller
  was returning []. Traced this to the fact that backtrace generation
  was skipping INTERPRET_SCRIPT since it was not present in filtered
  list of Interpreter frame types in FrameType.java.

* Perhaps this test case should be added to rubyspecs to verify that
  output is not an empty array.

def foo
  caller
end
p foo
[Truffle] Remove debug message.
[IR] Bug fix in IRBuilder restoring $!

* With the following ruby snippet, the original exception
  raised in "foo" never reached the top-level because the return
  in foo's rescue handler didn't restore "$!". Discovered that
  IR building wasn't restoring them properly.

* Discovered by running MRI test on test_whileuntil.rb -- the exception
  is still being lost there, so more digging to be done.

---------------
def foo
  raise "test exception 1 in foo"
rescue Exception => e
  return "foo: caught #{e}"
end

def bar
  begin
    raise "test exception 2 in bar"
  ensure
    p foo
  end
end

begin
  bar
rescue Exception => e
  p "top: caught #{e}"
end
---------------
[IR] Continuation of fix around save/restore of $!

* Unclear why I was setting $! to nil if the scope didn't have
  any ensure/rescue blocks. Seems quite buggy.

* This introduces an additional rubyspec failure -- to be investigated.

* However, this is the right fix and ensures that the following snippet
  runs correctly. Now, test/mri/ruby/test_whileuntil.rb runs and
  generates the right exception trace on completion.

-----------------------------
def foo
  str = ""
  begin
    raise "test exception 1 in foo"
  rescue Exception => e
    str = "foo: caught #{e}"
  end
  return str
end

def bar
  begin
    raise "test exception 2 in bar"
  ensure
    p foo
  end
end

begin
  bar
rescue Exception => e
  p "top: caught #{e}"
end
-----------------------------
[IR] IRBuilder fix: Don't clobber variable that receive arguments.

* There were known FIXMEs around ToAryInstr overwriting variables
  into which incoming arguments were received. This manifested in
  a bug where "super" needed access to the incoming args, but had
  been clobbered.

* test/mri/ruby/test_whileuntil.rb now runs without errors.

* With the bug, for the following snippet, C::foo would output [2]
  for b instead of 2

----------------
class C
  def foo(a,b,d=nil)
    p "C:foo a:#{a}; b:#{b}; d:#{d}"
  end
end

class D < C
  def foo(a,(b,c),d=nil)
    p "D:foo a:#{a}; b:#{b}"
    super
  end
end

D.new.foo(1,2)
----------------
[Truffle] - Renaming class CallNode -> RubyCallNode

Truffle already has a class named CallNode - to avoid confusion
between the truffle class and JRuby/Truffle class.