Something a coworker of mine found:
Using Java 8, the javadoc
for this class doesn't generate correct html:
public class JavadocBounds {
/**
* A method with a parameter of type {@link Callback}<T extends {@link ResultCode}>.
*/
public <T extends ResultCode> void method(Callback<T> callback) {}
static class Callback<T> {}
static class ResultCode {}
}
This works fine (without the generic's bound):
/**
* A method with a parameter of type {@link Callback}<{@link ResultCode}>.
*/
Are we getting the syntax wrong?
Is this fixed in later Java versions?
Is this relevant enough to post a bug? If so, where?