Skip to content

Commit

Permalink
update coverage checker to ignore non-public classes
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Mar 19, 2024
1 parent af7863a commit 23773a5
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 48 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
Expand Down
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

105 changes: 57 additions & 48 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public static void compare(List<Path> moduleHolders, Map<String, Pair<String, Cl
if (cn.name.startsWith("sun/")) {
if (!cn.name.equals("sun/misc/Unsafe")) return;
}
if ((cn.access & (Opcodes.ACC_PUBLIC | Opcodes.ACC_PROTECTED)) == 0) return;
newClasses.put(cn.name, new Pair<>(modName, cn));
if (currentVersion.containsKey(cn.name)) {
// check to see what was "removed"
Expand Down

0 comments on commit 23773a5

Please sign in to comment.