Re: Strange Issue With Static Global Variable in Native

2013-12-07 Thread Alan Bateman
On 07/12/2013 01:22, Dan Xu wrote: Hi All, When working on src/solaris/native/sun/net/spi/DefaultProxySelector.c, previously I tried to cached a jobject (The cached java object is java.net.Proxy.NO_PROXY, which is a special type of Proxy.) as a global static variable, no_proxy, in this c file

Re: Strange Issue With Static Global Variable in Native

2013-12-07 Thread Dan Xu
On 12/07/2013 02:57 AM, Alan Bateman wrote: On 07/12/2013 01:22, Dan Xu wrote: Hi All, When working on src/solaris/native/sun/net/spi/DefaultProxySelector.c, previously I tried to cached a jobject (The cached java object is java.net.Proxy.NO_PROXY, which is a special type of Proxy.) as a g