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

AppletViewer throws IOException when path is not relative to working dir...

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b26
    • CPU:
      generic
    • OS:
      generic

      Description

      When launching the AppletViewer the working directory is always prepended to the file path argument, even when the file path argument isn't a relative path. For example:

      > cd /space/build/solaris-sparc/j2sdk-image/bin
      > ./appletviewer /space/build/solaris-sparc/j2sdk-image/demo/applets/
      I/O exception while reading: /space/build/solaris-sparc/j2sdk-image/bin/space/build/solaris-sparc/j2sdk-image/demo/applets/Clock/example1.html (No such file or directory)

      ###@###.### 2003-09-26

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ehawkessunw Eric Hawkes (Inactive)
                Reporter:
                mromanchsunw Michael Romanchuk (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: