forked from spotbugs/spotbugs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into unsaferesfnfix
- Loading branch information
Showing
9 changed files
with
45 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/detect/Issue3305Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package edu.umd.cs.findbugs.detect; | ||
|
||
import edu.umd.cs.findbugs.AbstractIntegrationTest; | ||
import org.junit.jupiter.api.Test; | ||
|
||
class Issue3305Test extends AbstractIntegrationTest { | ||
|
||
@Test | ||
void testIssue() { | ||
performAnalysis("../../../../src/classSamples/ecjSwitchTable/SwitchTableBug.class", | ||
"../../../../src/classSamples/ecjSwitchTable/SwitchTableBug$A.class", | ||
"../../../../src/classSamples/ecjSwitchTable/SwitchTableBug$B.class", | ||
"../../../../src/classSamples/ecjSwitchTable/SwitchTableBug$X.class"); | ||
|
||
assertNoBugType("HSM_HIDING_METHOD"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.1 KB
spotbugsTestCases/src/classSamples/ecjSwitchTable/SwitchTableBug$A.class
Binary file not shown.
Binary file added
BIN
+1.12 KB
spotbugsTestCases/src/classSamples/ecjSwitchTable/SwitchTableBug$B.class
Binary file not shown.
Binary file added
BIN
+1004 Bytes
spotbugsTestCases/src/classSamples/ecjSwitchTable/SwitchTableBug$X.class
Binary file not shown.
Binary file added
BIN
+420 Bytes
spotbugsTestCases/src/classSamples/ecjSwitchTable/SwitchTableBug.class
Binary file not shown.