       ]
       zip:
         ZipEntry: [
-          o 'initFields(J)V', (rs, _this, zd_long) ->
-              ze = rs.get_zip_descriptor zd_long
+          o 'initFields(J)V', (rs, _this, jzentry) ->
+              ze = rs.get_zip_descriptor jzentry
               _this.fields.name = rs.init_string ze.name
               _this.fields.time = gLong.fromInt ze.stat.mtime
               _this.fields.size = gLong.fromInt ze.stat.size

              gLong.fromInt ze.stat.size
          o 'getMethod(J)I', (rs, jzentry) -> 0 # STORED (i.e. uncompressed)
          o 'read(JJJ[BII)I', (rs, jzfile, jzentry, pos, byte_arr, offset, len) ->
              zf = rs.get_zip_descriptor jzfile
              ze = rs.get_zip_descriptor jzentry
              buf = new Buffer len
              bytes_read = fs.readSync(ze.file, buf, offset, len, pos.toInt())

                add_entries zipfile.path
                zipfile.size = entries.length
              zipfile.size
          o 'getEntry(JLjava/lang/String;Z)J', (rs, jzfile, name, add_slash) ->
              zf = rs.get_zip_descriptor jzfile
              entry_name = rs.jvm2js_str name
              fullpath = "#{zf.path}#{entry_name}"
              try
