Giter VIP home page Giter VIP logo

Comments (3)

lance avatar lance commented on July 25, 2024

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.

lance avatar lance commented on July 25, 2024

And now, with the latest changes to dynjs, we get this: https://gist.github.com/lance/e7b859a5bbc7f3646469 when updating to beta4

from nodyn.

lance avatar lance commented on July 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.