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

Build fail: name clash #10647

Closed
2 tasks done
linsui opened this issue Nov 19, 2023 · 2 comments
Closed
2 tasks done

Build fail: name clash #10647

linsui opened this issue Nov 19, 2023 · 2 comments

Comments

@linsui
Copy link
Contributor

linsui commented Nov 19, 2023

JabRef version

5.11 (latest release)

Operating system

GNU / Linux

Details on version and operating system

No response

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

> Task :compileJava
/build/source/src/main/java/org/jabref/gui/autocompleter/AutoCompletionTextInputBinding.java:45: error: name clash: removeEventHandler(EventType<E#1>,EventHan
dler<? super E#1>) in EventTarget and removeEventHandler(EventType<E#2>,EventHandler<E#2>) in AutoCompletionBinding have the same erasure, yet neither overrid
es the other
public class AutoCompletionTextInputBinding<T> extends AutoCompletionBinding<T> {
       ^
  where E#1,E#2 are type-variables:
    E#1 extends Event declared in method <E#1>removeEventHandler(EventType<E#1>,EventHandler<? super E#1>)
    E#2 extends Event declared in method <E#2>removeEventHandler(EventType<E#2>,EventHandler<E#2>)

Appendix

...

Log File
Paste an excerpt of your log file here
@Siedlerchr
Copy link
Member

Siedlerchr commented Nov 19, 2023

5.11 requires JDK21, but JavaFX 20. JavaFX is independen of the jkd.

5.12 works with javafx 21
The latest main is working with JavaFX 21 build again:
Refs #10627

@linsui
Copy link
Contributor Author

linsui commented Nov 19, 2023

Thanks!

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