Community
Participate
Working Groups
I noticed a bug while organizing imports. I had class structure: com.lowagie.text.Image com.lowagie.text.pdf.PdfWriter Package com.lowagie.text contains subpackages: html, pdf, xml. I use class Image and PdfWriter. I had declarations: import com.lowagie.text.*; import com.lowagie.text.pdf.*; and everything was OK. I choose "organize imports" and: 1. ...text.pdf.* was changed to ...text.pdf.PdfWriter (correct) 2. ...text.* was removed (wrong) After that I tried to use Ctrl+Shift+O shortcut to add Image declaration, but I was able to choose between java.awt.Image and another from sun package. I left ...text.* declaration - then I was able to compile my class When I packed my class folder into jar file and added it as external jar, everything worked fine: 1. organize imports changed ...text.* to ...text.Image 2. shortcut Ctrl+Shift+O (with removed ...text.* declaration) allow me to choose between java.awt, sun and com.lowagie package
Can you reproduce this? It seems that there was a problem with our search index. Setting to remind. Please reopen if you can still see this problem.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.