db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Javadoc build problems with JDK 1.5 code?
Date Wed, 03 Oct 2007 02:21:16 GMT
I'm having some troubles building the engine javadoc (errors are
pasted below). I think that perhaps there is some new code that
uses JDK 1.5 syntax, and the JavaDoc build doesn't recognize that
code syntax.

Does this indicate a problem in my build environment? Am I
supposed to be able to build javadoc for these JDK 1.5 classes
at this point?

Or should these classes be excluded from the JavaDoc build for now?

thanks,

bryan

   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ClockPolicy.java...
   [javadoc]     private final ArrayList<Holder> clock = new ArrayList<Holder>();
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java...
   [javadoc]                            ^
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCacheFactory.java...
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:55:
<identifier> expected
   [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:80:
'(' or '[' expected
   [javadoc] Loading source file 
/src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/daemon/SingleThreadDaemonFactory.java...
   [javadoc]         cache = new ConcurrentHashMap<Object, CacheEntry>();
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/jce/JCECipherFactory.java...
   [javadoc]                                      ^
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/jce/JCECipherFactoryBuilder.java...
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:400:
';' expected
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/jce/JCECipherProvider.java...
   [javadoc]         for (CacheEntry entry : cache.values()) {
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/AbstractPool.java...
   [javadoc]                               ^
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ActiveLock.java...
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:413:
illegal start of 
expression
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java...
   [javadoc]     }
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentPool.java...
   [javadoc]     ^
   [javadoc] Loading source file /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/Constants.java...
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:419:
';' expected
   [javadoc]         for (CacheEntry entry : cache.values()) {
   [javadoc]                               ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:435:
illegal start of 
expression
   [javadoc]     }
   [javadoc]     ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:462:
';' expected
   [javadoc]         for (CacheEntry entry : cache.values()) {
   [javadoc]                               ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:485:
illegal start of 
expression
   [javadoc]     }
   [javadoc]     ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:496:
<identifier> expected
   [javadoc]     public Collection<Cacheable> values() {
   [javadoc]                      ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/cache/ConcurrentCache.java:511:
';' expected
   [javadoc] }
   [javadoc] ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:83:
<identifier> expected
   [javadoc]     private final ConcurrentHashMap<Lockable, Entry> locks;
   [javadoc]                                    ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:93:
<identifier> expected
   [javadoc]     private ArrayList<Entry> seenByDeadlockDetection;
   [javadoc]                      ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:121:
'(' or '[' expected
   [javadoc] 		locks = new ConcurrentHashMap<Lockable, Entry>();
   [javadoc]                                              ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:278:
';' expected
   [javadoc]                 for (Entry e : seenByDeadlockDetection) {
   [javadoc]                              ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:284:
illegal start of 
expression
   [javadoc]             }
   [javadoc]             ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:923:
';' expected
   [javadoc]             for (Entry entry : locks.values())
   [javadoc]                              ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:935:
illegal start of 
expression
   [javadoc]         }
   [javadoc]         ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:951:
'(' or '[' expected
   [javadoc]         seenByDeadlockDetection = new ArrayList<Entry>(locks.size());
   [javadoc]                                                ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:952:
';' expected
   [javadoc]         for (Entry entry : locks.values()) {
   [javadoc]                          ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:959:
illegal start of 
expression
   [javadoc]     }
   [javadoc]     ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:965:
<identifier> expected
   [javadoc]     public Map<Lockable, Control> shallowClone() {
   [javadoc]               ^
   [javadoc] /src/derby/commit/trunk/java/engine/org/apache/derby/impl/services/locks/ConcurrentLockSet.java:1011:
';' expected
   [javadoc] }
   [javadoc] ^



Mime
View raw message