File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes compile warning - what does it mean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "compile warning - what does it mean?" Watch "compile warning - what does it mean?" New topic

compile warning - what does it mean?

Karen Baog
Ranch Hand

Joined: Mar 02, 2005
Posts: 120
Hello, everyone!

I get this compile warning message:

*.java uses unchecked or unsafe operations.

What does this mean?

amerzil co-ed student<br />"Praise be the Code"
Maureen Charlton
Ranch Hand

Joined: Oct 04, 2004
Posts: 218

Not sure if the following helps but my understanding is unchecked refers to Exception errors. Maybe someone else could elaborate on this.
Henry Wong

Joined: Sep 28, 2004
Posts: 20531

I think it has to do with Java 5 Generics. You are probably using Java 5, with pre-Java 5 code.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
I agree. Here's the link:
subject: compile warning - what does it mean?
It's not a secret anymore!