-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RecordsFilter should filter out accessors #1393
Conversation
Test reports?? |
Tried to fix, let's see what happens... |
Nice!! All tests passed. |
org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/RecordsFilter.java
Outdated
Show resolved
Hide resolved
@marchof I'm done, please retake a look! |
|
@ice1000 Our CI (and the internet in general) is a bit flaky. Sometime JDK downloads do fail. As you have green builds for most of the JDKs don't worry for now. With your next commit it will probably work again. |
Do you expect a next commit? Is there anything else I can do to get this merged? 🔮 |
@ice1000 We need more commits to finalize this: Can you please add unit test to |
@marchof what do you think about the new two tests I've added? Do I need more? |
org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/RecordsFilterTest.java
Outdated
Show resolved
Hide resolved
org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/RecordsFilterTest.java
Outdated
Show resolved
Hide resolved
@marchof done! I'm adding one more "should_not" test.... |
Looks good now! I would like to fix the change log. Can you please give me write access to your fork? See |
Alternatively please add the following block to changes.html (as the last point under New Features:
|
I don't see the button in the tutorial. I invited you as a collaborator: https://github.com/ice1k/jacoco/invitations |
Probably this is because the repository belongs to a different user (ice1000 vs ice1k). As a collaborator I was now able to push. |
Merge? |
@Godin Can you please have a look? |
Not yet, a second committer (@Godin) will now do the final review. |
org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/RecordsFilter.java
Outdated
Show resolved
Hide resolved
@Godin all done, please retake a look! |
ping 👻 |
@ice1000 We are working on this project in our spare time when we have it. We will appreciate it if you'll let us manage our time by ourselves - no need to send pings. |
You love to see it. Thanks for the work folks |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.apache.maven.plugins:maven-compiler-plugin](https://maven.apache.org/plugins/) | build | minor | `3.10.1` -> `3.11.0` | | [org.jacoco:jacoco-maven-plugin](https://www.jacoco.org/jacoco/trunk/doc/maven.html) ([source](https://github.com/jacoco/jacoco)) | build | patch | `0.8.8` -> `0.8.10` | | [com.graphhopper:graphhopper-map-matching](https://www.graphhopper.com) ([source](https://github.com/graphhopper/graphhopper)) | compile | patch | `7.0` -> `7.0-testgithub6` | | [com.graphhopper:graphhopper-core](https://www.graphhopper.com) ([source](https://github.com/graphhopper/graphhopper)) | compile | patch | `7.0` -> `7.0-testgithub6` | | [org.springframework.boot:spring-boot-starter-parent](https://spring.io/projects/spring-boot) ([source](https://github.com/spring-projects/spring-boot)) | parent | patch | `3.0.5` -> `3.0.6` | --- ### Release Notes <details> <summary>jacoco/jacoco</summary> ### [`v0.8.10`](https://github.com/jacoco/jacoco/releases/tag/v0.8.10): 0.8.10 [Compare Source](jacoco/jacoco@v0.8.9...v0.8.10) #### Fixed bugs - Agent should not require configuration of permissions for `SecurityManager` outside of its `codeBase` (GitHub [#​1425](jacoco/jacoco#1425)). ### [`v0.8.9`](https://github.com/jacoco/jacoco/releases/tag/v0.8.9): 0.8.9 [Compare Source](jacoco/jacoco@v0.8.8...v0.8.9) #### New Features - JaCoCo now officially supports Java 19 and 20 (GitHub [#​1371](jacoco/jacoco#1371), [#​1386](jacoco/jacoco#1386)). - Experimental support for Java 21 class files (GitHub [#​1386](jacoco/jacoco#1386)). - Add parameter to include the current project in the `report-aggregate` Maven goal (GitHub [#​1007](jacoco/jacoco#1007)). - Component accessors generated by the Java compilers for records are filtered out during generation of report. Contributed by Tesla Zhang (GitHub [#​1393](jacoco/jacoco#1393)). #### Fixed bugs - Agent should not open `java.lang` package to unnamed module of the application class loader (GitHub [#​1334](jacoco/jacoco#1334)). #### Non-functional Changes - JaCoCo now depends on ASM 9.5 (GitHub [#​1299](jacoco/jacoco#1299), [#​1368](jacoco/jacoco#1368), [#​1416](jacoco/jacoco#1416)). - JaCoCo build now requires JDK 11 (GitHub [#​1413](jacoco/jacoco#1413)). </details> <details> <summary>graphhopper/graphhopper</summary> ### [`v7.0-pre2`](graphhopper/graphhopper@7.0-pre1...7.0-pre2) [Compare Source](graphhopper/graphhopper@7.0-pre1...7.0-pre2...
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.apache.maven.plugins:maven-compiler-plugin](https://maven.apache.org/plugins/) | build | minor | `3.10.1` -> `3.11.0` | | [org.jacoco:jacoco-maven-plugin](https://www.jacoco.org/jacoco/trunk/doc/maven.html) ([source](https://github.com/jacoco/jacoco)) | build | patch | `0.8.8` -> `0.8.10` | | [com.graphhopper:graphhopper-map-matching](https://www.graphhopper.com) ([source](https://github.com/graphhopper/graphhopper)) | compile | patch | `7.0` -> `7.0-testgithub6` | | [com.graphhopper:graphhopper-core](https://www.graphhopper.com) ([source](https://github.com/graphhopper/graphhopper)) | compile | patch | `7.0` -> `7.0-testgithub6` | | [org.springframework.boot:spring-boot-starter-parent](https://spring.io/projects/spring-boot) ([source](https://github.com/spring-projects/spring-boot)) | parent | patch | `3.0.5` -> `3.0.6` | --- ### Release Notes <details> <summary>jacoco/jacoco</summary> ### [`v0.8.10`](https://github.com/jacoco/jacoco/releases/tag/v0.8.10): 0.8.10 [Compare Source](jacoco/jacoco@v0.8.9...v0.8.10) #### Fixed bugs - Agent should not require configuration of permissions for `SecurityManager` outside of its `codeBase` (GitHub [#​1425](jacoco/jacoco#1425)). ### [`v0.8.9`](https://github.com/jacoco/jacoco/releases/tag/v0.8.9): 0.8.9 [Compare Source](jacoco/jacoco@v0.8.8...v0.8.9) #### New Features - JaCoCo now officially supports Java 19 and 20 (GitHub [#​1371](jacoco/jacoco#1371), [#​1386](jacoco/jacoco#1386)). - Experimental support for Java 21 class files (GitHub [#​1386](jacoco/jacoco#1386)). - Add parameter to include the current project in the `report-aggregate` Maven goal (GitHub [#​1007](jacoco/jacoco#1007)). - Component accessors generated by the Java compilers for records are filtered out during generation of report. Contributed by Tesla Zhang (GitHub [#​1393](jacoco/jacoco#1393)). #### Fixed bugs - Agent should not open `java.lang` package to unnamed module of the application class loader (GitHub [#​1334](jacoco/jacoco#1334)). #### Non-functional Changes - JaCoCo now depends on ASM 9.5 (GitHub [#​1299](jacoco/jacoco#1299), [#​1368](jacoco/jacoco#1368), [#​1416](jacoco/jacoco#1416)). - JaCoCo build now requires JDK 11 (GitHub [#​1413](jacoco/jacoco#1413)). </details> <details> <summary>graphhopper/graphhopper</summary> ### [`v7.0-pre2`](graphhopper/graphhopper@7.0-pre1...7.0-pre2) [Compare Source](graphhopper/graphhopper@7.0-pre1...7.0-pre2...
This PR fixes #1215, but it's not tested. I need help on authoring tests.