jQuery in Action, 2nd edition*
The moose likes JDBC and the fly likes java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details." Watch "java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details." New topic
Author

java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details.

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Hello,

Why these warnings? Please help to understand them



Best Regards
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

This document explains why you get warnings, how you can see if your code is safe or not.


Show us an example piece of your code that generates the warning.

Also have a read of one of Richard's ramblings.
Maybe you have to declare your variables as 'java.util.ArrayList<java.util.ArrayList>' in stead of 'java.util.ArrayList'?


OCUP UML fundamental and ITIL foundation
youtube channel
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Thanks Jan your link is very useful

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details.
 
Similar Threads
Axis2 - error on client
cannot be applied to
warnings going from 1.4.2 to 5.0
Warning error implementing Comparator
Error can't find class