This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      The following code causes the script security plugin to fail with an ExceptionInInitializerError:

      class C {
          private final static boolean initialized;
          static { initialized = true }
      }
      

      The attached patch file adds testcases to SandboxInterceptorTest that shows this failure (and that setting the field using a field initializer and setting a non-final field via a static initalizer works)

            Assignee:
            Jesse Glick
            Reporter:
            Magnus Reftel
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: