We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f9c09 commit bb69bd4Copy full SHA for bb69bd4
ext/java/org/jruby/ext/stringio/StringIO.java
@@ -75,8 +75,8 @@ static class StringIOData {
75
}
76
StringIOData ptr;
77
78
- private static final int STRIO_READABLE = ObjectFlags.STRIO_READABLE;
79
- private static final int STRIO_WRITABLE = ObjectFlags.STRIO_WRITABLE;
+ private static final int STRIO_READABLE = ObjectFlags.registry.newFlag(StringIO.class);
+ private static final int STRIO_WRITABLE = ObjectFlags.registry.newFlag(StringIO.class);
80
private static final int STRIO_READWRITE = (STRIO_READABLE | STRIO_WRITABLE);
81
82
public static RubyClass createStringIOClass(final Ruby runtime) {
0 commit comments