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

Do not set -source X -target X when compiling with javac for JDK X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 13
    • 10
    • infrastructure

      Currently, we explicitly specify -source 10 -target 10 when building jdk10. With the proposed new release cadence, we must try to make it more easy to bump to a new version.

      We should instead rely on the default source/target for javac, and modify that when we want to modify the source code level we're using.

            Unassigned Unassigned
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: