Mantis - Quercus
Viewing Issue Advanced Details
3145 minor always 12-10-08 10:51 12-10-08 11:03
koreth  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003145: Build failure on latest svn code
    [javac] .../modules/quercus/src/com/caucho/quercus/env/Env.java:5844: cannot find symbol
    [javac] symbol : method put(java.lang.String,com.caucho.quercus.env.Var)
    [javac] location: class java.util.HashMap<java.lang.String,com.caucho.quercus.env.EnvVar>
    [javac] _globalMap.put("GLOBALS", new Var(new GlobalArrayValue(this)));
    [javac] ^

Patch that I'm not sure is correct but makes it compile:

--- a/modules/quercus/src/com/caucho/quercus/env/Env.java
+++ b/modules/quercus/src/com/caucho/quercus/env/Env.java
@@ -5841,7 +5841,7 @@ public class Env {
     listMerge(_shutdownList, saved._shutdownList);
     
     mapMerge(_globalMap, saved._globalMap);
- _globalMap.put("GLOBALS", new Var(new GlobalArrayValue(this)));
+ _globalMap.put("GLOBALS", new EnvVarImpl(new Var(new GlobalArrayValue(this))));
     mapMerge(_staticMap, saved._staticMap);
     mapMerge(_constMap, saved._constMap);
     mapMerge(_lowerConstMap, saved._lowerConstMap);

There are no notes attached to this issue.