18-Jul megacz HTTP.java: Basic Proxy-Authorization support
-19-Jul megacz POSIX.java: font fix
\ No newline at end of file
+19-Jul megacz POSIX.java: font fix
+
+19-Jul megacz TinySSL.java: workaround for a GCJ bug
\ No newline at end of file
volatile boolean stop = false;
byte counter = 0;
entropySpinner() { start(); }
- public void run() { while (!stop) counter++; }
+ public void run() {
+ while (true) {
+ // without this synchronization, GCJ will over-optimize this loop into an infinite loop. Argh.
+ synchronized(this) {
+ counter++;
+ if (stop) return;
+ }
+ }
+ }
}
static {