I need to recompile a java application written in Java 8. The application uses the class com.sun.javafx.collections.ObservableListWrapper
, but an error occurs when compiling for java 9:
Error:(3, 22) java: package com.sun.javafx.collections is not visible
(package com.sun.javafx.collections is declared in module javafx.base, which does not export it to the unnamed module)
Which class can I use instead ObservableListWrapper
? Or how to get around this problem?
source
share