Bug 518958 - Organize imports adds "import java.;" as import
Summary: Organize imports adds "import java.;" as import
Status: CLOSED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 4.8 M1   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2017-06-29 09:52 EDT by Al Bundy CLA
Modified: 2018-04-09 07:28 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Al Bundy CLA 2017-06-29 09:52:44 EDT
Since upgrading my neon 3 to oxygen (release) organize imports adds "import java.;" as import. :-)
Comment 1 Stephan Herrmann CLA 2017-06-29 11:08:03 EDT
It doesn't for me. Can you provide an example file / project that triggers this?
Comment 2 Al Bundy CLA 2017-06-29 11:50:46 EDT
I've tried to find a small class and copied this class to a small project.
There it works as expected.

But in my large project the import "import java.;" is added.

Unfortunately I have no more informations - I can only say that the import is added. :-/

I've also tried other projects - it seems that they don't have this issue.

After this additional tests I tried my first project and class again und now it is working as expected?!?!
Comment 3 Stephan Herrmann CLA 2017-06-29 11:57:28 EDT
Nothing we can do at the moment, but please re-open when you are able to reproduce the bug more reliably.
Comment 4 Manoj N Palat CLA 2017-08-01 01:30:02 EDT
Verified with Eclipse Photon 4.8 M1 Build id: I20170731-0800
(No specific/reproducible test case to verify)
Comment 5 Al Bundy CLA 2018-04-09 07:28:42 EDT
Since latest Oxygen-versions this issue did not occour again.

So I think this issue can be closed.