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

Nashorn can't complete test suite #40

Open
lance opened this issue Jun 11, 2014 · 0 comments
Open

Nashorn can't complete test suite #40

lance opened this issue Jun 11, 2014 · 0 comments

Comments

@lance
Copy link
Contributor

lance commented Jun 11, 2014

Nashorn considers JavaThing#op(String arg) and JavaThing#op(CharSequence arg) to be ambiguous. I think this is probably a bug in nashorn, since it should at least not fail. However tests begin failing with error messages like:

SEVERE: Exception in Nashorn JavaScript verticle
java.lang.RuntimeException: java.lang.NoSuchMethodException: Can't unambiguously select between fixed arity signatures [(java.lang.String, java.lang.String), (java.lang.CharSequence, java.lang.CharSequence)] of the method org.vertx.java.core.http.impl.HttpHeadersAdapter.set for argument types [java.lang.String, jdk.nashorn.internal.runtime.ConsString]
at org.vertx.java.core.Handler$$NashornJavaAdapter.handle(Unknown Source)
at org.vertx.java.core.http.impl.DefaultHttpServer$4$1.run(DefaultHttpServer.java:250)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant