removing classes.jar
This commit is contained in:
parent
a16ceea3f2
commit
8fdec07bdb
Binary file not shown.
Binary file not shown.
@ -1,7 +1,10 @@
|
|||||||
|
|
||||||
|
import bicavm.browser.Window;
|
||||||
|
|
||||||
public class foo{
|
public class foo{
|
||||||
public static void main(String[] args){
|
public static void main(String[] args){
|
||||||
String hello = "hello";
|
String hello = "bicavm";
|
||||||
String world = "world";
|
String world = "changed this title";
|
||||||
String together = hello + world;
|
Window.setTitle(hello + world);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -30,5 +30,8 @@
|
|||||||
},
|
},
|
||||||
'java.lang.Double' : {
|
'java.lang.Double' : {
|
||||||
'method doubleToRawLongBits(D)J' : java_lang_Double_doubleToRawLongBits
|
'method doubleToRawLongBits(D)J' : java_lang_Double_doubleToRawLongBits
|
||||||
|
},
|
||||||
|
'bicavm.browser.Window' : {
|
||||||
|
'method setTitle(Ljava/lang/String;)V' : bicavm_browser_Window_setTitle
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -44,9 +44,14 @@ function java_lang_Float_floatToRawIntBits(f){
|
|||||||
}
|
}
|
||||||
|
|
||||||
//java.lang.Double doubleToRawLongBits(D)J
|
//java.lang.Double doubleToRawLongBits(D)J
|
||||||
function java_lang_Double_doubleToRawLongBits(d){
|
function java_lang_Double_doubleToRawLongBits(d){
|
||||||
var x = new ArrayBuffer(32);
|
var x = new ArrayBuffer(32);
|
||||||
new Float64Array(x,0)[0] = d;
|
new Float64Array(x,0)[0] = d;
|
||||||
var y = new Int32Array(x,0);
|
var y = new Int32Array(x,0);
|
||||||
return new math.Long(y[0],y[1]);
|
return new math.Long(y[0],y[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function bicavm_browser_Window_setLocation(s){
|
||||||
|
window.document.title = javaString2JS(s);
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user