Skip to content

Conversation

@sschr15
Copy link
Member

@sschr15 sschr15 commented Sep 14, 2024

Fixes #409 by adding checks and discarding any clearly bogus generics

@github-actions
Copy link

github-actions bot commented Sep 14, 2024

Test Results

   18 files  ±0     18 suites  ±0   1m 4s ⏱️ -1s
1 940 tests +1  1 939 ✅ +1  1 💤 ±0  0 ❌ ±0 
2 576 runs  +2  2 574 ✅ +2  2 💤 ±0  0 ❌ ±0 

Results for commit e07b7f3. ± Comparison against base commit 2e50dff.

♻️ This comment has been updated with latest results.

@SpaceWalkerRS
Copy link

How do these checks work when signatures depend on each other? For example, a field that initially has a valid signature, but its type class's signature does not pass the check and is modified/removed, which in turn then invalidates that field's signature.

@jaskarth jaskarth force-pushed the develop/1.11.0 branch 2 times, most recently from a6698b7 to 0be304f Compare February 25, 2025 01:56
@jaskarth jaskarth changed the base branch from develop/1.11.0 to develop/1.12.0 August 14, 2025 15:16
@jaskarth
Copy link
Member

I think you may need to rebase off of 1.12.0 for this, the diff and history have been pretty mangled. Thanks!

@jaskarth jaskarth added Subsystem: Generics Anything concerning how generics are decompiled Priority: Medium Medium priority bugfix Fixes a bug labels Aug 14, 2025
@sschr15 sschr15 force-pushed the fix/mismatched-generics branch from 1c14529 to e07b7f3 Compare August 14, 2025 16:41
Copy link
Member

@jaskarth jaskarth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, thanks!

@jaskarth jaskarth merged commit a64ce58 into develop/1.12.0 Aug 14, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a bug Priority: Medium Medium priority Subsystem: Generics Anything concerning how generics are decompiled

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Corrupt generic signatures lead to incorrect class super types/interfaces, field types, and method parameter/variable types

4 participants