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

Codebase from Applet.getCodeBase() is not the same as one from javax.jnlp.BasicService.getCodeBase()

XMLWordPrintable

    • generic
    • generic

      Short desc:
       Test executes applet in jnlp style, inside applet tries to get codebase:
        1. using Applet.getCodeBase();
        2. using
           BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
           bs.getCodeBase();

        Test fails because these two values aren't equal.
        
      See applet code source and applet execution log in attachment.
      See details, html links in "Comments" section ( How to reproduce ).

            ddehaven David Dehaven (Inactive)
            dgubkin Dmitriy Gubkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: