We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d34e27 commit 0a6072dCopy full SHA for 0a6072d
sources/net.sf.j2s.java.core/src/java/lang/ClassLoader.js
@@ -203,6 +203,16 @@ ClazzLoader.isGecko = (ClazzLoader.userAgent.indexOf ("gecko") != -1);
203
*/
204
if (ClazzLoader.isOpera) {
205
ClazzLoader.maxLoadingThreads = 1;
206
+ var index = ClazzLoader.userAgent.indexOf ("opera/");
207
+ if (index != -1) {
208
+ var verNumber = 9.0;
209
+ try {
210
+ verNumber = parseFloat(ClazzLoader.userAgent.subString (index + 6));
211
+ } catch (e) {}
212
+ if (verNumber >= 9.6) {
213
+ ClazzLoader.maxLoadingThreads = 6;
214
+ }
215
216
}
217
218
/**
0 commit comments