dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Incorrect link for methods in java stdlib

Open atyrin opened this issue 2 years ago • 1 comments

/**
 * @see  [java.io.StringReader.lock] see property
 * @see  [java.io.StringReader.mark] see method
 */
class ClassKDocLocation {
}

The links for the class and method are correct. But ~~1. for the property, we add a bracket () at the end of the line, and it searches a function instead of a property on the page: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Reader.html#lock()~~ (fixed in #4360) 2. For method with parameter like [java.io.StringReader.mark] we navigates to StringReader.html#mark(kotlin.Int) but the expected link is StringReader.html#mark(int)

Installation

  • Dokka version: 1.9.20

atyrin avatar Nov 16 '23 11:11 atyrin

The first case has been fixed in #4360

vmishenev avatar Nov 19 '25 12:11 vmishenev