Skip to content

Commit

Permalink
Remove \u200b from FindOverridableMethodCall.visitBootstrapMethods()
Browse files Browse the repository at this point in the history
The method ends with \u200b unicode character and Eclipse compiler
assumes that this method can't override the visitBootstrapMethods
defined in the
org.apache.bcel.classfile.Visitor.visitBootstrapMethods(BootstrapMethods)

Since this character is invisible, it was added by mistake and should be
removed to allow SpotBugs compilation in Eclipse.

This fixes issue #1903.
  • Loading branch information
iloveeclipse committed Jan 5, 2022
1 parent d00ac8f commit 35d8922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,8 @@ This is the changelog for SpotBugs. This follows [Keep a Changelog v1.0.0](http:
Currently the versioning policy of this project follows [Semantic Versioning v2.0.0](http://semver.org/spec/v2.0.0.html).

## Unreleased - 2022-??-??
### Fixed
- Fixed spotbugs build with ecj compiler ([#1903](https://github.com/spotbugs/spotbugs/issues/1903))

## 4.5.3 - 2022-01-04
### Security
Expand Down
Expand Up @@ -98,7 +98,7 @@ public void visit(JavaClass obj) {
}

@Override
public void visitBootstrapMethods(BootstrapMethods obj) {
public void visitBootstrapMethods(BootstrapMethods obj) {
if (getXClass().isFinal()) {
return;
}
Expand Down

0 comments on commit 35d8922

Please sign in to comment.