Fix NPE in Field#getAnnotation

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Initialize the context class loader to the app class loader

Previously, we initialized it to the boot class loader, but that is
inconsistent with Java; if compiling against OpenJDK's class library,
the context class loader is therefore initialized to the app class
loader, too.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Set File.pathSeparator and File.separator

Many Java programs expect those fields to be initialized to non-null
values, including SCIFIO (http://scif.io/).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Initialize Logger instances to the 'INFO' level by default

... otherwise, logging would throw an exception when trying to
determine whether the current level allows the message to be logged.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Support Logger#log(Level,String,Object)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Avoid committing temporary vi files

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a dummy implementation of EmptyStackException

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement FilterReader

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement a Java-compatible ObjectOutputStream

The Java Language Specification documents the serialization protocol
implemented by this change set:

http://docs.oracle.com/javase/7/docs/platform/serialization/spec/protocol.html#10258

This change is intended to make it easier to use Avian VM as a drop-in
replacement for the Oracle JVM when serializing objects.

The previous serialization code is still available as
avian.LegacyObjectOutputStream.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Test the new, Java-compatible (de)serialization

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Implement the Field#set<PrimitiveType> method family

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
WIP: Implement Java-compatible deserialization

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
wip