Make -target 8 in javac generate version 52.0 classfile

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: 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.

            Assignee:
            Kumar Srinivasan
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: