RFR: 8284992: Fix misleading Vector API doc for LSHR operator

Jie Fu jiefu at openjdk.java.net
Thu Apr 21 04:28:36 UTC 2022


On Wed, 20 Apr 2022 17:24:56 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> We can raise attention to that:
> 
> ```
> /** Produce {@code a>>>(n&(ESIZE*8-1))} 
>   * (The operand and result are converted if the operand type is {@code byte} or {@code short}, see below).  Integral only.
>   * ...
>   */
> ```


It seems still misleading if we don't change the brief description of `LSHR`.
How about adding 'see details for attention' like this?
<img width="1155" alt="WeChatWorkScreenshot_96b57c88-445e-4b14-a956-35e421279744" src="https://user-images.githubusercontent.com/19923746/164371693-6e26842c-47f4-44f5-8371-1906ae8e6218.png">

And the patch had been updated.
Thanks.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8291


More information about the core-libs-dev mailing list