Commit Graph

365 Commits

Author SHA1 Message Date
Roman Shevchenko
fbc3165138 [java decompiler] updates Gradle project 2017-11-28 15:42:02 +01:00
Roman Shevchenko
7521c17aba [java decompiler] updates copyright comment 2017-11-28 12:32:09 +01:00
Roman Shevchenko
6bcc6a511f Cleanup (warning; formatting) 2017-11-28 12:30:01 +01:00
Nicholas Sherlock
fda661d76d FernFlower: Rename classes whose filenames will exceed 255 characters 2017-11-24 22:29:47 +13:00
Egor Ushakov
97ff04b51c fixed line numbers in case of decompile error 2017-10-25 21:13:29 +03:00
Alexandru-Constantin Bledea
c241278aee [PATCH] [Fernflower] prevent null to be cast as short/byte 2017-10-25 19:43:03 +03:00
Maxim Degtyarev
e7854376b8 [PATCH] Fix POP2 opcode handling bug with two category 1 values at the stack top. 2017-10-18 20:05:39 +03:00
Maxim Degtyarev
faaab500e3 RESERVED_WINDOWS_NAMESPACE contains duplicate entries of aux and doesn't contain con which is reserved name too. 2017-10-15 08:18:07 +03:00
Roman Shevchenko
d594bab7cd [java-decompiler] adds Gradle wrapper 2017-09-27 17:48:13 +02:00
Roman Shevchenko
d85e0a6561 [java-decompiler] migrates to Gradle
Simplifies CI (the outer IDEA project no longer bundles JUnit and AssertJ .jars).
2017-09-27 16:23:05 +02:00
Tagir Valeev
7f63baab37 Collections.addAll applied; some more warnings fixed 2017-09-27 16:07:55 +07:00
Alexandru-Constantin Bledea
893450cdb3 [Fernflower] autoboxing primitives should not always be ignored 2017-08-30 12:36:38 +03:00
Dmitry Cherniachenko
39db41ee8b Omit unnecessary unboxing calls in decompiled code 2017-07-10 15:55:33 +03:00
Dmitry Cherniachenko
aa78b7df28 Fixed narrowing cast from 'int' to 'Byte' / 'Short' 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
5db9ad29c8 Removed setConstType() from is isBoxingCall() to avoid hidden side effect
Const type is now adjusted correctly also when the target is
java.lang.Character or java.lang.Integer
2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
d382ba2709 Updated TestPrimitives test to match the source 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
9e788b09cb Fixed conflicts after recent changes in master 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
5f292c415c Removed 'Integer.valueOf()' boxing of literals 2017-07-10 15:55:32 +03:00
Roman Shevchenko
40c4d82996 Cleanup (escaping and other fixes in decompiler/README.md) 2017-06-08 13:16:39 +03:00
Ben Mintz
fd792b711d README.md: escape * and + 2017-06-04 23:31:03 -05:00
Egor.Ushakov
adbf29f8ce IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower - tests 2017-05-10 17:03:48 +03:00
Egor.Ushakov
1f0d42ba0d stabilize tests 2017-05-10 17:03:47 +03:00
Egor.Ushakov
4da62061d9 do not fail on clinit decompile error 2017-05-10 17:03:47 +03:00
Egor.Ushakov
17d4894848 IDEA-172200 Decompiler switch-on-enum multiple switches in same class generates wrong cases for all but the first switch-on-enum 2017-05-05 13:20:07 +03:00
Egor.Ushakov
bbc76e7cb4 IDEA-127533 int field is displayed as char - show \n etc as chars 2017-05-04 14:41:36 +03:00
Egor.Ushakov
844177d33e IDEA-127533 int field is displayed as char - show only reasonable ascii as chars 2017-05-04 12:53:29 +03:00
Egor.Ushakov
1c0cad79c6 minor optimization 2017-05-04 12:53:29 +03:00
Egor.Ushakov
e9ab081201 speedup: cache zip files in fixture 2017-05-04 12:53:29 +03:00
Egor.Ushakov
601cae8cf8 IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower - fixes for IDEA-CR-20517 2017-05-03 15:23:37 +03:00
Egor.Ushakov
6354fc1211 create less trash objects 2017-05-02 11:50:21 +03:00
Egor.Ushakov
af80a017ae minor cleanup 2017-05-02 11:50:21 +03:00
Egor.Ushakov
790027c779 test for super default method call 2017-04-28 12:19:11 +03:00
Egor.Ushakov
645b38d638 test for already used var 2017-04-28 12:19:11 +03:00
Egor.Ushakov
4de826363f (byte) type cast in constructor calls 2017-04-27 15:34:31 +03:00
Egor.Ushakov
997a7747d6 more tests (disabled for now) 2017-04-27 15:34:31 +03:00
Egor.Ushakov
e44ba9905e IDEA-127533 int field is displayed as char 2017-04-26 21:13:00 +03:00
Egor.Ushakov
195dabf6e6 test for union types 2017-04-26 20:32:39 +03:00
Egor.Ushakov
478e6896e9 fixed static interface methods 2017-04-26 20:32:39 +03:00
Egor.Ushakov
6a7763922b fixed lambda parameter names already used in the context 2017-04-26 20:32:39 +03:00
Egor.Ushakov
d40f673689 test for class extending a class with a private constructor 2017-04-26 20:32:38 +03:00
Egor.Ushakov
8c440e281c fixed incorrect constructor method reference 2017-04-26 13:57:24 +03:00
Egor.Ushakov
7575bb57de removed unneeded boxing 2017-04-26 13:57:24 +03:00
Egor.Ushakov
a62cc3f709 IDEA-127499 Decompiler doesn't support switch over enums 2017-04-25 17:42:09 +03:00
Egor.Ushakov
2e9dfd2437 copyright 2017-04-25 17:42:09 +03:00
Egor.Ushakov
538418e84a headexprent is always single-element 2017-04-25 12:39:26 +03:00
Egor.Ushakov
cba10744d8 toString for debugging 2017-04-25 12:39:25 +03:00
Egor.Ushakov
5b634ecb4d do not collect field names into a separate set 2017-04-25 12:39:25 +03:00
Egor.Ushakov
2fab291fe1 minor cleanup: avoid creating empty arrays and unneeded boxing 2017-04-25 12:39:25 +03:00
Dmitry Cherniachenko
5de2e5b11b Use bootstrap classloader to only provide access to JRE classes 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
592a24cd85 Fixed tests after rebasing to the latest master 2017-04-24 16:27:20 +03:00