Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

"recompile with -Xlint:unchecked for details" java problem

Options
  • 22-03-2006 1:51pm
    #1
    Registered Users Posts: 7,677 ✭✭✭


    I am creating a couple of java programs and when i compile one of them I get the above error.

    I am compiling using command prompt line and using the javac xxx.java command.

    Can anyone help me on this please.


Comments

  • Registered Users Posts: 4,188 ✭✭✭pH


    Is is an error? It's normally it's just a warning
    Note: Recompile with -Xlint:unchecked for details.
    


  • Registered Users Posts: 7,677 ✭✭✭Trampas


    Its a warning.

    I shouldn't worry about it??

    So the classes are still generated ok??


  • Registered Users Posts: 4,188 ✭✭✭pH


    It means you're using the java5.0 compiler and you have old 1.4 style code with unchecked generics - if you want to you can update your code to use generics, but the old 1.4 unchecked code will still work fine.


  • Registered Users Posts: 7,677 ✭✭✭Trampas


    Cheers mate.

    Thanks for your help


Advertisement