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

Make -target 8 in javac generate version 52.0 classfile

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • tools
    • b65
    • generic
    • generic
    • Verified

      When -source 8 and -target 8 were added to javac (JDK-7025786), they were just aliases for -source/target 7 and in particular -target 8 generated the same version 51.0 class files as -target 7.

      As soon as version 52.0 class files are supported in HotSpot (JDK-7054340), javac should change the meaning of -target 8 to generate version 52.0 class files.

            ksrini Kumar Srinivasan
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: