sable / jasmin Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Error 404
Hi,
I'd like to integrate Jasmin in a Maven project but the jar isn't available in the Maven central repository. Could you please upload it there?
Thank you
Is there any editor or editor plugin that supports coding in jasmin?
thanks.
Hi,
Tested with OpenJDK 8 and the Soot package 3.3.0 and 3.2.0 available on maven repositories.
When I was calling the flush() method of JasminOutputStream in Soot it throws some Exceptions.
java.lang.ExceptionInInitializerError at soot.util.JasminOutputStream.flush(JasminOutputStream.java)
I found that it was in fact an issue in the jasmin.Main.<clinit>
initializer (at the static level).
When looking at the code I think there can be an issue with this simple line :
public final static String version = Main.class.getPackage().getImplementationVersion() == null ? "trunk" : Main.class.getPackage().getImplementationVersion();
.
In fact according to the Java 8 spec getPackage() can return null in some specific cases. That explains why i get this NullPointerException at the loading phase of jasmin.Main.
A simple fix is to check if getPackage() is null before using it.
Also note that this behaviour will not happen on Java 9+, but I don't think this is relevant for now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.