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

jvm target not work. #8

Open
sonygod opened this issue Jan 9, 2021 · 4 comments
Open

jvm target not work. #8

sonygod opened this issue Jan 9, 2021 · 4 comments

Comments

@sonygod
Copy link

sonygod commented Jan 9, 2021

jvm target not work.

@jeremyfa
Copy link
Owner

jeremyfa commented Jan 9, 2021

Hi, thanks for the issue report!

Unfortunately my current focus is on other projects at the moment so I won’t fix that anytime soon, but I will review Pull Request if anybody want to fix that himself

@jeremyfa
Copy link
Owner

jeremyfa commented Jan 9, 2021

In addition, please elaborate about what doesn’t work. Do you have a compile error to share?

@sonygod
Copy link
Author

sonygod commented Jan 11, 2021

./sample/interpretable/WatchedClass.hx:29: Just printing something from sample.interpretable.WatchedClass.printSomething() sample.interpretable.WatchedClass$Closure___init___0.invoke (./sample/interpretable/WatchedClass.hx) interpret.InterpretableTools.createInterpretClass (./interpret/InterpretableTools.hx) interpret.DynamicModule.fromString (./interpret/DynamicModule.hx) [error] java.lang.ExceptionInInitializerError

change WatchedClass code at runtime it throw this error.

@sonygod
Copy link
Author

sonygod commented Jan 12, 2021

env.addModule(extendingClassPath, DynamicModule.fromString(env, extendingClassName, content, { interpretableOnly: true, interpretableOriginalContent: originalContent, allowUnresolvedImports: true, extendingClassName: extendingClassName, extendedClassName: className }));

it's seem here was wrong .don't support DynamicModule.fromString

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

2 participants