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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.1.3, 1.1.4, 1.2.0
    • 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
      >

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: