1. 23 Sep, 2017 6 commits
  2. 21 Sep, 2017 1 commit
  3. 17 Sep, 2017 2 commits
  4. 16 Sep, 2017 5 commits
    • Eric Bruneton's avatar
      Upgrade to JUnit4. · 235a5e32
      Eric Bruneton authored
    • Eric Bruneton's avatar
      Tweak the access modifiers. · 40f01cc0
      Eric Bruneton authored
    • Eric Bruneton's avatar
    • Eric Bruneton's avatar
      Add precompiled test case classes (and their source code). · f71084ef
      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's avatar
      Add a ClassDump utility to compare Java classes in unit tests. · 3e8cc21e
      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).
  5. 09 Sep, 2017 5 commits
  6. 08 Sep, 2017 4 commits
  7. 07 Sep, 2017 6 commits
  8. 06 Sep, 2017 5 commits
  9. 05 Sep, 2017 2 commits
    • Eric Bruneton's avatar
      Fix the computation of the Label.DEBUG flag. · aa6ca893
      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's avatar
  10. 03 Sep, 2017 2 commits
  11. 02 Sep, 2017 2 commits