jaxen

testcases can't be compiled with 1.4 JDK due to use of 1.5+ API

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Gentoo Linux, x86
  • Number of attachments :
    1

Description

Compiling of testcases (SimpleVariableContextTest.java) fail with 1.4 JDK because java.lang.Double.valueOf(double d) method was added only in 1.5. Attaching a patch that uses constructor Double(double) instead. See also http://bugs.gentoo.org/show_bug.cgi?id=152400 for original report.

Activity

Hide
Elliotte Rusty Harold added a comment -

Thanks for catching this. I've fixed it in CVS.

Show
Elliotte Rusty Harold added a comment - Thanks for catching this. I've fixed it in CVS.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: