I'm debugging a Java Swing application that is started via Java WebStart 8.
My network requires me to use a http proxy. This triggers webstart to set the RMISocketFactory to a default implementation.
My problem is the fact I need to use my custom RMISocketFactory.
The code from RMISocketFactory prevents me from resetting it to my custom one:
if (factory != null) {
throw new SocketException("factory already defined");
}
Is there a safe way to reset is?