Community
Participate
Working Groups
If I try to extract one of the system.out.printlns in EclipseBug#a I get the error: "The following problem prevents performing the operation. Compilation error at line 27. com.sun.net cannot be resolved or is not a type." The class compiles and runs just fine. JSSE is in the classpath import java.security.Security; /** * @version 1.0 * @author */ public class EclipseBug { /** * Constructor for EclipseBug. */ public EclipseBug() { super(); } static { // enable ssl System.setProperty( "java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); // register JSSE provider for SSL Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider ()); } public void a() { System.out.println("foo"); System.out.println("bar"); } }
Sorry, I'm on the 20020214 stable build.
I cannot reproduce with your test case, having jsse on the build path I can perform the extraction without any problem. Can you provide better steps to reproduce ?
Closing, please reopen if able to provide reproduceable steps.