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

javac improperly accepts boolean ? boolean : integer in -source 1.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 5.0
    • tools
    • generic
    • solaris_8

      javac improperly accepts the expression

      true ? true : 0

      in -source 1.5.

            gafter Neal Gafter (Inactive)
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: