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

javac should represent booleans internally as booleans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 6
    • tools
    • generic
    • generic

      Inside javac, boolean literals are represented with TypeTag.BOOLEAN but a value of 0 or 1. It would be clearer if we used the obvious values of false and true.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: