■ ■ ■ ■ ■ ■
jadx-core/src/main/java/jadx/core/codegen/TypeGen.java
| skipped 5 lines |
6 | 6 | | import jadx.core.utils.Utils; |
7 | 7 | | import jadx.core.utils.exceptions.JadxRuntimeException; |
8 | 8 | | |
| 9 | + | import org.slf4j.Logger; |
| 10 | + | import org.slf4j.LoggerFactory; |
| 11 | + | |
9 | 12 | | public class TypeGen { |
| 13 | + | private static final Logger LOG = LoggerFactory.getLogger(TypeGen.class); |
10 | 14 | | |
11 | 15 | | private TypeGen() { |
12 | 16 | | } |
| skipped 46 lines |
59 | 63 | | case OBJECT: |
60 | 64 | | case ARRAY: |
61 | 65 | | if (lit != 0) { |
62 | | - | throw new JadxRuntimeException("Wrong object literal: " + type + " = " + lit); |
| 66 | + | LOG.warn("Wrong object literal: " + lit + " for type: " + type); |
| 67 | + | return Long.toString(lit); |
63 | 68 | | } |
64 | 69 | | return "null"; |
65 | 70 | | |
| skipped 95 lines |