|
@@ -21,8 +21,6 @@ import org.openzen.zenscript.javabytecode.JavaLocalVariableInfo;
|
21
|
21
|
import org.openzen.zenscript.javabytecode.compiler.JavaModificationExpressionVisitor.PushOption;
|
22
|
22
|
import org.openzen.zenscript.javashared.*;
|
23
|
23
|
|
24
|
|
-import java.io.FileOutputStream;
|
25
|
|
-import java.io.IOException;
|
26
|
24
|
import java.lang.reflect.Method;
|
27
|
25
|
import java.lang.reflect.Modifier;
|
28
|
26
|
import java.util.Arrays;
|
|
@@ -2086,12 +2084,6 @@ public class JavaExpressionVisitor implements ExpressionVisitor<Void>, JavaNativ
|
2086
|
2084
|
|
2087
|
2085
|
context.register(className, lambdaCW.toByteArray());
|
2088
|
2086
|
|
2089
|
|
- try (FileOutputStream out = new FileOutputStream(className + ".class")) {
|
2090
|
|
- out.write(lambdaCW.toByteArray());
|
2091
|
|
- } catch (IOException e) {
|
2092
|
|
- e.printStackTrace();
|
2093
|
|
- }
|
2094
|
|
-
|
2095
|
2087
|
return null;
|
2096
|
2088
|
}
|
2097
|
2089
|
|
|
@@ -4119,15 +4111,6 @@ public class JavaExpressionVisitor implements ExpressionVisitor<Void>, JavaNativ
|
4119
|
4111
|
javaWriter.dupX1();
|
4120
|
4112
|
javaWriter.swap();
|
4121
|
4113
|
javaWriter.invokeSpecial(className, "<init>", constructorDesc);
|
4122
|
|
-
|
4123
|
|
- //Debug-only, remove later
|
4124
|
|
- if(true) {
|
4125
|
|
- try (FileOutputStream out = new FileOutputStream(className + ".class")) {
|
4126
|
|
- out.write(lambdaCW.toByteArray());
|
4127
|
|
- } catch (IOException e) {
|
4128
|
|
- e.printStackTrace();
|
4129
|
|
- }
|
4130
|
|
- }
|
4131
|
4114
|
}
|
4132
|
4115
|
|
4133
|
4116
|
@Override
|