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

Character.digit(int,int) returns wrong value for out of range radix

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • Verification:
      Verified

      Description

      The fix for JDK-8196331 changed the behavior of Character.digit(int,int) method so that it may return non-negative value if the char is less than the radix, but the radix is greater than MAX_RADIX.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                igerasim Ivan Gerasimov
                Reporter:
                igerasim Ivan Gerasimov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: