• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • security-libs
    • b04

      The specific (3) warnings, as of time of writing.

      jdk/src/jdk.crypto.ec/share/classes/sun/security/ec/XDHPublicKeyImpl.java:80: warning: [lossy-conversions] implicit cast from int to byte in compound assignment is possibly lossy
                  u_arr[0] &= mask;
                              ^
      jdk/src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAOperations.java:259: warning: [lossy-conversions] implicit cast from int to byte in compound assignment is possibly lossy
                  k[lastByteIndex - 1] |= 0x80;
                                          ^
      jdk/src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAOperations.java:281: warning: [lossy-conversions] implicit cast from int to byte in compound assignment is possibly lossy
              result[result.length - 1] |= (xLSB << 7);
                                           ^

            rjernst Ryan Ernst
            asotona Adam Sotona
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: