Hello Gabrielle,

I guess Adam and Jeanne will be the most able to answer this question. 
However, from my experiece, JDeveloper cannot detect the unchecked 
warnings, e.g. the following unchecked won't be deteted by JDev:

public List<String> getStringList();

public void myMethod()
{
    List myList = getStringList();
}

Also, JDeveloper has an issue when autoboxing constants. The following was 
killing the compilation unit when I last tested it with SP2 :

public static final Long MY_LONG = 0L;

This line is not so nice looking anyway though.


Regards,

Simon





Gabrielle Crawford <[EMAIL PROTECTED]>
2006-08-16 12:30
Please respond to adffaces-dev
 
        To:     [email protected]
        cc: 
        Subject:        java 5 compliance in jdev


Hi,

I'm testing using the demo bundle and the jdev project created by 
running mvn jdev:jdev.

Does anyone know if there is a way to set something in jdev to check for 
java5 compliance when compiling?

Thanks,

Gabrielle


Reply via email to