Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

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

  • 22-03-2006 12:51PM
    #1
    Registered Users, Registered Users 2 Posts: 8,664 ✭✭✭


    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: 8,664 ✭✭✭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: 8,664 ✭✭✭Trampas


    Cheers mate.

    Thanks for your help


Advertisement