Skip to content

Instantly share code, notes, and snippets.

@headius
Created March 5, 2021 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/13324fcf3b4ada1985eac7262388e77c to your computer and use it in GitHub Desktop.
Save headius/13324fcf3b4ada1985eac7262388e77c to your computer and use it in GitHub Desktop.
============================================================================================================================================================================================================================================
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
267: rescue Errno::EACCES => e
268: # Permission denied - bind(2) for nil port 42
269: assert_equal 'Permission denied - bind(2) for nil port 42', e.message
=> 270: else; fail 'not raised'
271: end unless WINDOWS # MRI (on Windows) returns 0
272:
273: #begin
/Users/headius/projects/jruby/test/jruby/test_socket.rb:270:in `test_udp_socket_bind'
Error: test_udp_socket_bind(SocketTest): RuntimeError: not raised
============================================================================================================================================================================================================================================
.........test_collect_concurrency : Detected invalid array contents due to unsynchronized modifications with concurrent users
test_collect_concurrency : Detected invalid array contents due to unsynchronized modifications with concurrent users
test_collect_concurrency : Detected invalid array contents due to unsynchronized modifications with concurrent users
test_collect_concurrency : Detected invalid array contents due to unsynchronized modifications with concurrent users
................................./Users/headius/projects/jruby/test/jruby/test_backtraces.rb:22: warning: constant ::NativeException is deprecated
./Users/headius/projects/jruby/test/jruby/test_backtraces.rb:59: warning: constant ::NativeException is deprecated
...................................................................../Users/headius/projects/jruby/test/jruby/test_comparable.rb:101: warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
./Users/headius/projects/jruby/test/jruby/test_comparable.rb:133: warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
...........null:1: warning: possibly useless use of + in void context
................................................................................................................
............................................................................................................................................................................................................................calling java_import on a non-Module object is deprecated
.........E
============================================================================================================================================================================================================================================
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
1363: ci = org.jruby.javasupport.test.ConsumeInterfaces.new
1364: ci.addInterface1(A.new)
1365: ci.addInterface1(B.new)
=> 1366: ci.addInterface2(B.new)
1367: ci.addInterface1(C.new)
1368: ci.addInterface2(C.new)
1369:
/Users/headius/projects/jruby/test/jruby/test_higher_javasupport.rb:1366:in `test_interface_methods_seen'
Error: test_interface_methods_seen(TestHigherJavasupport): TypeError: failed to coerce rubyobj.TestHigherJavasupport.A to org.jruby.javasupport.test.Interface2
============================================================================================================================================================================================================================================
============================================================================================================================================================================================================================================
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
1400: assert_equal('boo!', LCTestB.new.boo)
1401: ci.addInterface1(LCTestA.new)
1402: ci.addInterface1(LCTestB.new)
=> 1403: ci.addInterface2(LCTestB.new)
1404: end
1405:
1406: def test_marsal_java_object_fails
/Users/headius/projects/jruby/test/jruby/test_higher_javasupport.rb:1403:in `test_lowercase_colon_package_syntax'
Error: test_lowercase_colon_package_syntax(TestHigherJavasupport): TypeError: failed to coerce rubyobj.TestHigherJavasupport.LCTestA to org.jruby.javasupport.test.Interface2
============================================================================================================================================================================================================================================
.....................................................E
============================================================================================================================================================================================================================================
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
200: end
201:
202: def test_varargs_constructor_in_ruby_subclass
=> 203: var_args = RubyVarArgsCtor1.new 'foo', 'bar'
204: assert_equal 'foo', var_args.constants[0]
205: assert_equal 'bar', var_args.constants[1]
206:
/Users/headius/projects/jruby/test/jruby/test_higher_javasupport.rb:203:in `test_varargs_constructor_in_ruby_subclass'
/Users/headius/projects/jruby/test/jruby/test_higher_javasupport.rb:203:in `initialize'
Error: test_varargs_constructor_in_ruby_subclass(TestHigherJavasupport): ArgumentError: Constructor invocation failed: (TypeError) cannot convert instance of class org.jruby.RubyString to class [Ljava.lang.String;
============================================================================================================================================================================================================================================
.E
============================================================================================================================================================================================================================================
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
org/jruby/RubyKernel.java:1229:in `catch'
org/jruby/RubyKernel.java:1234:in `catch'
252: assert_equal 'foo', var_args.constants[0]
253: assert_equal 'bar', var_args.constants[1]
254:
=> 255: var_args = RubyVarArgsOnlyCtor2.new
256: var_args.setConstants 'foo', 'bar' # (String, String)
257: assert_equal 'foo', var_args.constants[0]
258: assert_equal 'bar', var_args.constants[1]
/Users/headius/projects/jruby/test/jruby/test_higher_javasupport.rb:255:in `test_varargs_overloaded_method'
Error: test_varargs_overloaded_method(TestHigherJavasupport): ArgumentError: Constructor invocation failed: java.lang.reflect.InvocationTargetException
============================================================================================================================================================================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment