Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: method newEncoding in class RubyEncoding cannot be applied to given types #2481

Closed
SebastianEdwards opened this issue Jan 19, 2015 · 1 comment

Comments

@SebastianEdwards
Copy link

ext/java/org/msgpack/jruby/Encoder.java:195: error: method newEncoding in class RubyEncoding cannot be applied to given types;
      object = (RubyString) ((RubyString) object).encode(runtime.getCurrentContext(), RubyEncoding.newEncoding(runtime, utf8Encoding));
                                                                                                  ^
  required: Ruby,byte[],int,int,boolean
  found: Ruby,Encoding
  reason: actual and formal argument lists differ in length

See: https://travis-ci.org/msgpack/msgpack-ruby/jobs/47236877

@enebo enebo added this to the Non-Release milestone Jul 15, 2015
@enebo
Copy link
Member

enebo commented Jul 15, 2015

@SebastianEdwards I see you corrected this API change in msgpack so I am going to close this here. During 9k point releases we plan on introducing new API for both 1.7.x and 9k (and only deprecate what we have today) so that you will have a clear path for our next major release long in advance.

@enebo enebo closed this as completed Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants