[TEST] delete TestRotateByteAndShortVector.java as it is not doing the right work

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 25
    • Component/s: hotspot
    • None

      As this test is not testing a real rotate. And it's not testing implementation in any platform.

      int shift = 2;
      byte b = 83;
      byte res = (byte) (b << shift | b >> -shift); // res = 76
      // but a real left rotate of 83 should be 77 ??

            Assignee:
            Hamlin Li
            Reporter:
            Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: