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

Previous fix for 4241573 incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • tools
    • kestrel
    • generic
    • windows_nt

      The fix for 4241573 was intended to strip off any directory prefix of the
      source file pathname when writing out the SourceFile attribute in the class
      file. This attribute should contain only a simple filename. The code
      searches for the platform-specific path separatorChar. Since we also permit
      the Unix-style "/" separator as well as the native Windows/DOS "\" separator
      on Win32 when passing filenames on the 'javac' command line, this code fails
      when the Unix-style separator is used, allowing the full pathname to appear
      in the SourceFile attribute.

      william.maddox@Eng 1999-07-22

            wmaddoxsunw William Maddox (Inactive)
            wmaddoxsunw William Maddox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: