History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: COR-1066
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Rodrigo B. de Oliveira
Reporter: Andy 2003
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
db4o Core

[TA] FileEnhancer doesn't work anymore

Created: 03/Jan/08 08:54 PM   Updated: 08/Jan/08 03:16 PM
Component/s: Java ByteCode Engineering
Affects Version/s: 7.0.24
Fix Version/s: 7.0.24

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0h
Time Spent - 1.12h
Time Spent: 1.12h
Time Spent - 1.12h

File Attachments: 1. Text File ta_activate2.patch (12 kb)

Environment: current svn version

Peers: Patrick Roemer
Order: 3
Iteration: 24
Resolution Date: 08/Jan/08 03:16 PM
Labels:
Participants: Andy 2003 and Rodrigo B. de Oliveira
Number of Attachments: 1
Number of Comments: 0


 Description  « Hide
With the current svn version the FileEnhancing via ANT Task doesn't work correctly anymore.

Reason is the class InstrumentFieldAccessEdit, which does not commit the ClassEditor correctly if the last instrumentation state was not "INSTRUMENTED".

Fix: check if File is Instrumented, if not then change state otherwise leave it unchanged.

Line 91: instrumented.value = (modifiedCount > 0 || ((InstrumentationStatus)instrumented.value).isInstrumented() ? InstrumentationStatus.INSTRUMENTED : InstrumentationStatus.NOT_INSTRUMENTED);

a Patch is attached.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.