@JRubyMethod(name = "initialize", required = 1, frame = true, visibility = Visibility.PRIVATE)
public IRubyObject initialize(IRubyObject io, Block unusedBlock) {
realIo = io;
try {
this.io = new GZIPInputStream(new IOInputStream(io));
} catch (IOException e) {
Ruby runtime = io.getRuntime();
RubyClass errorClass = runtime.fastGetModule("Zlib").fastGetClass("GzipReader").fastGetClass("Error");
throw new RaiseException(RubyException.newException(runtime, errorClass, e.getMessage()));
}