incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Volkert <tvolk...@gmail.com>
Subject Re: [VOTE] Release Apache Pivot 1.1 (second try)
Date Thu, 16 Apr 2009 15:25:20 GMT
> I've just tried a build on Win/XP, Java 1.6.0.
>
> This reports quite a few compilation warnings, for example:
>
>    [javac] wtk\src\pivot\wtk\content\TreeViewFileRenderer.java:34:
> warning: sun.awt.shell.ShellFolder
>  is Sun proprietary API and may be removed in a future release
>    [javac] import sun.awt.shell.ShellFolder;
>    [javac]                     ^
>    [javac] wtk\src\pivot\wtk\content\TreeViewFileRenderer.java:89:
> warning: sun.awt.shell.ShellFolder
>  is Sun proprietary API and may be removed in a future release
>    [javac]         ShellFolder shellFolder = null;
>    [javac]         ^
>    [javac] wtk\src\pivot\wtk\content\TreeViewFileRenderer.java:91:
> warning: sun.awt.shell.ShellFolder
>  is Sun proprietary API and may be removed in a future release
>    [javac]             shellFolder = ShellFolder.getShellFolder(file);
>    [javac]                           ^
>    [javac] 3 warnings
>
> Does Pivot only work on Sun JVMs?

We've since removed that dependency on the trunk, but the 1.1 release
does have 1 class that will break on a non-Sun JVM (note however that
OpenJDK has the Sun classes).  Bottom line, yes for 1.1, but it's
since been rectified.

>    [javac] core-test\src\pivot\core\test\PropertiesSerializerTest.java:37:
> warning: unmappable character for encoding Cp1252
>    [javac]         testMap.put("i18n",    "┬Ç & Î?ÎÿΣÎóή");
 //
> test some chars to encode ...
>    [javac]                                       ^
>    [javac] 1 warning
>
> Also, the build file does not seem to run any tests, it only compiles them.

Darn Windows encoding.  Yeah, we have a JIRA issue created to better
use unit testing -- right now, it's 99% a TODO :)  I'll fix that file
on the trunk, but since we don't run any unit tests, this warning is
benign.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Mime
View raw message