Community
Participate
Working Groups
I'm using Eclispe with some Tomcat code. I have some static fields in a class that are assigned values. When I run a method that attempts to change the value on any static field the value does not change. I have tried all sorts of ways to get this to work but when I step through the code using the debugger I see that the value of the static field is shown as null. Even if I assign it a value in the original declaration! thanks, Terry
Could you please provide a test case with steps to reproduce? Do you see the problem only in the debugger? What about printing the value using System.out.println()? Is the value changed?
Closing as WORKSFORME. Please reopen once you can provide more details.