Skip to content

1.4 Sources#1

Merged
Dream-Master merged 2 commits intomasterfrom
1.4-sources
Dec 22, 2022
Merged

1.4 Sources#1
Dream-Master merged 2 commits intomasterfrom
1.4-sources

Conversation

@glowredman
Copy link
Copy Markdown
Member

Initially I only found the sources for version 1.2 but now I also found the sources for version 1.4 (latest). Using these fixes these problems of decompiled code:

  • Fields being at the beginning of the class (some classes have hundreds of fields which makes any dev scroll for a while before the actually interesting code starts)
  • Nested if statements (instead of early exits)
  • Some constants were replaced during compiling and couldn't be replaced during decompiling
  • Parameters and local variables having ambigous names (par1/var1)*
  • All comments/javadocs being removed while compiling and not being un-removed during decompiling**

* I circumvented this by using the 1.2 sources as reference and renaming all parameters/local variables. I might have missed some though.
** In this case the only comments were the license headers on the top of each class

@glowredman glowredman requested review from a team December 22, 2022 14:31
@Dream-Master Dream-Master merged commit 98fe9d1 into master Dec 22, 2022
@Dream-Master Dream-Master deleted the 1.4-sources branch December 22, 2022 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants