JDK-8333372 : CssParser: Generic warnings in Eclipse on branch change
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: jfx22
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-05-31
  • Updated: 2024-05-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Occasionally when I change branch in Eclipse I get these warnings:

Description	Resource	Path	Location
Cannot infer type arguments for ParsedValueImpl<>	CssParser.java	/graphics/src/main/java/javafx/css	line 2927
Cannot infer type arguments for ParsedValueImpl<>	CssParser.java	/graphics/src/main/java/javafx/css	line 3117
Cannot infer type arguments for ParsedValueImpl<>	CssParser.java	/graphics/src/main/java/javafx/css	line 3170
Cannot infer type arguments for ParsedValueImpl<>	CssParser.java	/graphics/src/main/java/javafx/css	line 3185
Cannot infer type arguments for ParsedValueImpl<>	CssParser.java	/graphics/src/main/java/javafx/css	line 3510
Cannot infer type arguments for ParsedValueImpl<>	CssParser.java	/graphics/src/main/java/javafx/css	line 3554

The warnings clear after complete rebuild.  No warnings during gradle build.

This might be an Eclipse problem, but I think we should either  drop the diamond operator on these lines or use a fully qualified kind.