Skip to content

Document attribute listener removal fix - #1079

Closed
sainadh777 wants to merge 1 commit into
apache:mainfrom
sainadh777:fix/model-mbean-attribute-listener-removal
Closed

sainadh777 wants to merge 1 commit into
apache:mainfrom
sainadh777:fix/model-mbean-attribute-listener-removal

Conversation

@sainadh777

@sainadh777 sainadh777 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add the missing changelog entry for the name-scoped attribute listener removal fix
  • remove the now-completed TODO item and update the section totals

Context

The original implementation in this PR was superseded by upstream commit e00a3d6, which uses simpler listener-removal semantics and includes comprehensive regression coverage. The branch has been rebased onto current main and the superseded implementation has been removed, making the inline review comments obsolete.

This PR now retains only the useful follow-up documentation cleanup.

Validation

Run with Eclipse Temurin JDK 25 in an isolated Linux container:

  • ant -Dexecute.validate=true validate — passed
  • ant clean followed by ant — passed
  • ant -Dtest.entry=org.apache.tomcat.util.modeler.TestBaseModelMBeanNotifications test — passed: 9 tests, 0 failures, 0 errors, 0 skipped

@sainadh777

Copy link
Copy Markdown
Contributor Author

@rmaucher and @markt-asf, could you please review this modeler listener-bookkeeping fix? Rémy has the most recent substantive history on BaseModelMBean and BaseNotificationBroadcaster, while Mark has recent history across all three modified modeler classes. GitHub did not permit formal review requests from this fork.

@sainadh777
sainadh777 force-pushed the fix/model-mbean-attribute-listener-removal branch from ea2db65 to 1a563a2 Compare October 16, 2026 15:55
@sainadh777 sainadh777 changed the title Fix attribute notification listener removal Document attribute listener removal fix Oct 16, 2026
@sainadh777

Copy link
Copy Markdown
Contributor Author

@markt-asf I rebased this PR onto current main. The original implementation has been removed because e00a3d6 independently fixed the issue upstream with simpler semantics and comprehensive tests, so the four inline comments are now obsolete and have been resolved. The PR now only adds the missing changelog entry and removes the completed TODO item. Validation, a clean build, and all 9 TestBaseModelMBeanNotifications tests pass. Please re-review when convenient.

@sainadh777
sainadh777 requested a review from markt-asf October 16, 2026 15:58
@markt-asf

Copy link
Copy Markdown
Contributor

@rmaucher opted not to add a change log entry. I've updated the TODO list.

@markt-asf markt-asf closed this Oct 19, 2026
@rmaucher

Copy link
Copy Markdown
Contributor

Right, this was part of code review issues found. There are many many issues, so when they realistically affect nobody I am not adding an explicit changelog entry.

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.

3 participants