Issue Details (XML | Word | Printable)

Key: ROME-135
Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Assignee: rome-issues
Reporter: vict0r
Votes: 0
Watchers: 0

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

Rome 1.0 not JDK 1.4 compatible

Created: 29/Sep/09 11:54 PM   Updated: 29/Sep/09 11:58 PM
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Time Tracking:
Not Specified


Operating System: All
Platform: All

Issuezilla Id: 135
Participants: rome-issues and vict0r

 Description  « Hide

java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;

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);