This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Sometimes one needs to statically import the same method name from multiple classes. For example, assertj expects one to statically import assertThat() from the core and guava classes simultaneously: https://github.com/joel-costigliola/assertj-core/issues/682 Expected behavior: 1. User has already statically imported assertThat() from assertj core. 2. Current file references "assertThat(multimap).hasSameEntries()" which can only be resolved using guava's assertThat(). 3. User invokes Fix Imports. 4. Netbeans offer to statically import the guava assertThat(). 5. User accepts. 6. Compiler error goes away. This issue may be related to #71249 and #124283.