author | hseigel |
Wed, 01 Mar 2017 08:00:02 -0500 | |
changeset 46194 | 5596e6f63072 |
parent 31448 | 1066345d2a8a |
permissions | -rw-r--r-- |
21596 | 1 |
/* |
31448
1066345d2a8a
8076468: Add @modules to tests in jdk_desktop test group
yan
parents:
23010
diff
changeset
|
2 |
* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved. |
21596 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
20 |
* or visit www.oracle.com if you need additional information or have any |
|
21 |
* questions. |
|
22 |
*/ |
|
23 |
||
409
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
24 |
/* @test |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
25 |
@bug 4714674 |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
26 |
@summary Tests that JEditorPane opens HTTP connection asynchronously |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
27 |
@author Peter Zhelezniakov |
31448
1066345d2a8a
8076468: Add @modules to tests in jdk_desktop test group
yan
parents:
23010
diff
changeset
|
28 |
@modules java.desktop |
1066345d2a8a
8076468: Add @modules to tests in jdk_desktop test group
yan
parents:
23010
diff
changeset
|
29 |
jdk.httpserver |
409
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
30 |
@run main bug4714674 |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
31 |
*/ |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
32 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
33 |
import javax.swing.*; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
34 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
35 |
import com.sun.net.httpserver.HttpExchange; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
36 |
import com.sun.net.httpserver.HttpHandler; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
37 |
import com.sun.net.httpserver.HttpServer; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
38 |
import java.io.IOException; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
39 |
import java.net.InetSocketAddress; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
40 |
import java.util.concurrent.Executors; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
41 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
42 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
43 |
public class bug4714674 { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
44 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
45 |
public static void main(String[] args) throws Exception { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
46 |
new bug4714674().test(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
47 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
48 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
49 |
private void test() throws Exception { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
50 |
final DeafServer server = new DeafServer(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
51 |
final String baseURL = "http://localhost:" + server.getPort() + "/"; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
52 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
53 |
SwingUtilities.invokeLater(new Runnable() { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
54 |
public void run() { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
55 |
try { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
56 |
JEditorPane pane = new JEditorPane(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
57 |
((javax.swing.text.AbstractDocument)pane.getDocument()). |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
58 |
setAsynchronousLoadPriority(1); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
59 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
60 |
// this will block EDT unless 4714674 is fixed |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
61 |
pane.setPage(baseURL); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
62 |
} catch (IOException e) { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
63 |
// should not happen |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
64 |
throw new Error(e); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
65 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
66 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
67 |
}); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
68 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
69 |
// if 4714674 is fixed, this executes before connection times out |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
70 |
SwingUtilities.invokeLater(new Runnable() { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
71 |
public void run() { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
72 |
synchronized (server) { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
73 |
server.wakeup = true; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
74 |
server.notifyAll(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
75 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
76 |
pass(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
77 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
78 |
}); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
79 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
80 |
// wait, then check test status |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
81 |
try { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
82 |
Thread.sleep(5000); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
83 |
if (!passed()) { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
84 |
throw new RuntimeException("Failed: EDT was blocked"); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
85 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
86 |
} finally { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
87 |
server.destroy(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
88 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
89 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
90 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
91 |
private boolean passed = false; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
92 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
93 |
private synchronized boolean passed() { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
94 |
return passed; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
95 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
96 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
97 |
private synchronized void pass() { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
98 |
passed = true; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
99 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
100 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
101 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
102 |
/** |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
103 |
* A "deaf" HTTP server that does not respond to requests. |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
104 |
*/ |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
105 |
class DeafServer { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
106 |
HttpServer server; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
107 |
boolean wakeup = false; |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
108 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
109 |
/** |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
110 |
* Create and start the HTTP server. |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
111 |
*/ |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
112 |
public DeafServer() throws IOException { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
113 |
InetSocketAddress addr = new InetSocketAddress(0); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
114 |
server = HttpServer.create(addr, 0); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
115 |
HttpHandler handler = new DeafHandler(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
116 |
server.createContext("/", handler); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
117 |
server.setExecutor(Executors.newCachedThreadPool()); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
118 |
server.start(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
119 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
120 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
121 |
/** |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
122 |
* Stop server without any delay. |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
123 |
*/ |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
124 |
public void destroy() { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
125 |
server.stop(0); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
126 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
127 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
128 |
/** |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
129 |
* Return actual server port number, useful for constructing request URIs. |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
130 |
*/ |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
131 |
public int getPort() { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
132 |
return server.getAddress().getPort(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
133 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
134 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
135 |
|
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
136 |
class DeafHandler implements HttpHandler { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
137 |
public void handle(HttpExchange r) throws IOException { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
138 |
synchronized (DeafServer.this) { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
139 |
while (! wakeup) { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
140 |
try { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
141 |
DeafServer.this.wait(); |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
142 |
} catch (InterruptedException e) { |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
143 |
// just wait again |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
144 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
145 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
146 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
147 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
148 |
} |
eaa6e0cc0aea
4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
peterz
parents:
diff
changeset
|
149 |
} |