Skip to content

The package javafx.beans.value is accessible from more than one module: <unnamed>, javafx.base #2219

Answered by laeubi
chgenly asked this question in Q&A
Discussion options

You must be logged in to vote

There is no mention of javafx.beans.value in the manifest. The following is included in the manifest.
Bundle-RequiredExecutionEnvironment: JavaSE-17

Then this is wrong

It builds inside Eclipse just fine.

PDE is buggy in this regard because it assumes all packages from a JVM are always imported by default what is no longer true since Java 9+ (and it was even wrong before Java 9).

The rule is simple:

  • java.* ---> Bundle-RequiredExecutionEnvironment
  • everything else ---> Import-Package

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@chgenly
Comment options

@laeubi
Comment options

@chgenly
Comment options

@chgenly
Comment options

Answer selected by akurtakov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants