openj9-utils icon indicating copy to clipboard operation
openj9-utils copied to clipboard

Add Patch Adapter tool

Open knewbury01 opened this issue 5 years ago • 3 comments

This contribution is a patch adapter tool that transforms software patches into hotfixes that can be used by Java Agents. The tool categorizes changes in patches as compliant or not with respect to the JVMTI standards for redefinition. If non-compliant changes exist, the tool uses Soot to analyze and transform those classes.

Signed-off-by: Kristen Newbury [email protected]

knewbury01 avatar Nov 19 '20 08:11 knewbury01

Can you explain why you have binary class files in the commit?

andrewcraik avatar Nov 19 '20 13:11 andrewcraik

@DanHeidinga / @mstoodle I think this is a big enough chunk of code that we will likely need a CQ

andrewcraik avatar Nov 19 '20 13:11 andrewcraik

Can you explain why you have binary class files in the commit?

Fixed.

Previously added classfiles that are required in testing setup. Now have removed all classfiles, and, project includes script to build those, pre Maven regular test cycle. The reason this extra setup is required is due to the fact that the patch adapter test setup required two variants of the same class, by definition of a patch to test upon, which requires minor extra setup compared to what can naturally be supported in a Maven project structure.

knewbury01 avatar Nov 23 '20 01:11 knewbury01