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

Java source launcher should not require `--source ...` to enable preview

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • tools
    • None
    • b14

      Primary user of the Java source launcher (according to JEP 330) is an early stage programmer learning Java.
      Explicit requirement of --enable-preview, followed by --source XY options to enable preview features is an obstacle for a novice Java source launcher users.

      It would make use of preview features more easy if --enable-preview option would automatically imply --source version option in the Java source launcher, similar as JShell does.

            cstein Christian Stein
            asotona Adam Sotona
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: