When using JDK version 8u121 or later, the api build target fails with: error - JavaScript found in documentation comment See the release notes for 8u121 [1] which mentions that javadoc will now reject any occurrences of JavaScript code in documentation comments. The Javadoc doesn't actually have any JavaScript. The root cause is that it is malformed (it has an extra < character) which results in a false positive failure. [1] https://www.oracle.com/technetwork/java/javase/8u121-relnotes-3315208.html Change-Id: Ia22804a3a13ec29a0ce619042be44ca5a85319d0