Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling code with Ant: RosterReader: type parameters of <X>X cannot be determined; no unique maximal instance exists for type variable X with upper bounds int,java.lang.Object #26

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a GWT project for anzsoft.iJabBar.iJabBar
2. Copy the build.xml from the project to the code repo downloaded from this SVN
3. Add the libs/ directory to the classpath in build.xml
4. Run ant in the usual way

What is the expected output? What do you see instead?

The compiler fails with the following error
    [javac] iJabBar\src\anzsoft\iJabBar\client\data\RosterReader.java:210: type parameters of <X>X cannot be determined; no unique maximal instance exists for type variable X with upper bounds int,java.lang.Object
    [javac]             totalCount =  m.get("roster_count");
    [javac]                                ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.


What version of the product are you using? On what operating system?
Happens on latest version of code from SVN. Compiling with JDK 1.6.0_21 on 
Windows XP.


Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 1:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant