Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8075804

Refactor LoginContext.invokePriv()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      With JDK-8047789, invoke(String methodName) calls the method statically and the implementation has conditional code depending on which of the four methods. It seems we can do some refactoring to define 4 different methods for example:

       571 invokePriv(LOGIN_METHOD) -> invokeLoginMethod

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: