Byteman

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Defined System property org.jboss.jbossts.orchestration.verbose which can be set on the JVM command line (using -D) to enable display of trace messages generated by the rule agent and the rule execution engine.

Modified transformer to cache the value of thsis flag at bootstrap and

made all current verbose output from the agent and execution engine

conditional upon the flag being set.

Fixed problem which led to NullPointerException when rule location was

defaulted to AT ENTRY (location object attached to rule was null)

Fixed problem with AT ENTRY and AT LINE locations whcih caused a

NullPointerException when generating the transformed bytecode for a

constructor method (trigger call was nto being generated which caused

the bytecode writer to trip up on a catch block with no start and end

labels)

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.

more typos

more typos

added example use of return and throw

added missing class name

added missing class name

updated to document AND operator

updated to correctname for debug method

updated to note that the agent now only excludes java.lang and orchestraton package classes

corrected a few details int the README

corrected a few details int the README

allowed transfomer to insert rules in any code other than java.lang classes -- it used to only allow rules to be added to org.jboss or com.arjuna code

updated README to include new locatoj specs and refer to copyright file

modified scripts so they no longer rley on line numbers

    • -30
    • +18
    /dd/scripts/HeuristicSaveAndRecover.txt
    • -30
    • +17
    /dd/scripts/HeuristicSaveAndRecover10.txt
modified manual to include new location type specifiers

adding copyright file as mentioned in headers

modified to allow various extra specifiers for where to place the trigger point besides (AT) LINE

    • -0
    • +43
    /src/org/jboss/jbossts/orchestration/agent/Script.java
  1. … 5 more files in changeset.
removed redundant methdos and constructors

minor changes to programmers guide and updated pdf to match

removed redundant annotation classes and relocated parser/typechecker test class

    • -134
    • +0
    /src/org/jboss/jbossts/test/HandlerClass.java
corrected an error in the line number checking which was placing the trigger call after the specified line rather than at it

updated line numbers after modifying XTS code (these scripts really need to move into the XTS tree :-)

    • -3
    • +3
    /dd/scripts/HeuristicSaveAndRecover.txt
    • -3
    • +3
    /dd/scripts/HeuristicSaveAndRecover10.txt
added configuraton of transformed class dumping via system properties

added a new parser which should accept most Java syntax and does nifty stuff like operator precedence. also fixed a few bugs

    • -0
    • +417
    /dd/grammar/cup/ECAGrammar.cup
    • -0
    • +264
    /dd/grammar/flex/ECAToken.flex
  1. … 41 more files in changeset.
version of heuristic recover script for 1.0 code (use 1.0 JaxRPC based demo to run) plus 1.0 and 1.1 scripts for two-JVM participant recovery test which can also be run using the demos

    • -2
    • +3
    /dd/scripts/HeuristicSaveAndRecover.txt
    • -0
    • +247
    /dd/scripts/HeuristicSaveAndRecover10.txt
    • -0
    • +181
    /dd/scripts/ParticipantCrashAndRecover.txt
    • -0
    • +179
    /dd/scripts/ParticipantCrashAndRecover10.txt
patched errors in wait/signal code including renaming signal method to signalWake to avoid conflicts with Object.signal

added copyright notices to sources and user guide and updated version/date on the latter

    • -0
    • +21
    /dd/scripts/HeuristicSaveAndRecover.txt
  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.
removing cruft