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

javac does not recognize '*.java' as file if '-J' option is specified

    Details

    • Subcomponent:
    • Resolved In Build:
      b66
    • Verification:
      Verified

      Backports

        Description


        Full JRE/JDK Versions
        ---------------------
        java version "1.8.0_31"
        Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
        Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

        java version "1.7.0_76"
        Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
        Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
         

        System Configuration
         --------------------
        Windows 7 Professional (SP, Japanese, x64)

        Testcase & Reproduction Instructions
        ------------------------------------

        >type HelloWorld.java

        public class HelloWorld {
                public static void main(String [] args){
                        System.out.println("Hello World!");
                }
        }

        >C:\jdk8_31\jdk1.8.0_31\bin\javac -cp . -J-showversion -J-Duser.language=en
        *.java
        java version "1.8.0_31"
        Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
        Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

        javac: file not found: *.java
        Usage: javac <options> <source files>
        use -help for a list of possible options

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  robm Robert Mckenna
                  Reporter:
                  shadowbug Shadow Bug
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: