Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am Godin on github.
  • I am godin (https://keybase.io/godin) on keybase.
  • I have a public key whose fingerprint is A413 F67D 71BE EC23 ADD0 CE0A CB43 338E 060C F9FA

To claim this, I am signing this object:

@Godin
Godin / LINKS.txt
Last active April 12, 2016 12:03
glibcxx incompatibility example
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class Main {
public static void main(String[] args) {
ExecutorService executor = Executors.newFixedThreadPool(2);
executor.execute(new Runnable() {
public void run() {
System.out.println("Done");
public class Test {
public interface MyInterface {
String method();
}
public static class MyClass implements MyInterface {
@Override
public String method() {
return "Hello world!";
}
@Godin
Godin / gist:1719993
Created February 1, 2012 22:57
Oracle JDK 1.6 vs IBM JDK 1.6
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
public class TestJdks {
@Test
public void test() {
Map<String, String> map = new HashMap<String, String>();
$ cat Foo.java
package example;
public class Foo {
public static void staticMethod(int a) {
System.out.println("Foo");
}
}
$ cat Bar.java