JakeWharton / jardiff

A Python script which quickly creates diffs of the public API between two JAR files
Apache License 2.0
186 stars 16 forks source link

Big jars == big argument lists. #3

Closed JakeWharton closed 10 years ago

JakeWharton commented 10 years ago
Traceback (most recent call last):
  File "/Users/jw/dev/jardiff/jardiff.py", line 102, in <module>
    _main(sys.argv[1], sys.argv[2])
  File "/Users/jw/dev/jardiff/jardiff.py", line 91, in _main
    old_data = process_archive(temp_folder, old_archive)
  File "/Users/jw/dev/jardiff/jardiff.py", line 76, in process_archive
    info = _javap_public(classes)
  File "/Users/jw/dev/jardiff/jardiff.py", line 30, in _javap_public
    return str(subprocess.check_output(['javap', '-public'] + files))
  File "/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 7] Argument list too long
JakeWharton commented 10 years ago

165222ab500f7c6a0e714fa3e8f57d7bdd175d31