Updated JavaObjectWeakReference.
Minor changes.