Skip to content

Enable .java Filename Completion for java Command #1196

@jiri-pejchal

Description

@jiri-pejchal

Description

Enhance the bash completion scripts for the java command to complete filenames with the .java extension.

This enhancement is necessary to support:

  • JEP 330: Launch Single-File Source-Code Programs
  • JEP 458: Launch Multi-File Source-Code Programs

which allows the java launcher to run a program supplied as a single file of Java source code:

java HelloWorld.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions