Tim Ellison wrote:

The IBM VME comes with a check utility that complains about bad
practices detected in JNI code:

Usage: -Xcheck:jni:[option[,option[,...]]]

        all            check application and system classes
        verbose        trace certain JNI functions and activities
        trace          trace all JNI functions
        nobounds       don't perform bounds checking on strings
                       and arrays
        nonfatal       don't exit when errors are detected
        nowarn         don't display warnings
        noadvice       don't display advice
        novalist       don't check for va_list reuse
        pedantic       perform more thorough, but slower checks
        help           print this screen


Don't run it on the Harmony class libraries unless you have a strong
stomach ;-)

This is very cool. I wonder if after some time when we get this under control, we should add to the standard test bed...

geir


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to