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 static void main(String[] args){
|
||||
String hello = "hello";
|
||||
String world = "world";
|
||||
String together = hello + world;
|
||||
String hello = "bicavm";
|
||||
String world = "changed this title";
|
||||
Window.setTitle(hello + world);
|
||||
}
|
||||
}
|
@ -30,5 +30,8 @@
|
||||
},
|
||||
'java.lang.Double' : {
|
||||
'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
|
||||
function java_lang_Double_doubleToRawLongBits(d){
|
||||
function java_lang_Double_doubleToRawLongBits(d){
|
||||
var x = new ArrayBuffer(32);
|
||||
new Float64Array(x,0)[0] = d;
|
||||
var y = new Int32Array(x,0);
|
||||
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