db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: Javadoc build problems with JDK 1.5 code?
Date Wed, 03 Oct 2007 14:25:30 GMT
>   1) Build the javadoc with JAVA_HOME set to a JDK 5 or later

This seems like a reasonable answer to me, since as you say we
are moving to JDK 1.5 as our base development environment.

But, this doesn't completely fix the problem for me. I get
many fewer errors, but I still get some (see below).

thanks,

bryan

   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:55:
generics are not 
supported in -source 1.4
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCacheFactory.java...
   [javadoc] (try -source 1.5 to enable generics)
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ReplacementPolicy.java...
   [javadoc]     private final ConcurrentHashMap<Object, CacheEntry> cache;
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/daemon/BasicDaemon.java...
   [javadoc]                                    ^
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/daemon/ServiceRecord.java...
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:400:
for-each loops are 
not supported in -source 1.4
   [javadoc] Loading source file 
/src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/daemon/SingleThreadDaemonFactory.java...
   [javadoc] (try -source 1.5 to enable for-each loops)
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/jce/JCECipherFactory.java...
   [javadoc]         for (CacheEntry entry : cache.values()) {
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/jce/JCECipherFactoryBuilder.java...
   [javadoc]                               ^
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/jce/JCECipherProvider.java...
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:83:
generics are not 
supported in -source 1.4
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/AbstractPool.java...
   [javadoc] (try -source 1.5 to enable generics)
   [javadoc]     private final ConcurrentHashMap<Lockable, Entry> locks;
   [javadoc]                                    ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:278:
for-each loops are 
not supported in -source 1.4
   [javadoc] (try -source 1.5 to enable for-each loops)
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ActiveLock.java...
   [javadoc]                 for (Entry e : seenByDeadlockDetection) {
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java...
   [javadoc]                              ^


Mime
View raw message