| Summary: | [Java9] Ensure FXCanvasEx is Java9-compatible | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF FX | Assignee: | Alexander Nyßen <nyssen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.0.0 | ||
| Target Milestone: | 5.0.0 (Oxygen) M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 499676 | ||
| Bug Blocks: | 482444 | ||
|
Description
Alexander Nyßen
As soon as JDK-8143596 is guaranteed to be resolved in Java9, we should fully merge SWT2FXEventConverter into FXCanvasEx (see bug #499676), ensure it behaves identically to FXCanvas in Java9, is only active in a Java8 environment, and does not conflict with JIGSAW. As its no longer needed in a Java9 environment, we should no longer offer it as own API. Having back-ported the fix for JDK-8143596 into FXCanvasEx (see bug #499676), I ensured that TKSceneListener is accessed via reflection code only, and only in a JavaSE-1.8 environment, where the workaround for JDK-8143596 is still required. FXCanvasEx does no longer provide compile-time dependencies on JDK internal API, and the reflection-based workarounds for JDK-8161282 and JDK-8143596 are limited to Java-8. As such, resolving this as fixed in 5.0.0 M3. |