mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Preparing to merge into master
This commit is contained in:
parent
2971efb62b
commit
cd0dd134cc
|
@ -65,12 +65,10 @@
|
|||
<targetDirectory>${project.build.directory}/generated/js/teavm</targetDirectory>
|
||||
<mainClass>org.teavm.samples.async.AsyncProgram</mainClass>
|
||||
<runtime>SEPARATE</runtime>
|
||||
<minifying>false</minifying>
|
||||
<minifying>true</minifying>
|
||||
<debugInformationGenerated>true</debugInformationGenerated>
|
||||
<!--
|
||||
<sourceMapsGenerated>true</sourceMapsGenerated>
|
||||
<sourceFilesCopied>true</sourceFilesCopied>
|
||||
-->
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
|
|
@ -73,7 +73,7 @@ public final class AsyncProgram {
|
|||
|
||||
private static void findPrimes() {
|
||||
report("Finding primes");
|
||||
boolean[] prime = new boolean[1000000];
|
||||
boolean[] prime = new boolean[1000];
|
||||
prime[2] = true;
|
||||
prime[3] = true;
|
||||
nextPrime: for (int i = 5; i < prime.length; i += 2) {
|
||||
|
|
|
@ -73,7 +73,7 @@ public class ObjectTest {
|
|||
long start = System.currentTimeMillis();
|
||||
final Object lock = new Object();
|
||||
synchronized (lock) {
|
||||
lock.wait(100);
|
||||
lock.wait(110);
|
||||
}
|
||||
long end = System.currentTimeMillis();
|
||||
assertTrue(end - start > 100);
|
||||
|
|
Loading…
Reference in New Issue
Block a user