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

JaWS cann't apply jar diff.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.0.1
    • deploy
    • sparc
    • solaris_2.6



      Name: aaR10142 Date: 02/12/2001



      JaWS cann't apply jar diff.
      ------------------ output ----------------------
      java.io.IOException: Invalid command: delete com/sun/tck/jnlp/jars/failed/FailedTest.class
      -----------------------------------------------

      To reproduce this problem just run JNLP TCK test
      http_requests/JarDiff/index.html

      or use attached archive.
      to run test from archive do following steps:
      --------
      1) jar xvf jardiff.jar
      2) cd jardiff
      3) java -classpath classes.jar:. StartHttp & #start http server
                                                    #that can send jardiffs
      4) javaws from.jnlp #cache the test.jar ver. 1.0
      5) javaws to.jnlp #try to download test.jar ver. 2.0(apply diffs)
      ----------

      File test1.0.jar contains test.jar ver. 1.0
      File test.jardiff contains diff between ver 1.0 and ver 2.0 of test jar.
      The httpServer send this file for a request:
      GET test.jar?version-id=2.0&current-version-id=1.0

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

      Archive attached

      ###@###.### 2001-02-12

            hdongorcl Hao Dong (Inactive)
            alisunw Ali Ali (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: