Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
mac osX 1.4.2 CVS HEAD as of Aug 24, 2004
Description
The following code fails:
class bugp {
doit()
static void main(String[] args)
{ new bugp().doit() }}
Looking at the decompiled JVM code, the p is declared as a local variable within the method, but the reference to p in the println statement is calling getProperty("p"), which of course it won't find. This used to work, so my guess is the new compiler optimizations that Bing put in is the cause.... If not, sorry Bing, please reassign.