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

Type error in MyListView #8

Closed
jeffreyguenther opened this issue Jan 8, 2014 · 3 comments
Closed

Type error in MyListView #8

jeffreyguenther opened this issue Jan 8, 2014 · 3 comments

Comments

@jeffreyguenther
Copy link
Contributor

I'm trying to keep up with your work. When I try to build the control, I get an error on line 90 of MyListView.java. Type mismatch: cannot convert from capture#16-of ? extends ListCell to null. I'm not familiar with VirtualFlow. Do you know what the issue might be?

@TomasMikula
Copy link
Member

Does this refer to building with Ant or with Eclipse? What JDK8 build are you using? I recommend trying the most recent build. If you are building with Eclipse, make sure the JDT patch for Java 8 is up to date (Help -> Check for Updates).

@jeffreyguenther
Copy link
Contributor Author

I'm building with Eclipse. I'm using JDK8b121. I installed it fresh this morning. The JDT plugin says it's up to date. It was installed this morning with a fresh version of eclipse 4.3.1.

@TomasMikula
Copy link
Member

Turns out my JDT wasn't up to date. After updating I got the same error as you did. I think it is a regression in JDT (javac compilation works, anyway). I added an explicit cast of null to ListCell<T> to help JDT with type inference. Update your working copy ;)

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

No branches or pull requests

2 participants