Hacking the JDK

Tue Sep 30 13:55:00 CDT 2008

Notes from Ted Neward's Hacking the JDK

NFJS/NESS 2008

Ballsy presentation. format: Audience picked from lists and Ted did it.

  • Binary hacking
    • modifying the JVM settings at runtime
    • changing the JDK security policy at runtime
    • call private mthods, get/set private fields
    • load code remotely from an http server and other place
    • ignore CLASSPATH and -Djava.class.path
    • slipping your own clases ahead of thE jdk'S
    • Modifying byte code during load
    • embedding the JDK in your own (native) code
  • Source hacking
    • modifying the Java launcher (java.exe)
    • modifying the java class library
    • modifying the java compiler
    • modifying the JVM

see slides