Quote:
Originally Posted by LittleLui
oh dear... thanks, ixtab! I'd love to see the sourcecode for the json_simple (well.. the breaking free from classloader limitations part at least) though 
|
There you go. Source project is attached.
A few more things to note:
You will need to bundle the "frontend" jar with your application (see build.xml) of the sample app. Take a look at the SuicidalKindlet and Jailbreak classes in there. You can also start and stop jailbreak mode at runtime (jailbreak.enable() and jailbreak.disable() etc.), or you can subclass Jailbreak to get additional permissions directly when the application launches. Or, from within your own code, you can request them when needed:
Code:
jailbreak.getContext().requestPermission(new FilePermission(...));
Et cetera. From a "user" (Kindlet developer) perspective, the frontend is more interesting. From a "hacker" perspective, it may be the backend
EDIT (2014-02-02): The source code now has an "official" home. I removed the attachment from this post, please get the sources from the repository.