-
Notifications
You must be signed in to change notification settings - Fork 31
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
jnew-runtime-class fails with constructor exception #685
Comments
Tried oracle java 21, and adoptium 17, same result. |
Hmmm, it seems to work for me
I also tried this under openjdk17. The method which cannot be found is being elided by the default printing length of Java Strings. Can you try setting
and report the results? |
Thanks for answer. But unfortunately is the same. Tried abcl 1.9.2 and 1.6.1, same result.
Is windows as you can see. |
Oh I guess you wanted to see the whole error that's why |
I managed to replicate your problem: it seems to be a bug in ABCL in bootstrapping its dependencies in a way that I don't quite understand. As a workaround, issue a
to initialize the dependencies before attempting to use Lemme know if this works for ya, please… |
Yep it works now. Thanks a lot. 👍 Btw it seems to work without including abcl-contrib.jar. Am I supposed to include this jar in classpath? |
ABCL has a strategy to locate and load The error you encountered probably has do something with ABCL internal autoloader dependencies not being declared correctly. I haven't explicitly found the problem. I just guessed that the |
Alright gotcha. Thanks for the help. Feel free to close issue, although it looks like you want to use it for tracking the underlying issue. |
Invoking JNEW-RUNTIME-CLASS before a JavaClassLoader has been instantiated will fail with a slightly mysterious error message, which can be fixed by providing a more general constructor. Fixes <armedbear#685>
Invoking JNEW-RUNTIME-CLASS before a JavaClassLoader has been instantiated will fail with a slightly mysterious error message, which can be fixed by providing a more general constructor. Fixes <armedbear#685>
Invoking JNEW-RUNTIME-CLASS before a JavaClassLoader has been instantiated will fail with a slightly mysterious error message, which can be fixed by providing a more general constructor. Fixes <#685>
Can reproduce with
Running it twice makes it work |
If I try to run just the smallest version of jnew-runtime-class, it doesn't work:
What's going on?
The text was updated successfully, but these errors were encountered: