Hi, static final fields are copied by the javac compiler. So even if you change them you might still have an older value all over the code. Do a clean build to workaround this.
On Tuesday, July 20, 2021 at 5:53:52 AM UTC+3 [email protected] wrote: > Hi, > > I have a static variable "SERVER_URL" where I keep the URL that I use to > consume a WS. At some point put the address 172.31.29.165 for testing. > Currently I use 3.12.118.139 as shown in the box in the attached image, but > for some reason it sends me an error directing me to the other IP address. > I am using Netbeans as IDE. > > This has me surprised and I appreciate your comments. > [image: error.png] > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c16fad1d-95bb-4138-8451-161aed8208fan%40googlegroups.com.
