|Title|Breadcrumb-Tag wont compile with JDK 1.6
|Date|08-Feb-2007 12:12:29 EET
|Version|2.4.91
|Submitter|82.135.62.159
|[Bug criticality]|MediumBug
|Browser version|all
|[Bug status]|ClosedBug
|[PageProvider] used|
|Servlet Container|all
|Operating System|all
|URL|
|Java version|1.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