RFR: JDK-8042981: Strip type annotations in Types' utility methods [v2]
Jonathan Gibbons
jjg at openjdk.org
Wed Jan 24 00:03:42 UTC 2024
On Wed, 21 Sep 2022 11:21:27 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>>
>> - Update visitor; all langtools regression tests pass.
>> - Merge branch 'master' into JDK-8042981
>> - JDK-8042981: Strip type annotations in Types' utility methods
>
> src/java.compiler/share/classes/javax/lang/model/util/Types.java line 241:
>
>> 239: * @param extendsBound the extends (upper) bound, or {@code null} if none
>> 240: * @param superBound the super (lower) bound, or {@code null} if none
>> 241: * @throws IllegalArgumentException if bounds are not valid
>
> Should annotation also be preserved (and also documented to be preserved) for `getDeclaredType`?
@jddarcy ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/8984#discussion_r1464131446
More information about the compiler-dev
mailing list