Wrote /root/JavaX-Caches/tmp_2119196315/main.java - 2870 bytes (written=2870, should be 2870)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_321909604 /root/JavaX-Caches/tmp_2119196315/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_2119196315/main.java:1: error: class, interface, or enum expected
sS hjs_coreEstimator() {
^
/root/JavaX-Caches/tmp_2119196315/main.java:6: error: unclosed character literal
self.addEventListener('message', function(e) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:6: error: unclosed character literal
self.addEventListener('message', function(e) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:9: error: class, interface, or enum expected
var et = st + 4;
^
/root/JavaX-Caches/tmp_2119196315/main.java:10: error: class, interface, or enum expected
while(Date.now() < et);
^
/root/JavaX-Caches/tmp_2119196315/main.java:11: error: class, interface, or enum expected
self.postMessage({st: st, et: et});
^
/root/JavaX-Caches/tmp_2119196315/main.java:12: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_2119196315/main.java:13: error: class, interface, or enum expected
}.toString(),
^
/root/JavaX-Caches/tmp_2119196315/main.java:14: error: unclosed character literal
')()'], {type: 'application/javascript'}));
^
/root/JavaX-Caches/tmp_2119196315/main.java:14: error: unclosed character literal
')()'], {type: 'application/javascript'}));
^
/root/JavaX-Caches/tmp_2119196315/main.java:14: error: unclosed character literal
')()'], {type: 'application/javascript'}));
^
/root/JavaX-Caches/tmp_2119196315/main.java:14: error: unclosed character literal
')()'], {type: 'application/javascript'}));
^
/root/JavaX-Caches/tmp_2119196315/main.java:16: error: class, interface, or enum expected
document.getElementById('click').addEventListener('click', function() {
^
/root/JavaX-Caches/tmp_2119196315/main.java:16: error: unclosed character literal
document.getElementById('click').addEventListener('click', function() {
^
/root/JavaX-Caches/tmp_2119196315/main.java:16: error: unclosed character literal
document.getElementById('click').addEventListener('click', function() {
^
/root/JavaX-Caches/tmp_2119196315/main.java:16: error: unclosed character literal
document.getElementById('click').addEventListener('click', function() {
^
/root/JavaX-Caches/tmp_2119196315/main.java:16: error: unclosed character literal
document.getElementById('click').addEventListener('click', function() {
^
/root/JavaX-Caches/tmp_2119196315/main.java:17: error: unclosed character literal
document.getElementById('max').innerHTML = 'Testing concurrency...';
^
/root/JavaX-Caches/tmp_2119196315/main.java:17: error: unclosed character literal
document.getElementById('max').innerHTML = 'Testing concurrency...';
^
/root/JavaX-Caches/tmp_2119196315/main.java:17: error: unclosed character literal
document.getElementById('max').innerHTML = 'Testing concurrency...';
^
/root/JavaX-Caches/tmp_2119196315/main.java:17: error: unclosed character literal
document.getElementById('max').innerHTML = 'Testing concurrency...';
^
/root/JavaX-Caches/tmp_2119196315/main.java:21: error: unclosed character literal
document.getElementById('max').innerHTML = 'Max concurrency: ~' + cores + ' cores';
^
/root/JavaX-Caches/tmp_2119196315/main.java:21: error: unclosed character literal
document.getElementById('max').innerHTML = 'Max concurrency: ~' + cores + ' cores';
^
/root/JavaX-Caches/tmp_2119196315/main.java:21: error: unclosed character literal
document.getElementById('max').innerHTML = 'Max concurrency: ~' + cores + ' cores';
^
/root/JavaX-Caches/tmp_2119196315/main.java:21: error: unclosed character literal
document.getElementById('max').innerHTML = 'Max concurrency: ~' + cores + ' cores';
^
/root/JavaX-Caches/tmp_2119196315/main.java:21: error: unclosed character literal
document.getElementById('max').innerHTML = 'Max concurrency: ~' + cores + ' cores';
^
/root/JavaX-Caches/tmp_2119196315/main.java:21: error: unclosed character literal
document.getElementById('max').innerHTML = 'Max concurrency: ~' + cores + ' cores';
^
/root/JavaX-Caches/tmp_2119196315/main.java:23: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_2119196315/main.java:25: error: class, interface, or enum expected
function sample(max, samples, numWorkers, callback) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:30: error: class, interface, or enum expected
}, 0) / max.length);
^
/root/JavaX-Caches/tmp_2119196315/main.java:31: error: class, interface, or enum expected
avg = Math.max(1, avg);
^
/root/JavaX-Caches/tmp_2119196315/main.java:32: error: class, interface, or enum expected
return callback(null, avg);
^
/root/JavaX-Caches/tmp_2119196315/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:36: error: class, interface, or enum expected
sample(max, samples - 1, numWorkers, callback);
^
/root/JavaX-Caches/tmp_2119196315/main.java:37: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_2119196315/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:42: error: class, interface, or enum expected
var results = [];
^
/root/JavaX-Caches/tmp_2119196315/main.java:43: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:43: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:43: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:45: error: class, interface, or enum expected
worker.addEventListener('message', function(e) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:45: error: unclosed character literal
worker.addEventListener('message', function(e) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:45: error: unclosed character literal
worker.addEventListener('message', function(e) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:47: error: class, interface, or enum expected
if(results.length === numWorkers) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:48: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:48: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:54: error: class, interface, or enum expected
workers.push(worker);
^
/root/JavaX-Caches/tmp_2119196315/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:56: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:56: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:64: error: class, interface, or enum expected
for(var n = 0; n < numWorkers; ++n) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:64: error: class, interface, or enum expected
for(var n = 0; n < numWorkers; ++n) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:64: error: class, interface, or enum expected
for(var n = 0; n < numWorkers; ++n) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:66: error: class, interface, or enum expected
var overlap = overlaps[n] = [];
^
/root/JavaX-Caches/tmp_2119196315/main.java:67: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:67: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:67: error: class, interface, or enum expected
for(var i = 0; i < numWorkers; ++i) {
^
/root/JavaX-Caches/tmp_2119196315/main.java:70: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:72: error: class, interface, or enum expected
if((r1.st > r2.st && r1.st < r2.et) ||
^
/root/JavaX-Caches/tmp_2119196315/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:83: error: class, interface, or enum expected
}, 0);
^
/root/JavaX-Caches/tmp_2119196315/main.java:84: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2119196315/main.java:86: error: class, interface, or enum expected
}
^
66 errors