                 add_entries zipfile.path
                 zipfile.size = entries.length
               zipfile.size
-          o 'getEntry(JLjava/lang/String;Z)J', (rs, zd_long, name, add_slash) ->
-              zf = rs.get_zip_descriptor zd_long
+          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

              rs.set_zip_descriptor
                name: 'special', path: 'third_party/classes/'
          o 'close(J)V', (rs, jzfile) -> rs.free_zip_descriptor jzfile
          o 'getTotal(J)I', (rs, zd_long) ->
              zipfile = rs.get_zip_descriptor zd_long
              unless zipfile.size?
                entries = []
                add_entries = (dir) ->

  'java.home':'/', 'file.encoding':'US_ASCII','java.vendor':'DoppioVM',
  'line.separator':'\n', 'file.separator':'/', 'path.separator':':',
  'user.dir':'.','user.home':'.','user.name':'DoppioUser',
  # we don't actually load from this file, but it has to look like a valid filename
  'sun.boot.class.path': '/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar'
}

