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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

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

  • 22-03-2006 12:51pm
    #1
    Registered Users, Registered Users 2 Posts: 7,987 ✭✭✭


    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, Registered Users 2 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, Registered Users 2 Posts: 7,987 ✭✭✭Trampas


    Its a warning.

    I shouldn't worry about it??

    So the classes are still generated ok??


  • Registered Users, Registered Users 2 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, Registered Users 2 Posts: 7,987 ✭✭✭Trampas


    Cheers mate.

    Thanks for your help


Advertisement