cadixdev / bombe Goto Github PK
View Code? Open in Web Editor NEWA model of Java types, as per the JVMS specification.
License: BSD 3-Clause "New" or "Revised" License
A model of Java types, as per the JVMS specification.
License: BSD 3-Clause "New" or "Revised" License
Currently, JarEntryRemappingTransformer uses the full path of class files to map their names. This works fine for normal jars where the class name is relative to the jar root, but does not work for multi-release jars where the class name is relative to the META-INF/versions/<n>/
directory.
The actual fix for this should be fairly straightforward, but for other API users it would be nice to integrate some of that handling into the JarClassEntry
API (exposing whether a class is a multi-release variant, and a way to get/set the class name no matter how it is located).
If a consumer calls TypeReader#readObjectType()
directly - they may inadvertantly read a malformed input.
public ObjectType readObjectType() {
final int start = this.index();
this.advance();
while (this.available() && this.peek() != ';') {
this.advance();
}
if (this.peek() != ';') throw new IllegalStateException("Incomplete descriptor provided!");
this.advance();
return new ObjectType(this.substring(start + 1, this.index() - 1));
}
There is no validation that the first character is L
- therefore any character could be in its place. This is not a problem with readType()
or readFieldType()
as they will only pass onto readObjectType()
in the circumstance that the check that needs be introduced here is done.
readObjectType()
with the input Cjava/lang/String;
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.