maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@werken.com
Subject [maven-bug] New comment: (MAVEN-167) JXR plugin requires JDK 1.4
Date Mon, 02 Dec 2002 14:11:27 GMT
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


Mime
View raw message