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

create --source --target synonyms for -source -target

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • None
    • tools
    • None
    • b14

      Although the java --source option is a different option than the javac -source option, the difference in the number of leading dashes is confusing when each is used in conjunction with --enable-preview.

      To that end, we should add --source as a synonym for -source in javac, and while doing that, we should add --target as a synonym for -target, which is the other option in the triad of -source, -target, --release.

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

              Created:
              Updated:
              Resolved: