Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use internal class (oktadev#362)
Use `CookieHandler.getDefault()` instead of the `com.sun.webkit.network.CookieManager` internal class. `CookieHandler.getDefault()` returns an instance of `com.sun.webkit.network.CookieManager` so this change results in the same behavior. This change fixes this error at runtime: ``` Exception in thread "JavaFX Application Thread" java.lang.IllegalAccessError: class com.okta.tools.authentication.CookieManager (in unnamed module @0x1ce24091) cannot access class com.sun.webkit.network.CookieManager (in module javafx.web) because module javafx.web does not export com.sun.webkit.network to unnamed module @0x1ce24091 ```
- Loading branch information