On Tue, 16 Jul 2024 17:01:08 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> This might be unrelated, but every time the CssParser gets recompiled in > Eclipse I get a bunch of errors (and the errors get cleared after a > clean/rebuild): > > ``` > Description Resource Type Path Location > Cannot infer type arguments for ParsedValueImpl<> CssParser.java Java > Problem /graphics/src/main/java/javafx/css line 2927 > Cannot infer type arguments for ParsedValueImpl<> CssParser.java Java > Problem /graphics/src/main/java/javafx/css line 3117 > Cannot infer type arguments for ParsedValueImpl<> CssParser.java Java > Problem /graphics/src/main/java/javafx/css line 3170 > Cannot infer type arguments for ParsedValueImpl<> CssParser.java Java > Problem /graphics/src/main/java/javafx/css line 3185 > Cannot infer type arguments for ParsedValueImpl<> CssParser.java Java > Problem /graphics/src/main/java/javafx/css line 3510 > Cannot infer type arguments for ParsedValueImpl<> CssParser.java Java > Problem /graphics/src/main/java/javafx/css line 3554 > ``` > > even though it's a perfectly correct code. Any ideas? This is one of those subtle differences between the `ecj` compiler and `javac`. I've seen these as well, and just ignore them. However, I can't remember seeing them recently so it may have been fixed. Are you on the latest Eclipse? ------------- PR Comment: https://git.openjdk.org/jfx/pull/1505#issuecomment-2231693859