Byteman

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #35 from mrietveld/pr-asciidoc

BYTEMAN-300 - Convert documentation to AsciiDoc

Use return type to filter candidate method implentations -- fixes BYTEMAN-310

Fixing this required a cleanup of the way BIND declaration types are

propagated through to the type checker as the expected type for the

associated initializer expression. In particular, it allows the

declaration type to be resolved in many cases where it is mentioned

without its package qualifier.

interpreter must rebox when initializer requires numeric conversion -- part of fix for BYTEMAN-316

when a numeric result is used to initialize a numeric BIND var

the initializaton may require a numeric type conversion. the

interpreter works only in the boxed realm so in such cases it

needs to to do a corresponding conversion from one boxed type

to another. this case was observed during fixing of BYTEMAN-316

and the fix here forms part of the fix for that issue.

test for LinkMap builtins -- part of fix for BYTEMAN-313

    • -0
    • +165
    /agent/src/test/resources/scripts/helpertests/TestLinkMap.btm
support Numeric to non-Numeric EQ/NE tests -- fixes BYTEMAN-316

Merge pull request #42 from rachmatowicz/linkMap

Add linkMap API and a default linkMap to the default Helper class. fix for BYTEMAN-313

fix for BYTEMAN-315

corrected Helper.out and Helper.err to use dotraceln instead of dotrace

Merge pull request #43 from doctau/BYTEMAN-307

[BYTEMAN-307] Allow the import list to be cleared by using 'IMPORT' alone

    • -9
    • +117
    /contrib/jboss-modules-system/tests/pom.xml
corrected trace stream id type to Object for consistency with other uses

Initial changes for BYTEMAN-294

Rerouted all existing debug and trace stream builtins to underlyng

implementation provided by these private static methods:

private static boolean doTraceOpen(Object identifier, String fileName)

private static boolean doTraceClose(Object identifier)

private static boolean dotrace(Object identifier, String message)

private static boolean dotraceln(Object identifier, String message)

also included this extra implementation method

private static void doTraceException(String id, Throwable th)

Implemented public static API allowing Byteman agent to drive the same

private static trace stream functions:

public static boolean out(String message)

public static boolean verbose(String msg)

public static boolean noisy(String msg, int flags)

public static void outTraceException(Throwable th)

public static void errTraceException(Throwable th)

public static void verboseTraceException(Throwable th)

public static void noisyTraceException(Throwable th, int flags)

n.b. the noisy methods are nto complete. they need to be supplemented

with the flag argument identifying the noisy trace class(es) that the

message belongs to and logic to filter messages according to whether

tracing for the given class is enabled.

Signed-off-by: Andrew Dinn <adinn@redhat.com>

roll over pom versions to next snapshot release

    • -1
    • +1
    /contrib/rulecheck-maven-plugin/pom.xml
Fix Testhelper-compiled test to use correct test code

Add linkMap features and a default linkMap to the default Helper class.

rolled pom versions round for 3.0.4 release

    • -1
    • +1
    /contrib/rulecheck-maven-plugin/pom.xml
Merge pull request #41 from jerboaa/ignore-javadoc-rulecheck-plugin

Make javadoc work on JDK 1.8+

Merge pull request #40 from jerboaa/agent-set-prop

Set system property when agent is installed.

Make javadoc work on JDK 1.8+

Ignore missing params for the generated javadoc of the

rulecheck maven plugin.

    • -1
    • +1
    /contrib/rulecheck-maven-plugin/pom.xml
Set system property when agent is installed.

org.jboss.byteman.agent.loaded=true is being set if an agent is loaded.

Provide Java API in Install in order to detect if an agent is loaded.

[BYTEMAN-307] Allow the import list to be cleared by using 'IMPORT' alone

    • -6
    • +114
    /contrib/jboss-modules-system/tests/pom.xml
Merge pull request #38 from doctau/BYTEMAN-306

[BYTEMAN-306] Fix JavaDoc information for modules codes.

fix build of javadoc with jdk9 -- fix for BYTEMAN-306

Merge pull request #36 from jerboaa/add-osgi-metadata-submit-install

Make install/submit usable as OSGi bundles.

fix and test case for BYTEMAN-304

enhancement for instrumentation of classes under dtest extension

Make install/submit usable as OSGi bundles.

Add maven-bundle-plugin instructions so as to generate

minimal OSGi MANIFEST metadata.

All packages in both jars are exported.

Resolves BYTEMAN-305.

Merge pull request #34 from jerboaa/fix_install_via_property

Fix agent jar lookup when system property is used.

Fix agent jar lookup when system property is used.

Instead of skipping to set the agentJar instance variable via

locateAgentFromHomeDir(bmHome) go down the same branch as if

the ENV variable was used.

Resolves BYTEMAN-303

fix and test case for BYTEMAN-302

fxed cut and paste error which affects correctness of BYTEMAN-289