Closed jukzi closed 9 months ago
using JDK 21: org.eclipse.emf.ecore.xmi.impl.XMLString.removeLast():
- overrides java.util.List<org.eclipse.emf.ecore.xmi.impl.StringSegment.Element>.removeLast - The return type is incompatible with List<StringSegment.Element>.removeLast()
making removeLast private and rename it would solve the problem for jdk 21
That's nasty. It's a public class that can be extended and that method could be overridden. Highly unlikely of course...
using JDK 21: org.eclipse.emf.ecore.xmi.impl.XMLString.removeLast():