javac in Windows NT doesn't handle forward slash (/)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.2.0
    • Affects Version/s: 1.1.3, 1.1.4, 1.2.0
    • Component/s: tools
    • None
    • 1.2beta4
    • x86
    • windows_95, windows_nt
    • Not verified



      Name: rlT66838 Date: 07/11/97


      javac can't find classes if it is invoked on a file
      which is specified by a path using forward slashes.

      This makes it more painful than necessary to write makefiles
      that work on NT and Solaris.

      e.g.:

      > javac -g -deprecation PackageName/ClassName.java
      PackageName/ClassName.java:38: Public class PackageName.ClassName must be
      defined in a file called "ClassName.java".
      public abstract class ClassName extends Thread {
                            ^
      1 error
      >

      But, this works:

      >javac -g -deprecation PackageName\ClassName.java
      >

      ======================================================================

            Assignee:
            David Stoutamire (Inactive)
            Reporter:
            Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: