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

policytool reports error message with prefix of "java.lang.Exception"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 6, 7, 8u25, 9
    • Fix Version/s: 9
    • Component/s: security-libs
    • Environment:

      Windows x86-64, Linux x86-64, Aix PPC64

    • Subcomponent:
    • Introduced In Version:
      6
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Steps to produce
        1.Set JAVA_HOME,JRE_HOME,PATH,DISPALY
        2exceute command -> policytool
        3.click on Edit Policy Entry [without any name , click on Edit policy]

        It reports error message:
        java.lang.Exception:No Policy Entry selected.

        In which case, our customers thought the prefix of this error message "java.lang.Exception" was confusing to some non-tech users, and suggested to change the message as simply "No Policy Entry selected".

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                weijun Weijun Wang
                Reporter:
                luchsh Jonathan Lu
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: