On Wed, 2006-01-18 at 20:51 -0800, Anthony Green wrote: > On Wed, 2006-01-18 at 00:18 -0500, David Walluck wrote: > > There is some strangeness is some of the options. The cache size, for > > example, is negative (-33). This might happen on Sun as well, I am not sure. > > The Azureus developers helped track this down. Cache size is derived > from Runtime.getRuntime().maxMemory(), for which we return > Long.MAX_VALUE. Subsequent math on this overflows as we cast to an > integer. My latest SRPM has a patch. This seems to be a common problem. Eclipse had the same kind of issue (already fixed), see https://bugs.eclipse.org/bugs/show_bug.cgi?id=11129 We have added it to the page that lists problematic code snippets we found in common free Java applications that make them dependent upon the some specific (proprietary) implementation and that shows how to implement things in a way that standards are respected and compatibility with GNU Classpath is the result: http://developer.classpath.org/mediation/ClasspathMigration Cheers, Mark
Attachment:
signature.asc
Description: This is a digitally signed message part