You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2002/12/02 15:11:27 UTC
[maven-bug] New comment: (MAVEN-167) JXR plugin requires JDK 1.4
The following comment has been added to this issue:
Author: Aslak Hellesøy
Created: Mon, 2 Dec 2002 8:11 AM
Body:
This problem only occurs if Maven is compiled on JDK 1.4 and then run on JDK 1.3. This is because the class files will have a reference to the StringBuffer.append(StringBuffer) method (instead of StringBuffer.append(Object)) when compiled on JDK 1.4.
See: http://java.sun.com/j2se/1.4.1/docs/api/java/lang/StringBuffer.html#append(java.lang.StringBuffer)
So I guess the bug can be closed. Perhaps it's worth while mentioning that Maven must be built on the same JDK it will run on?
---------------------------------------------------------------------
View the issue:
http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-167
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-167
Summary: JXR plugin requires JDK 1.4
Type: Bug
Status: Assigned
Priority: Major
Time Spent: Unknown
Estimate: 0 minutes
Project: maven
Component: None
Versions:
1.0-beta-8
Assignee: Jason van Zyl
Reporter: Aslak Hellesøy
Created: Sun, 1 Dec 2002 3:29 PM
Updated: Sun, 1 Dec 2002 3:29 PM
Environment: CVS HEAD, JDK 1.4
Description:
org.apache.maven.jxr.JxrBean uses StringBuffer.append(StringBuffer) on line 238 (last line in getRelativeLink). That's a JDK 1.4 method, and a java.lang.NoSuchMethodError will be thrown on inferior JDKs.
I haven't found any docs that say what JDK is required for Maven, but I would recommend support for JDK 1.3.x for still a little while. Lots of people are still on JDK 1.3.x.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.werken.com/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira