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

Too weak variable type leads to unnecessary cast in java.desktop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 17, 18
    • Fix Version/s: 18
    • Component/s: client-libs
    • Labels:
      None
    • Resolved In Build:
      b18

      Description

      There are several redundant casts, caused by fact, that related declared variable has too weak type.
      They are detected by IntelliJ IDEA inspection 'Too weak variable type leads to unnecessary cast'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aturbanov Andrey Turbanov
              Reporter:
              aturbanov Andrey Turbanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: