This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exclude Main main | |
dontinline Main doTest | |
compileonly Main doTest | |
compileonly FxIntrinsics * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.reflect.InvocationHandler; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Proxy; | |
import java.lang.reflect.Type; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.Map; | |
public class Test { | |
public interface TestService{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r d90d1b96b65b agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js | |
--- a/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js Fri Jul 26 12:37:39 2013 -0700 | |
+++ b/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js Mon Jul 29 15:18:50 2013 +0800 | |
@@ -35,8 +35,9 @@ | |
sapkg.code = sapkg.hotspot.code; | |
sapkg.compiler = sapkg.hotspot.compiler; | |
-// 'debugger' is a JavaScript keyword :-( | |
-// sapkg.debugger = sapkg.hotspot.debugger; | |
+// 'debugger' is a JavaScript keyword, but ES5 relaxes the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{16d51579-a30b-4c8b-a276-0ff4dc41e755}\ProgID] | |
@="Chakra" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{16d51579-a30b-4c8b-a276-0ff4dc41e755}\ProgID] | |
@="Chakra" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Chakra] | |
@="JScript Language" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\temp>ruby petype.rb petype.rb | |
Not an executable | |
D:\temp>ruby petype.rb C:\Windows\system32\notepad.exe | |
amd64 | |
D:\temp>ruby petype.rb C:\Windows\system32\jscript9.dll | |
amd64 | |
D:\temp>ruby petype.rb C:\Windows\syswow64\jscript9.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
Test test = new Test(); | |
test.fn(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MysteryBox { | |
private long x0, x1; | |
private boolean y0, y1, y2, y3; | |
private int z0; | |
private double[] a = new double[8]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MysteryBox { | |
private long x0, x1; | |
private boolean y0, y1, y2, y3; | |
private int z0; | |
private double[] a = new double[8]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Hello { | |
private static native void abc(); | |
public static void main(String[] args) { | |
System.out.println("I am main"); | |
System.loadLibrary("hello"); | |
abc(); | |
long a = 100; | |
double b = (double)a; | |
System.out.println("Double a is " + b); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kmo@ubuntu:~/sdk/jdk1.7.0_09_32/bin | |
$ ./java | |
bash: ./java: No such file or directory | |
kmo@ubuntu:~/sdk/jdk1.7.0_09_32/bin | |
$ file ./java | |
./java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0xb4f81805640a786538c721d745f97f3485d03e3c, not stripped | |
kmo@ubuntu:~/sdk/jdk1.7.0_09_32/bin | |
$ ldd ./java | |
not a dynamic executable | |
kmo@ubuntu:~/sdk/jdk1.7.0_09_32/bin |