jsr107 / jsr107spec

JSR107 Cache Specification
Apache License 2.0
415 stars 164 forks source link

JCache API does not compile with JDK 8 #376

Closed jerrinot closed 7 years ago

jerrinot commented 7 years ago

JDK 8 has a strict(-er) JavaDoc validation. It does not compile the current master

There is a bunch of warning and this error:

/home/jara/devel/oss/jsr107spec/src/main/java/javax/cache/processor/MutableEntry.java:53: error: self-closing element not allowed
   * <p/>
     ^
/home/jara/devel/oss/jsr107spec/src/main/java/javax/cache/processor/MutableEntry.java:24: error: self-closing element not allowed
 * <p/>
cruftex commented 7 years ago

Fixed the two errors, so it compiles.

There is still a bunch of warnings complaining about missing documentation for the return value, for example:

[WARNING] /home/jeans/tmp/jsr107/jsr107spec/src/main/java/javax/cache/annotation/CacheResult.java:132: warning: no @return [WARNING] @Nonbinding boolean skipGet() default false;