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

(1.1) java.lang.ClassFormatError: Duplicate name

XMLWordPrintable

    • x86
    • windows_nt

      Please refer to the bug ID 4116389 that has been submitted against JDK 1.2 and
      has been fixed and integrated in the JDk1.2beta3.


            Test case - exact setup description.
            This has been tested on Windows machine throughly.

           Please refer to the attachment as SEVNMOUNTAINS.tar

          - Prerequisites: JDK1.1.6 /1.1.7 / 1.1.8 and 1.1.4 / 1.1.5
          - Compile classes URLClassloader, Sandhya, AppletStubSupport,
            AppletContextSupport that has been kept in /home/sandhya/SEVENMOUNTAINS
            and/or the enclosure

          - Put the test-directory TEMP.ZIP that has kept in
            /home/sandhya/SEVNMOUNTAINS and/or in the enclosure on a web-server under public_html directory with the structure (make usre it's unzipped)
             
              - test
                 - lotus
                 - jars

          - To trigger the application : java Sandhya 'myurl'
                  
            f.ex.: java Sandhya http://vora.eng.sun.com/test
          (you can test this way as well, provided my web server is running on my system)

          - You will experience a cahche-directory being created under current directory, and a stackTrace saying
          
          Could not create class lotus.ic.client.ActionBarAD java.lang.ClassFormatError: Duplicate name
          Could not create class lotus.ic.client.PropertyPanelAD
      java.lang.ClassFormatError: Duplicate name
          '
          For a complete stacktrace, set the boolean attribute 'trace' of URLClassloader to true and recompile.

      This Test Case runs fine with JDK 1.2 without the failure.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: