jruby/jruby — comment on commit ec24107b8cd7f88b473fd01f6f884beb1734fdaf
File: src/org/jruby/RubyIO.java line 4258
By nahi:

I found this change by recent refactoring. @headius do you have a concrete bug that was fixed by this change?

enc and enc2 of CRuby IO encodings are encodings for read and write, not internal and external. I wrongly interpreted enc and enc2 as int and ext when I ported. I'm wondering this change can cause some edge case IO encoding incompatibilities.