You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Beliaev (JIRA)" <ji...@apache.org> on 2007/04/18 14:39:15 UTC

[jira] Created: (HARMONY-3694) [drlvm][kernel] removing 98 build warnings of kernel classes is required

[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.


[jira] Commented: (HARMONY-3694) [drlvm][kernel] removing 98 build warnings of kernel classes is required

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Closed: (HARMONY-3694) [drlvm][kernel] removing 98 build warnings of kernel classes is required

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Beliaev closed HARMONY-3694.
-------------------------------------


> [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.


[jira] Resolved: (HARMONY-3694) [drlvm][kernel] removing 98 build warnings of kernel classes is required

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Beliaev resolved HARMONY-3694.
---------------------------------------

    Resolution: Fixed

Ok, since three subtasks are done this issue can be considered as FIXED.

> [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.