spring-cloud / spring-cloud/spring-cloud-commons
ConfigurationPropertiesRebinder finally use method.invke(xx) to update field , Is there an issue with memory visibility here ?
Open
Nobody has claimed this yet.
waiting-for-triage
- Dominant language
- Java
- Stars
- 751
- Forks
- 744
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
@ConfigurationProperties(prefix = "book")
@Component
public class BootConfig {
private String author;
private String category;
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
@Override
public String toString() {
return "BootConfig{" +
"author='" + author + '\'' +
", category='" + category + '\'' +
'}';
}
}
there fields no volatile flag....
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ConfigurationPropertiesRebinder implementation and the reflective method invocation referenced in the issue. Review how configuration updates are applied and whether the issue provides enough evidence to establish a memory-visibility bug; done would require a confirmed behavior and a clearly scoped fix or explanation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100