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] Created: (HARMONY-3694) [drlvm][kernel] removing 98 build warnings of kernel classes is required
Date Wed, 18 Apr 2007 12:39:15 GMT
[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.


Mime
View raw message