Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8284992

Fix misleading Vector API doc for LSHR operator

    XMLWordPrintable

Details

    • b21

    Backports

      Description

        This is misleading which may lead to bugs for Java developers.
        This is because for negative byte/short elements, the results computed by `LSHR` will be different from that of `>>>`.
        For more details, please see https://github.com/openjdk/jdk/pull/8276#issue-1206391831 .

        Attachments

          Issue Links

            Activity

              People

                jiefu Jie Fu
                jiefu Jie Fu
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: