OSDN Git Service

Provide detail when methods or fields exceed the limit.
authorJesse Wilson <jessewilson@google.com>
Thu, 12 Jan 2012 17:09:26 +0000 (12:09 -0500)
committerJesse Wilson <jessewilson@google.com>
Thu, 12 Jan 2012 17:14:08 +0000 (12:14 -0500)
commit4dfe64e94f153ccd8db56bea7b8cdfb02e5bba08
tree0294a60a702e814e8e1ad2a81fc179c06052b527
parent6d1a1dfd0ef006e19067b6ffd927160d0c6d9647
Provide detail when methods or fields exceed the limit.

Here's what the new message looks like:

trouble writing output: Too many fields: 88304; max is 65536. By package:
    10 dalvik.annotation
   278 dalvik.bytecode
    81 dalvik.system
    94 dalvik.system.profiler
   111 java.awt.font
    12 java.beans
   322 java.io
   519 java.lang
    20 java.lang.annotation
    13 java.lang.ref
    72 java.lang.reflect
    72 java.math
      ...

Change-Id: Ieea7efb178522d9ac3cb10c5a6cfb453be3fd72d
dx/src/com/android/dx/dex/file/MemberIdsSection.java
dx/src/com/android/dx/rop/cst/CstType.java