users@glassfish.java.net

Re: Glassfish v2 build fails on FreeBSD 7.0-PRERELEASE

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Jan 2008 03:31:06 PST

I just figured out that the problem was with the jdk version(1.6.0_01) I was using. Here is the culprit:-
[java] [javac] /workspace/appserver_builds/9.1_ur1/glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:57: org.apache.taglibs.standard.tag.common.sql.DataSourceWrapper is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
   [java] [javac] public class DataSourceWrapper implements DataSource {
   [java] [javac] ^
   [java] [javac]

java.sql.Wrapper is being introduced in jdk 1.6 and is the superinterface of interface DataSource.

I rebuilt glassfish with [b]jdk 1.5.0_12 [/b]without any issues.
[Message sent by forum member 'amit_bits221' (amit_bits221)]

http://forums.java.net/jive/thread.jspa?messageID=254955