Skip to content

Document the need to use erased types for type variables, too. - #6021

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_958608251
Aug 12, 2026
Merged

Document the need to use erased types for type variables, too.#6021
copybara-service[bot] merged 1 commit into
masterfrom
test_958608251

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Document the need to use erased types for type variables, too.

And remove the suggestion that Javadoc is likely to support generics in references in the future: JDK-5096551 has been rejected (in addition to being over twenty years old).

(In practice, javadoc is quite lenient about accepting anything that looks like a syntactically valid Java class name. But InvalidLink and IntelliJ are at least sometimes not, and javadoc may change.

And remove the suggestion that Javadoc is likely to support generics in references in the future: [JDK-5096551](https://bugs.openjdk.org/browse/JDK-5096551) has been rejected (in addition to being over twenty years old).

(In practice, `javadoc` is quite lenient about accepting [anything that looks like a syntactically valid Java class name](https://bugs.openjdk.org/browse/JDK-8279474). But InvalidLink and IntelliJ are at least sometimes not, and `javadoc` may change.

PiperOrigin-RevId: 963575165
@copybara-service
copybara-service Bot merged commit 438a123 into master Aug 12, 2026
@copybara-service
copybara-service Bot deleted the test_958608251 branch August 12, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant