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

Win NT javac 1.2b2 doesn't like forward slash

XMLWordPrintable

    • x86
    • windows_nt

      Source file "iTest.java" in package "tester"

      from parent directory of "tester":

      'javac tester\iTest.java' compiles as expected
      'javac tester/iTest.java' does not compile, with complaint
      /*==========transcript begins===========*/
      public interface tester.iTest must be defined in a file called "iTest.java".
      public interface iTest
                       ^
      1 error
      /*==========transcript ends===========*/

      note the name specified in the message, "iTest.java", is identical to the actual name of the file.

            dstoutamsunw David Stoutamire (Inactive)
            bprestonsunw Brian Preston (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: