Jean-Baptiste Onofré wrote: > > you are right, for instance a singleton (static) is local to one > classloader. >
Please let me clarify - in my test when I use Import-Package, several bundles see the same static variable, exported by common bundle. When one bundle changes static value, all other bundles see the change. Is this expected behaviour or am I doing something wrong? Shouldn't each bundle load and initialize its own copy of imported class? Thanks, Ludvik -- View this message in context: http://karaf.922171.n3.nabble.com/Static-variables-tp3287037p3289607.html Sent from the Karaf - User mailing list archive at Nabble.com.
