Fix get method in jre
Use interface instead of properties implementation