Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
completed refactoring of check code fixes for BYTEMAN-190

Added ability to store info messages to RuleCheckResult

Tweaked class RuleCheck so that it will stream messages to a

printstream as well as collect them in theits RuleCheckResult

Modified TestScript class -- the one used by bmcheck -- so that it

delegates to class RuleCheck

Replaced RuleCheck.isOk() with RuleCheck.hasErrors() to be in keeping

with hasWarnings() and modified TestRuleCheck and RuleCheckMojo to use

this method to test the result.

Made TestRuleCheck print warnings as well as errors so we see at build

time which rules in the test rule set have warnigns against them.

  1. … 4 more files in changeset.
moved script checker code into common package and renamed maven checker jar

  1. … 12 more files in changeset.
Test case code for BYTEMAN-236

n.b. this test is not run from the test suite as the related issue has

not yet been resolved

    • -0
    • +43
    ./auxiliary/TestAnonAuxiliary.java
    • -0
    • +73
    ./bugfixes/TestAnonClassCompile.java
  1. … 1 more file in changeset.
BYTEMAN-190 update to add rule check api and rulecheck-maven-plugin

    • -0
    • +72
    ./api/TestRuleCheck.java
  1. … 11 more files in changeset.
corrected error in stack max computation for method expressions -- fixes BYTEMAN-232

    • -0
    • +66
    ./bugfixes/TestMaxStackComputation.java
  1. … 4 more files in changeset.
added support for downcasting in local var initialisation in BBIND clauses - fixes BYTEMAN-225

    • -0
    • +72
    ./misc/TestDowncast.java
  1. … 5 more files in changeset.
new files for fix to BYTEMAN-219

    • -7
    • +63
    ./bugfixes/TestAbstractInterfaceCall.java
  1. … 3 more files in changeset.
added test case for

fixed problem with method compilation where it was planting an

invokevirtual where invokeinterface was needed

fixes for BYTEMAN-219

    • -0
    • +11
    ./bugfixes/TestAbstractInterfaceCall.java
  1. … 1 more file in changeset.
fixed BYTEMAN-210

implemented support for array length accesses i.e. expressions of the

form arrayExpression.length

modified the type checker so AssignableExpressions know whether they

are type checkign as an LVALUE or RVALUE -- this i sneeded to ensure

attempts to update arrayExpression.length are rejected with a type

error

modifed the grammar so that array indexed terms can appear as the target

of a field dereference without needing bracketing

extended the test case in TestArray to check that array length

accesses are ok. the test case does not include an example where

arrayExpression.length is used as an LVALUE because this just throws

an exception but this was checked manually.

  1. … 12 more files in changeset.
upgraded method param name test to include reference to local variable as well as method params

  1. … 1 more file in changeset.
corrected expected output

fix for BYTEMAN-205 c/o James Livingstone's patch -- slightly modified

    • -0
    • +40
    ./helpers/TestThread.java
  1. … 2 more files in changeset.
modified test to make it easier to keep test in sync with line numbers in stack trace -- fixes for BYTEMAN-204

    • -17
    • +19
    ./helpertests/TestStackTrace.java
fixed BYTEMAN-202 -- added bit shift operators plus test case

  1. … 11 more files in changeset.
corrected year in copyright notice

  1. … 1 more file in changeset.
corrected trigger code generatin to use return type of called method for manipualting returned values in AFTER CALL rules and added test case -- fixes BYTEMAN-186

    • -0
    • +80
    ./bugfixes/TestAfterCallAssign.java
  1. … 3 more files in changeset.
modified throw action so that an Error can be thrown, added test case and updated docs -- fixes BYTEMAN-175

    • -0
    • +62
    ./bugfixes/TestThrowError.java
  1. … 5 more files in changeset.
fixed BYTEMAN-173 and added test case

    • -0
    • +62
    ./bugfixes/TestThrowRuntimeException.java
  1. … 3 more files in changeset.
fixed BYTEMAN-173 and added test case

    • -0
    • +62
    ./bugfixes/TestThrowRuntimeException.java
  1. … 3 more files in changeset.
reorganized code and mavenized the build

    • -0
    • +0
    ./auxiliary/TestCallThrowSynchAuxiliary.java
    • -0
    • +0
    ./auxiliary/TestEntryExitAuxiliary.java
    • -0
    • +0
    ./auxiliary/TestEntryExitAuxiliarySub.java
    • -0
    • +0
    ./auxiliary/TestFieldMethodAuxiliary.java
    • -0
    • +0
    ./auxiliary/TestReadWriteAuxiliary.java
  1. … 478 more files in changeset.