TitleBreadcrumb-Tag wont compile with JDK 1.6
Date08-Feb-2007 12:12:29 EET
Version2.4.91
Submitter82.135.62.159
Bug criticalityMediumBug
Browser versionall
Bug statusClosedBug
PageProvider used
Servlet Containerall
Operating Systemall
URL
Java version1.6

Try to build JSPWiki from source, using JSPWiki version 2.4.91 with JDK 6.

Error Message (by Ant):

jspwiki/src/com/ecyrd/jspwiki/tags/BreadcrumbsTag.java:165:

push(java.lang.Object) in com.ecyrd.jspwiki.tags.BreadcrumbsTag.FixedQueue cannot implement push(java.lang.Object) in java.util.Deque;

attempting to use incompatible return type

found : java.lang.Object

required: void

public Object push(Object o)

In Java 1.6 the LinkedLists push() method returns nothing ...


This is a duplicate bug since BugBreadcrumbsTag.javaDoesNotCompileUnderJDK6 has already been reported.

--David Au, 20-Mar-2007

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.
« This page (revision-3) was last changed on 20-Mar-2007 07:01 by David Au [RSS]