Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ public void set(Object pojo, Object value) {
@Override
public Object get(Object pojo) {
try {
//return this.field.get(pojo);
return getter.invoke(pojo);
return this.field.get(pojo);
// With GraalVM native, the code below will box null into 0 and introduce wrong behavior
// return getter.invoke(pojo);
}
catch (RuntimeException ex) { throw ex; }
catch (Throwable ex) { throw new RuntimeException(ex); }
Expand Down