Rome 1.0 not JDK 1.4 compatible

Description

java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;
at com.sun.syndication.io.impl.NumberParser.parseInt(NumberParser.java:54)
[...]

Error code line 54:
return Integer.valueOf(Integer.parseInt(str.trim()));

Method "Integer.valueOf(int)" came with Java 1.5. In Java 1.4 that line should
be something like:
Integer.valueOf(str.trim(), 10);

Environment

None

Status

Assignee

ROME Jira Lead

Reporter

vict0r

Labels

None

Participants

None

Affects versions

current

Priority

Blocker