Community
Participate
Working Groups
Build Identifier: I20100413-1521 Probably the same issue as #304827 and #305026 , but with actually introducing compile errors. Feel free to close as duplicate. package bugs; public class Holder { static class Insider { Q q; static class Q { } } } Moving Insider to a new file generates: package bugs; import bugs.Holder.Insider; // illegal and completely non-sensical import. public class Holder { } and: package bugs; import bugs.Holder.Insider.Q; // illegal class Insider { Insider.Q q; // strange.. static class Q { } } Reproducible: Always Steps to Reproduce: 1. Create file. 2. Move to new file. 3. Shows in preview / hit confirm.
Same problems in 3.5 in class Insider. The bad import in Holder is new in 3.6. Depends on bug 304827.
*** Bug 353727 has been marked as a duplicate of this bug. ***
*** Bug 107409 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
The problem still occurs in Eclipse 2018-09. The original description is still accurate. Please consider fixing the problem.
(In reply to Erik Brangs from comment #5) > The problem still occurs in Eclipse 2018-09. The original description is > still accurate. > > Please consider fixing the problem. Thanks for retesting.
New Gerrit change created: https://git.eclipse.org/r/160479
Have you had a look at Bug 304827 to see if it's possible ? Seems like that should be the first one addressed and might help fix this one. Otherwise, I'd guess the current fix would only serve as a workaround until the the other bug is resolved.
(In reply to Roland Grunberg from comment #8) > Have you had a look at Bug 304827 to see if it's possible ? Seems like that > should be the first one addressed and might help fix this one. > > Otherwise, I'd guess the current fix would only serve as a workaround until > the the other bug is resolved. Oh, that was a real tar pit to walk into. I think I'll slowly back away... :/ And I think you're right that Bug 304827 probably solves this one also, so perhaps close this one as duplicate and throw away my band-aid attempt.
Still applies to 2022-06.