Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
moved everything to package org.jboss.byteman and udpated all documents, scripts and other names to refer Byteman

    • -132
    • +0
    ./ConditionalEvalExpression.java
  1. … 226 more files in changeset.
major reworking of trigger injection code to deal with complications when triggers are inserted inside synchronized blocks -- includes revision of test code

  1. … 29 more files in changeset.
added tests for field operations and fixed various compilation bugs turned up by running those tests

  1. … 14 more files in changeset.
added tests for logical operations, fixed bug in parsing/type checking ?= operator and modified parser/typechecker to display file and line number for offending expressions when parse or type errors occur

  1. … 22 more files in changeset.
added tests of java arithmetic operations to tests dir and fixed bugs found by them

  1. … 6 more files in changeset.
added support for local variable references in rules and added initial set of unit tests which check that location specifiers work oky -- all tests pass except the one for AT THROW which fails because of an error in counting throws added due to the presence of synchronized blocks

  1. … 49 more files in changeset.
fixed some errors in the compiler

  1. … 1 more file in changeset.
included first cut of rule compilation -- enabled by setting property org.jboss.jbossts.orchestration.compileToBytecode

  1. … 18 more files in changeset.
modified rule language to allow plug-in capability for the helper class which defines the rule language built-ins. added compiler class which specialises the helper to provide a rule interpreter specific to the built-in associated with any given rule

  1. … 19 more files in changeset.
Fixed problem where defaulting of location type (AT ENTRY) caused null pointer exception

Fixed bug in type helper which was stopping method names with empty

signatures (e.g. get() or foo.get()) being recognised.

Corrected problem in tokenizer/parser where terms like $0.foo() where

not being recognised because the characters 0. were being tokenised as

a float. Tokenizer now identifies $<integer_literal> or $<identifier>

as a single token rather than applying $ as a unary prefix operator to

the next term.

Added option to switch on debug trace in CUP parser by setting System

property org.jboss.jbossts.orchestration.rule.debug. To make this work

properly this required:

Modified parser to use class PrintableSymbol` instead of Symbol.

Provided an implementation of PrintableSymbol which prints the symbol

name and associated value rather than just a numeric idx.

Specialised parser debug print routines called by debug_parse so that

they stop printing symbol numeric idxs and rely on the toString method

to print the symbol.

  1. … 10 more files in changeset.
added a new parser which should accept most Java syntax and does nifty stuff like operator precedence. also fixed a few bugs

    • -135
    • +193
    ./ComparisonExpression.java
    • -0
    • +75
    ./MinusExpression.java
  1. … 41 more files in changeset.
added copyright notices to sources and user guide and updated version/date on the latter

  1. … 49 more files in changeset.
fixed NPE caused when trigger method had a null exceptions list (doh). also reorganized type check code so all rule elements are created with a reference to the rule, giving them automatic access to the bindings and type group and obviating the need to pas these as parameters to bind() and typecheck()

  1. … 18 more files in changeset.
allowed throw expression in actions for exceptions in the trigger method throws list or runtime exceptions

    • -0
    • +234
    ./ThrowExpression.java
  1. … 12 more files in changeset.
added return expression as a rule action allowing a return from the triggering method at the point of the trigger call

    • -0
    • +111
    ./ReturnExpression.java
  1. … 12 more files in changeset.
switched to using test rule scripts instead of annotations. added more rules to test scenario to improve readability and clean up. enabled comments in scripts using # prefix

    • -0
    • +59
    ./BooleanLiteral.java
  1. … 15 more files in changeset.
fixed error in typing static fields, modified line number display and patched example rules to reference final static integer field constants by name rather than specify numeric values

  1. … 2 more files in changeset.
added extra rules to test scenario to trace transaction replay and patched type checker/interpreter to fix errors uncovered by those rules

  1. … 7 more files in changeset.
first working version of rule triggering and rule execution (via interpretation)

  1. … 40 more files in changeset.
partial build of test orchestration tool -- still missing rule type checker and code generator

    • -0
    • +15
    ./ArithmeticExpression.java
    • -0
    • +55
    ./ArrayExpression.java
    • -0
    • +55
    ./BinaryOperExpression.java
    • -0
    • +17
    ./BitExpression.java
    • -0
    • +15
    ./BooleanExpression.java
    • -0
    • +15
    ./ComparisonExpression.java
    • -0
    • +15
    ./ConditionalEvalExpression.java
    • -0
    • +72
    ./DollarExpression.java
    • -0
    • +470
    ./ExpressionHelper.java
    • -0
    • +59
    ./FieldExpression.java
    • -0
    • +15
    ./LogicalExpression.java
    • -0
    • +45
    ./MethodExpression.java
    • -0
    • +14
    ./NotExpression.java
    • -0
    • +93
    ./NumericLiteral.java
  1. … 35 more files in changeset.