Giter VIP home page Giter VIP logo

Comments (2)

sylvain-prevost avatar sylvain-prevost commented on September 26, 2024

Based on the error message, it seems like it could stem from java version incompatibility.
On my system I see the 'illegal access java.lang.ClassLoader.defineClass' problem, but it is reported as a warning.. not an error (along with ominous message: WARNING: All illegal access operations will be denied in a future release).

Here is the version that I currently use for this project:

Windows 11

java --version
openjdk 11.0.16.1 2022-08-12 LTS
OpenJDK Runtime Environment Microsoft-40648 (build 11.0.16.1+1-LTS)
OpenJDK 64-Bit Server VM Microsoft-40648 (build 11.0.16.1+1-LTS, mixed mode)

I used to run it on Win10 but I do not have this env anymore so I can't tell you which Java version I was using at the time.
(in theory the OS should not matter - acknowledging that in practice it is not always the case).

If you can use the same Java version as I, maybe it'll help.


generate_test_classes.cmd

SET OUTPUT_DIR=.\org\bn\coders\test_asn

mkdir .\org\bn\coders\test_asn

call ..\bncompiler\bnc.cmd -mp ..\cs_xsl_modules -o .\org\bn\coders\test_asn -ns test.org.bn.coders.test_asn -f test.asn
BinaryNotes compiler v1.5.3
(c) 2006-2011 Abdulla G. Abdurakhmanov
Current directory: [edited-out]\BinaryNotes\Tests
Compiling file: test.asn
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/[edited-out]/BinaryNotes/bncompiler/bnc.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

from binarynotes.net.

patrickdoodyIRL avatar patrickdoodyIRL commented on September 26, 2024

Thank you Sylvain!

from binarynotes.net.

Related Issues (2)

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.