Atlassian JIRA   History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: XRP-112
Type: Bug Bug
Status: Resolved Resolved
Resolution: Applied
Priority: Minor Minor
Assignee: Marc Portier
Reporter: Jeroen Goubert
Votes: 0
Watchers: 0
Operations

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

java.lang.NoSuchMethodError: java.math.BigDecimal.<init>(J)V

Created: 16/May/06 08:38 AM   Updated: 19/Jun/06 09:10 AM
Component/s: xReporter
Affects Version/s: None
Fix Version/s: 1.3

File Attachments: 1. Text File bigdecimaltype.patch (0.5 kb)



 Description   
org.outerj.xreporter.datatype.type.BigDecimalType line 111
When using java5 to compile xreporter with compile properties in xreporter-build set to source="1.4" target="1.4", the compiler doesn't cast the argument to double when compiling "new BigDecimal(long arg)". This can lead to problems when running phoenix with java 1.4.
For the record: when using java1.4 to compile, the cast happens right.

 All   Comments   Change History      Sort Order:
Comment by Jeroen Goubert [16/May/06 08:42 AM]
simple patch file attached

Comment by Marc Portier [19/Jun/06 09:10 AM]
Fix applied in svn, revision 675
http://svn.cocoondev.org/viewsvn?rev=675&root=xreporter&view=rev

Thx for spotting this one.