Issue Details (XML | Word | Printable)

Key: NUCENHANCER-70
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: chris snow
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Enhancer (ARCHIVED)

FindBugs issues in enhanced classes

Created: 05/Apr/11 03:26 PM   Updated: 17/Jun/11 05:14 PM   Resolved: 05/Apr/11 06:20 PM
Component/s: None
Affects Version/s: 2.1.3
Fix Version/s: 3.0.0.m4

File Attachments: 1. File dn-bug.tgz (3 kB)



 Description  « Hide
Test project reproducing the project is attached.

Reproduce the error with:

mvn clean compile datanucleus:enhance findbugs:findbugs findbugs:gui

chris snow added a comment - 05/Apr/11 03:27 PM
To reproduce the issue, run:

mvn clean compile datanucleus:enhance findbugs:findbugs findbugs:gui

chris snow made changes - 05/Apr/11 03:27 PM
Field Original Value New Value
Attachment dn-bug.tgz [ 11407 ]
Andy Jefferson added a comment - 05/Apr/11 06:20 PM
The 2 cases of using "new XXX" -> "XXX.valueOf" are fixed in SVN (3.0). Needless to say anybody using GAE/J will likely wait til hell freezes over before they get to use DN 3.x

The other one I've no particular interest in fixing, and ought to be done as part of a review of cloning/serialisation. Obviously people can easily provide patches.

Andy Jefferson made changes - 05/Apr/11 06:20 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.0.m4 [ 11226 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 07/Apr/11 05:39 PM
Summary FindBugs issues FindBugs issues in enhanced classes
Andy Jefferson made changes - 17/Jun/11 05:14 PM
Status Resolved [ 5 ] Closed [ 6 ]