Quest Pavel's Last Research (120) in Java.

Patch by: @jurchiks
Reviewed by: @Pandragon, @Zoey76