harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3694) [drlvm][kernel] removing 98 build warnings of kernel classes is required
Date Thu, 19 Apr 2007 20:18:15 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490161

Vladimir Beliaev commented on HARMONY-3694:

Looks like attached patches do not kill the system - ./build.bat -Dtest.mode=opt kernel.test
passed on winx64.

> [drlvm][kernel] removing 98 build warnings of kernel classes is required
> ------------------------------------------------------------------------
>                 Key: HARMONY-3694
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3694
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: any
>            Reporter: Vladimir Beliaev
> Right now Kernel Classes build produces 98 compilation warnings like:
>     [javac] 14. WARNING in <trunk>\working_vm\vm\vmcore\src\kernel_classes\javasrc\org\apache\harmony\lang\reflect\Reflection.java
>     [javac]  (at line 40)
>     [javac] 	Constructor<T>[] ret = new Constructor[cs.length];
>     [javac] 	                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
>     [javac] Type safety: The expression of type Constructor[] needs unchecked conversion
to conform to Constructor<T>[]
> This huge "tails" is better be fixed:
>   1. this would increase confidence that "there is no issues" with drlvm kernel classes
>   2. this would increase the Harmony visible quality in general - the product does not
seems to be good if it is built with tens of warnings.
> Ok, I've investigated this issue a bit - most of warnings are caused by improper use
of java5.0 generics. Also some unused declarations are found. More over couple unused classes
were found.
> I'll create several JIRA to simplify the patches testing / commiting (and reverting if
they are wrong)...
> Thanks
> Vladimir Beliaev

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message