Skip to content

Issues-554 fix - Added jdk.proxy4 matching criteria implementation provided in ChaosMonkeyBaseClassFilter.java #562

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions chaos-monkey-docs/src/main/asciidoc/changes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Built with Spring Boot {spring-boot-version}

=== Bug Fixes
// - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove.
- https://github.com/codecentric/chaos-monkey-spring-boot/pull/562[#562] Fix Provided - Not able to inject fault for Spring Data JPA repository method via REST API assault-watcher calls.

=== Improvements
// - https://github.com/codecentric/chaos-monkey-spring-boot/pull/xxx[#xxx] Added example entry. Please don't remove.
Expand All @@ -16,5 +17,8 @@ Built with Spring Boot {spring-boot-version}
This release was only possible because of these great humans ❤️:

// - https://github.com/octocat[@octocat]
- https://github.com/denniseffing[@denniseffing]
- https://github.com/jens-kaiser[@jens-kaiser]
- https://github.com/pratik-chauhan[@pratik-chauhan]

Thank you for your support!
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2022-2023 the original author or authors.
* Copyright 2022-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -49,7 +49,8 @@ private boolean inSpringCloudContextPackage(Class<?> clazz) {
}

private boolean nonFinalOrJdkProxiedClass(Class<?> clazz) {
return !Modifier.isFinal(clazz.getModifiers()) || clazz.getName().startsWith("com.sun.proxy.") || clazz.getName().startsWith("jdk.proxy2.");
return !Modifier.isFinal(clazz.getModifiers()) || clazz.getName().startsWith("com.sun.proxy.") || clazz.getName().startsWith("jdk.proxy");

}

private boolean hasProblematicFinalMethod(Class<?> clazz) {
Expand Down