~ubuntu-branches/ubuntu/jaunty/openjdk-6/jaunty-security

« back to all changes in this revision

Viewing changes to rt/net/sourceforge/jnlp/ExtensionDesc.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose, Edward Nevill, Matthias Klose
  • Date: 2009-03-02 16:18:01 UTC
  • Revision ID: james.westby@ubuntu.com-20090302161801-rubk3yhm8j0au4y1
Tags: 6b14-0ubuntu17
[ Edward Nevill ]
* Remove VFP from asm loop
* Disble the mauve testsuite for armel.

[Matthias Klose]
* Update IcedTea (20090302).

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
    /** the location of the extension JNLP file */
42
42
    private URL location;
 
43
    
 
44
    /** the cookie string sent with resource requests */
 
45
    private String cookieStr;
43
46
 
44
47
    /** the JNLPFile the extension refers to */
45
48
    private JNLPFile file;
58
61
     * @param version the required version of the extention JNLPFile
59
62
     * @param location the location of the extention JNLP file
60
63
     */
61
 
    public ExtensionDesc(String name, Version version, URL location) {
 
64
    public ExtensionDesc(String name, Version version, URL location, String cookieStr) {
62
65
        this.name = name;
63
66
        this.version = version;
64
67
        this.location = location;
 
68
        this.cookieStr = cookieStr;
65
69
    }
66
70
 
67
71
    /**
121
125
     */
122
126
    public void resolve() throws ParseException, IOException {
123
127
        if (file == null) {
124
 
            file = new JNLPFile(location);
 
128
            file = new JNLPFile(location, cookieStr);
125
129
 
126
130
            if (JNLPRuntime.isDebug())
127
131
                System.out.println("Resolve: "+file.getInformation().getTitle());
140
144
    public JNLPFile getJNLPFile() {
141
145
        return file;
142
146
    }
 
147
    
 
148
    /**
 
149
     * Returns the cookie associated with this instance
 
150
     */
 
151
    public String getCookieStr() {
 
152
        return cookieStr;
 
153
    }
143
154
 
144
155
}
145
156