Implemented native String::equals(String) and compare_to(String).