Comments (3)
I've confirmed this issue as well with lang-dynjs. It looks like a compiler issue with dynjs.
Starting test: src/test/resources/deploy|deploy_test.js|testDeployWithConfig
Exception in thread "JITBasicBlockCompiler-2" java.lang.ClassCastException: org.dynjs.gen.Then1 cannot be cast to org.dynjs.runtime.BasicBlock
at org.dynjs.compiler.bytecode.BytecodeBasicBlockCompiler.compile(BytecodeBasicBlockCompiler.java:97)
at org.dynjs.compiler.jit.JITBasicBlockCompiler.jitCompile(JITBasicBlockCompiler.java:56)
at org.dynjs.compiler.jit.JITBasicBlockCompiler.access$000(JITBasicBlockCompiler.java:20)
at org.dynjs.compiler.jit.JITBasicBlockCompiler$CompileRequest.run(JITBasicBlockCompiler.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "JITBasicBlockCompiler-1" java.lang.ClassCastException: org.dynjs.gen.FunctionBody0 cannot be cast to org.dynjs.runtime.BasicBlock
at org.dynjs.compiler.bytecode.BytecodeBasicBlockCompiler.compile(BytecodeBasicBlockCompiler.java:97)
at org.dynjs.compiler.jit.JITBasicBlockCompiler.jitCompile(JITBasicBlockCompiler.java:56)
at org.dynjs.compiler.jit.JITBasicBlockCompiler.access$000(JITBasicBlockCompiler.java:20)
at org.dynjs.compiler.jit.JITBasicBlockCompiler$CompileRequest.run(JITBasicBlockCompiler.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
from nodyn.
And now, with the latest changes to dynjs, we get this: https://gist.github.com/lance/e7b859a5bbc7f3646469 when updating to beta4
from nodyn.
This appears to have been a problem related to classloader changes in vert.x beta4. Those changes have been adjusted in vert.x beta6 and things are better now.
from nodyn.
Related Issues (20)
- Cannot subclass Array HOT 2
- mvn install hangs on test failure HOT 2
- ES6 Features (generators) HOT 2
- Build fails on Open JDK 1.8
- Error with programmatic code
- Static files with express doesn't work
- Invoke Java APIs from Nodyn HOT 3
- fs.readFileSync won't read files >512kb HOT 2
- Nodyn unable to initialize when using https module
- fs.writeFile hangs on Windows
- Scripts loaded from .jar file
- Node version support HOT 1
- java.nio.BufferOverflowException during fs.readFileSync() HOT 1
- Support process.hrtime()
- Does not work on windows HOT 3
- vertx example does not work... not found in any repositories HOT 1
- Java code should not ex.printStackTrace()
- Broken Links on JBoss.org HOT 8
- Nodyn should maintain process.cwd separate from System.getProperty(user.dir) HOT 1
- Programmatic instructions for gae HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodyn.