Opened 3 years ago

Closed 3 years ago

#1894 closed defect (fixed)

ant javadoc spills out errors

Reported by: Eche|on Owned by: zzz
Priority: minor Milestone: 0.9.29
Component: other Version: 0.9.28
Keywords: javadoc easy Cc:
Parent Tickets: Sensitive: no

Description

ant javadoc shows 100 errors:

[javadoc] /usr/src/i2p/i2p.i2p/core/java/src/net/i2p/util/SystemVersion.java:152: error: bad use of '>'
[javadoc] * Better than (new VersionComparator?()).compare(System.getProperty("java.version"), "1.6") ≥ 0
[javadoc]
[javadoc] /usr/src/i2p/i2p.i2p/core/java/src/net/i2p/util/SystemVersion.java:162: error: bad use of '>'
[javadoc] * Better than (new VersionComparator?()).compare(System.getProperty("java.version"), "1.7") ≥ 0
[javadoc]

[javadoc] /usr/src/i2p/i2p.i2p/core/java/src/net/i2p/util/SystemVersion.java:196: error: bad use of '>'
[javadoc] * sun.arch.data.model == 64 ⇒ 64 bit processor
[javadoc]
[javadoc] /usr/src/i2p/i2p.i2p/core/java/src/net/i2p/util/SystemVersion.java:197: error: bad use of '>'
[javadoc] * sun.arch.data.model == 32 ⇒ A 32 bit JVM but could be either 32 or 64 bit processor or libs

Java Oracle
java version "1.8.0_91"
Java™ SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot?™ 64-Bit Server VM (build 25.91-b14, mixed mode)

Subtickets

Change History (3)

comment:1 Changed 3 years ago by zzz

Keywords: easy added

Confirmed with Oracle Java on an RPi. OpenJDK does not show these errors. Javadocs are of course HTML so any non-HTML ≠ must be replaced with <>

comment:2 Changed 3 years ago by zzz

Milestone: undecided0.9.29
Status: newaccepted

comment:3 Changed 3 years ago by zzz

Resolution: fixed
Status: acceptedclosed

300 or so errors fixed in 0.9.28-4, 15 revs starting at 6f8e7637631c4cbb7eb3e76699a6941b88d31787
shouldn't be any errors left. Lots of warnings still. I am also updating our coding style doc on the website to add more info on javadocs.

Note: See TracTickets for help on using tickets.