Issue Details (XML | Word | Printable)

Key: NUCENHANCER-58
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Christian Ernst
Votes: 0
Watchers: 0
Operations

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

JDO Reference Enhancer generated private final void writeObject(ObjectOutputStream out) doesn't declare throws java.io.IOException

Created: 28/Sep/10 03:36 PM   Updated: 16/Oct/10 01:25 PM   Resolved: 12/Oct/10 02:08 PM
Component/s: ASM Enhancer
Affects Version/s: 2.0.0.release
Fix Version/s: 2.1.1

File Attachments: 1. File WriteObject.java.diff (1 kB)



 Description  « Hide


private final void writeObject(ObjectOutputStream out) {
jdoPreSerialize();
out.defaultWriteObject();
}

Sort Order: Ascending order - Click to sort in descending order
Christian Ernst added a comment - 28/Sep/10 04:18 PM
Also the generated writeObject(ObjectOutputStream out) should not be declared as final.

Andy Jefferson added a comment - 30/Sep/10 12:07 PM
You could attach a patch to the JIRA if wanting this, in the spirit of open source

Christian Ernst added a comment - 12/Oct/10 12:53 PM
Patch for org.datanucleus.enhancer.asm.method.WrritObject.java

Andy Jefferson added a comment - 12/Oct/10 02:08 PM
SVN trunk has this now, thx