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

Misleading (non-useful) error message while parsing security policy file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • security-libs
    • beta
    • x86
    • windows_nt



      Name: krT82822 Date: 01/30/2000


      E:\jsrc\imorph>java -version
      java version "1.2.2"
      Java(TM) HotSpot Client VM (1.3beta, mixed mode, build O)

      When the security policy file contains line with property expansion and the
      property name referenced has not been defined, the error message issued is
      "Expecting ; found ," which makes no sense.

      E.g.
              permission java.io.FilePermission "${undefined}/*", "read";
      (Review ID: 100485)
      ======================================================================

            claisunw Charlie Lai (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: