JDK-8344431 : Remove remaining security manager calls from javafx.web/{android,ios}
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: jfx24
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-11-18
  • Updated: 2024-11-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Blocks :  
Blocks :  
Relates :  
Relates :  
Relates :  
Description
Once JDK-8342461 is done, remove all remaining calls to terminally deprecated security manager APIs from the android and ios code of the javafx.web module.

See JDK-8342997, JDK-8342998, and JDK-8342993 for what was done in the rest of JavaFX.

As part of this, remove the unused imports and the unneeded `@SuppressWarnings("removal")` annotations.
Comments
Andy noted the following uses of AccessController / AccessControlContext in ios and android directories: ExportedJavaObject.java - jfx/modules/javafx.web/src/ios/java/javafx/scene/web (2 matches) HTMLEditorSkin.java - jfx/modules/javafx.web/src/ios/java/javafx/scene/web (6 matches) Timer.java - jfx/modules/javafx.web/src/android/java/com/sun/webkit (2 matches) WebEngine.java - jfx/modules/javafx.web/src/android/java/javafx/scene/web (2 matches) WebEngine.java - web/src/android/java/javafx/scene/web (2 matches) WebPage.java - jfx/modules/javafx.web/src/android/java/com/sun/webkit (2 matches) ExportedJavaObject.java - jfx/modules/javafx.web/src/ios/java/javafx/scene/web JS2JavaBridge.java - jfx/modules/javafx.web/src/ios/java/javafx/scene/web (4 matches) WebEngine.java - jfx/modules/javafx.web/src/android/java/javafx/scene/web WebEngine.java - web/src/android/java/javafx/scene/web WebPage.java - jfx/modules/javafx.web/src/android/java/com/sun/webkit (3 matches)
18-11-2024