UtilCache commit(s)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

UtilCache commit(s)

Adam Heath-2
I'm all done now.  Don't yet have full tests, nor 100% coverage on
disk storage.  But it's much better than what it was.
Reply | Threaded
Open this post in threaded view
|

Re: UtilCache commit(s)

Adrian Crum-2
--- On Wed, 3/31/10, Adam Heath <[hidden email]> wrote:
> I'm all done now.  Don't yet
> have full tests, nor 100% coverage on
> disk storage.  But it's much better than what it was.

You're not quite done:

  [javac16] C:\ofbiz\framework\base\src\org\ofbiz\base\util\cache\UtilCache.java
:837: cannot find symbol
  [javac16] symbol  : variable loadTime
  [javac16] location: class org.ofbiz.base.util.cache.CacheLine<V>
  [javac16]         if (line.loadTime > 0) {
  [javac16]                 ^
  [javac16] C:\ofbiz\framework\base\src\org\ofbiz\base\util\cache\UtilCache.java
:838: cannot find symbol
  [javac16] symbol  : variable loadTime
  [javac16] location: class org.ofbiz.base.util.cache.CacheLine<V>
  [javac16]             lineInfo.put("expireTime", new Date(line.loadTime + line
.expireTime));
  [javac16]                                                     ^
  [javac16] C:\ofbiz\framework\base\src\org\ofbiz\base\util\cache\UtilCache.java
:838: cannot find symbol
  [javac16] symbol  : variable expireTime
  [javac16] location: class org.ofbiz.base.util.cache.CacheLine<V>
  [javac16]             lineInfo.put("expireTime", new Date(line.loadTime + line
.expireTime));
  [javac16]
^
  [javac16] C:\ofbiz\framework\base\src\org\ofbiz\base\util\cache\UtilCache.java
:838: warning: [deprecation] Date(java.lang.String) in java.util.Date has been d
eprecated
  [javac16]             lineInfo.put("expireTime", new Date(line.loadTime + line
.expireTime));
  [javac16]                                        ^
  [javac16] C:\ofbiz\framework\base\src\org\ofbiz\base\util\cache\UtilCache.java
:840: cannot find symbol
  [javac16] symbol  : method getSizeInBytes()
  [javac16] location: class org.ofbiz.base.util.cache.CacheLine<V>
  [javac16]         lineInfo.put("lineSize", line.getSizeInBytes());
  [javac16]                                      ^
  [javac16] C:\ofbiz\framework\base\src\org\ofbiz\base\util\cache\UtilCache.java
:853: incompatible types
  [javac16] found   : V
  [javac16] required: org.ofbiz.base.util.cache.CacheLine<V>
  [javac16]                     line = fileTable.get(nulledKey);
  [javac16]                                         ^
  [javac16] Note: Some input files use unchecked or unsafe operations.
  [javac16] Note: Recompile with -Xlint:unchecked for details.
  [javac16] 5 errors
  [javac16] 2 warnings

BUILD FAILED
C:\ofbiz\build.xml:192: The following error occurred while executing this line:
C:\ofbiz\framework\build.xml:148: The following error occurred while executing t
his line:
C:\ofbiz\macros.xml:27: The following error occurred while executing this line:
C:\ofbiz\framework\base\build.xml:87: Compile failed; see the compiler error out
put for details.