Iced Tea in Crete 2012:UNSAFE

From WikiEducator
Jump to: navigation, search
Convenor: Heinz
  • Rabea
  • Thomas
  • Heinz
  • Kirk

In Java we find the sun.misc.Unsafe class that very advanced programmers use to write optimal code. Of course it is "unsafe", as it allows us to write to memory directly. We tried to use Unsafe to circumvent Applet security, but you either need your class to be loaded by the boot class loader or otherwise you need a signed applet. Thomas thought he found a way to load it without security by specifying the bootclasspath in the applet tag, but it did not work in a browser, only in the appletviewer.


Don't use Unsafe. It is Unsafe, as the name suggests.