Confirm that SocketStreamHelper static initializer is catching right exceptions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Internal
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to https://openjdk.java.net/jeps/403, on Java 17 access to jdk.net classes will throw an IllegalAccessError. The static initializer for SocketStreamHelper doesn't catch that exception. Instead it catches IllegalAccessException.

      We should confirm what exception is actually thrown on Java 17 when running a test program using the driver with --illegal-access=deny.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: