Skip to content

Commit

Permalink
[Truffle] Avoid null values when inspecting RubyModule from Java.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Mar 6, 2015
1 parent 209777f commit cb0214a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -363,7 +363,7 @@ public boolean hasName() {

@Override
public String toString() {
return super.toString() + "(" + name + ")";
return super.toString() + "(" + getName() + ")";
}

public void newVersion() {
Expand Down

0 comments on commit cb0214a

Please sign in to comment.