- 23 Sep, 2017 6 commits
-
-
Remi Forax authored
-
Eric Bruneton authored
Add a ClassDump utility to compare Java classes in unit tests. See merge request !8
-
Eric Bruneton authored
-
Eric Bruneton authored
Add precompiled test case classes (and their source code). See merge request !9
-
Eric Bruneton authored
Upgrade to JUnit4. See merge request !10
-
Eric Bruneton authored
AALOAD should give null when the input array is null. See merge request !11
-
- 21 Sep, 2017 1 commit
-
-
Eric Bruneton authored
-
- 17 Sep, 2017 2 commits
-
-
Remi Forax authored
constant pool entry is not the right one
-
Eric Bruneton authored
-
- 16 Sep, 2017 5 commits
-
-
Eric Bruneton authored
-
Eric Bruneton authored
-
Eric Bruneton authored
-
Eric Bruneton authored
These precompiled classes will be used, in later commits, to replace the existing tests based on rt.jar (which depends on the test environment and is no longer available in JDK9).
-
Eric Bruneton authored
Currently the conformance tests use ASM to make assertions about itself (via the ClassReader and TraceClassVisitor classes, used to compare classes before and after some transformation). This circular dependency makes some bugs impossible to detect (for instance, bugs where ClassReader silently ignores some parts of a class). This new class will be used to replace ClassReader+TraceClassVisitor as a mean of comparing classes at a slightly higher level than bytes (to abstract away non-essential differences such as the order of the elements in the constant pool, in attributes, etc). This new class is much simpler than ClassReader and much closer to the Java Virtual Machine Specification, in order to get a high confidence in its correctness (which is important since it will serve as a basis to check the correctness of ASM).
-
- 09 Sep, 2017 5 commits
-
-
Remi Forax authored
improve the doc comment of ModuleVisitor See merge request !7
-
Remi Forax authored
-
Remi Forax authored
-
Remi Forax authored
MINIMAL_VALUE_TYPE Conflicts: build.properties
-
Remi Forax authored
FindBugs: typo in the code that check if a module is declared open See merge request !6
-
- 08 Sep, 2017 4 commits
-
-
Remi Forax authored
-
Remi Forax authored
-
Remi Forax authored
The copyright header is missing on top of ModuleInfoBndPlugin.java See merge request !5
-
Remi Forax authored
only)
-
- 07 Sep, 2017 6 commits
-
-
Remi Forax authored
-
Eric Bruneton authored
Remove the optimizer and the asm-all and asm-debug-all jars. See merge request !3
-
Eric Bruneton authored
Fix the handling of inner classes with EXPAND_ASM_INSNS. See merge request !4
-
Eric Bruneton authored
-
Eric Bruneton authored
Resetting the inner class data structures so that they are rebuilt when revisiting the code with a ClassReader does not work, due to the code in visitInnerClass to avoid duplicate entries in this table (based on state stored in the constant pool entries, which are not reset). In fact, thanks to this code to avoid duplicate entries, we can skip resetting the inner class data structures here, and be assured that they will not change when revisiting the class with a ClassReader.
-
Eric Bruneton authored
Add a check for the class version and format code. Also don't output a class if it fails verification.
-
- 06 Sep, 2017 5 commits
-
-
Remi Forax authored
-
Remi Forax authored
MethodType and ldc MethodHandle
-
Eric Bruneton authored
The jar size is no longer an issue for the vast majority of the ASM users, unlike the lack of debug info in the default jars. This changes keeps the debug info in the default jars by removing the optimizer. The asm-debug-all jars is then no longer necessary, and is thus removed. Similarly, maintaining compatibility with the JDK 1.3 is no longer necessary (it is unsupported since a long time). Instead, this change uses the JDK 1.5 as the new baseline. This is now striclty enforced (the build will fail if a more recent API is used internally), for all jars (previously different jars were using different baseline APIs).
-
Eric Bruneton authored
Fix the computation of the Label.DEBUG flag. See merge request !2
-
Eric Bruneton authored
-
- 05 Sep, 2017 2 commits
-
-
Eric Bruneton authored
The current code can incorrectly classify a Label as "used only for debug", which can yield incorrect stack map offsets due to skipped labels in MethodWriter.visitLabel (see bug #317791). This happens when a label is found for the first time in a debug attribute (it is then flagged as DEBUG), and then appears again in a stack map frame (these labels are extracted after those from the debug attributes, during the bytecode parsing, but the DEBUG flag, if present, is not removed then). The fix consists in removing the DEBUG flag, if present, when creating or reusing a label for non-debug attributes.
-
Remi Forax authored
-
- 03 Sep, 2017 2 commits
-
-
Remi Forax authored
Update the V1_9 constant name to follow http://openjdk.java.net/jeps/223 See merge request !1
-
-
- 02 Sep, 2017 2 commits
-
-
Remi Forax authored
-
Eric Bruneton authored
-