You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adam Heath <do...@brainfood.com> on 2010/04/01 06:53:28 UTC

UtilCache commit(s)

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.

Re: UtilCache commit(s)

Posted by Adrian Crum <ad...@yahoo.com>.
--- On Wed, 3/31/10, Adam Heath <do...@brainfood.com> 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.