Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8359917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:18:15+00:00 2026-06-09T11:18:15+00:00

I am working on a project that is going on for several months now.

  • 0

I am working on a project that is going on for several months now.
Suddenly when compiling we get the error:

Note: Some input files use unchecked or unsafe operations
Note: Recompile with -Xlint:unchecked for details.

After adding the -Xlint the above message disappear but the only error we get is:

[javac] 1 error

There are however about 45 warning. most of them not new.
Could it be that there is some new warning that I missed that cause the compilation to fail?

Edit:
I forgot to mention that the project builds properly on eclipse.
once a week we build using ant to product a version for the server.
I just want to know if there is a way to pin point the problem otherwise I guess I would have to review last 30 commits or go fix warning by warning.

Edit 2:
Problem fixed. I am not sure what it was exactly but I suspect that editing the my module.gwt.xml using external editor which might have miss-guessed the file encoding, inserted some non-visible characters with a wrong encoding which in turn caused the compiler to give an error w/o a proper description. (maybe I don’t know)

So what lessons should I take from this? handle all warning? (not sure that is always possible.)
using a jenkins? (as @Jayan suggested) the project manager would never approve investing time on such things in my company.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:18:17+00:00Added an answer on June 9, 2026 at 11:18 am

    This error normally appears when you use a deprecated version of a class that now takes a Generic parameter. For example, in Java 6 and earlier, JList treated everything as Objects, and it was up to the programmer to cast everything correctly. In Java 7, JList is now JList<E>, with the parameter being the type of Objects contained in the list. JList (without generics) will still work, but you will get an error like the one you are experiencing.

    EDIT: The reason, by the way, that these operations are considered unsafe is that, without the generics, types cannot be compared at compile time, and must be checked at runtime.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working on a ASP.NET project that is going to save uploaded files
I'm working on a project that is going to be heavily templated, but the
I am going to be working on a project that will heavily involve indexing
I'm working on project that lets users choose some scientific authors and columnists and
I am working on a project that already has begun being developed. ON some
I'm working in a project that need to get SVD (Single Values Decomposition) for
I'm working a personal project that's going to include a home-screen widget updated with
I am working a project that is going to be made open source eventually.
I have project that I'm working on that is going to require a webserver.
I'm working on a project that is going to make heavy use of JBoss

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.