Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: chris snow
Votes: 0
Watchers: 0

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

Sort Order: Ascending order - Click to sort in descending order
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

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.