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

Constant folding for unary + should produce int for boolean literals

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • None
    • b17
    • generic
    • generic

        +true, +false, and -true should produce int instead of double results. (-false should still produce a double, as it's -0).

              attila Attila Szegedi
              attila Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: