title: static variable in JAR shared between processes?
body: <p>In Android I have a service (started through standard <code>startService</code> call). The application is referencing a library JAR file. The first Activity sets a static boolean field to "true", then in the service process, I see that this value is true as well.</p>
  
  <p>How can this be?</p>
  
  <p>The service is started after the value is set -- could it be that the DVM copies the static state when the service process is created, or are <code>static</code> fields shared between processes? I was under the impression that a separate VM was launched for each process.</p>