class sun.security.tools.policytool.ToolDialog extends javax.swing.JDialog
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.ToolDialog
super_class: javax.swing.JDialog
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -372244357011301190
static final javax.swing.KeyStroke escKey;
descriptor: Ljavax/swing/KeyStroke;
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static final int NOACTION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int QUIT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int NEW;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int OPEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final java.lang.String ALL_PERM_CLASS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "java.security.AllPermission"
public static final java.lang.String FILE_PERM_CLASS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "java.io.FilePermission"
public static final java.lang.String X500_PRIN_CLASS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "javax.security.auth.x500.X500Principal"
public static final java.lang.String PERM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String PRIN_TYPE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String PRIN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String PERM_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String PERM_ACTIONS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int PE_CODEBASE_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int PE_CODEBASE_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PE_SIGNEDBY_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int PE_SIGNEDBY_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int PE_PANEL0;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int PE_ADD_PRIN_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int PE_EDIT_PRIN_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PE_REMOVE_PRIN_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int PE_PRIN_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int PE_PRIN_LIST;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int PE_PANEL1;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 7
public static final int PE_ADD_PERM_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int PE_EDIT_PERM_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PE_REMOVE_PERM_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int PE_PERM_LIST;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int PE_PANEL2;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 9
public static final int PE_CANCEL_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PE_DONE_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int PRD_DESC_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int PRD_PRIN_CHOICE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PRD_PRIN_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int PRD_NAME_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int PRD_NAME_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int PRD_CANCEL_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int PRD_OK_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int PD_DESC_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int PD_PERM_CHOICE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PD_PERM_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int PD_NAME_CHOICE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int PD_NAME_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int PD_ACTIONS_CHOICE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int PD_ACTIONS_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int PD_SIGNEDBY_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 7
public static final int PD_SIGNEDBY_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int PD_CANCEL_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 10
public static final int PD_OK_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 9
public static final int EDIT_KEYSTORE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int KSD_NAME_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int KSD_NAME_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int KSD_TYPE_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int KSD_TYPE_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int KSD_PROVIDER_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int KSD_PROVIDER_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int KSD_PWD_URL_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int KSD_PWD_URL_TEXTFIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 7
public static final int KSD_CANCEL_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 9
public static final int KSD_OK_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int USC_LABEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int USC_PANEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int USC_YES_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int USC_NO_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int USC_CANCEL_BUTTON;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int CRPE_LABEL1;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int CRPE_LABEL2;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int CRPE_PANEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int CRPE_PANEL_OK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int CRPE_PANEL_CANCEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int PERMISSION;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int PERMISSION_NAME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int PERMISSION_ACTIONS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int PERMISSION_SIGNEDBY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int PRINCIPAL_TYPE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int PRINCIPAL_NAME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
static final int TEXTFIELD_HEIGHT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static java.util.ArrayList<sun.security.tools.policytool.Perm> PERM_ARRAY;
descriptor: Ljava/util/ArrayList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Signature: Ljava/util/ArrayList<Lsun/security/tools/policytool/Perm;>;
public static java.util.ArrayList<sun.security.tools.policytool.Prin> PRIN_ARRAY;
descriptor: Ljava/util/ArrayList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Signature: Ljava/util/ArrayList<Lsun/security/tools/policytool/Prin;>;
sun.security.tools.policytool.PolicyTool tool;
descriptor: Lsun/security/tools/policytool/PolicyTool;
flags: (0x0000)
sun.security.tools.policytool.ToolWindow tw;
descriptor: Lsun/security/tools/policytool/ToolWindow;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: bipush 27
iconst_0
invokestatic javax.swing.KeyStroke.getKeyStroke:(II)Ljavax/swing/KeyStroke;
putstatic sun.security.tools.policytool.ToolDialog.escKey:Ljavax/swing/KeyStroke;
1: ldc "Permission."
2: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
3: putstatic sun.security.tools.policytool.ToolDialog.PERM:Ljava/lang/String;
4: ldc "Principal.Type."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
5: putstatic sun.security.tools.policytool.ToolDialog.PRIN_TYPE:Ljava/lang/String;
6: ldc "Principal.Name."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
7: putstatic sun.security.tools.policytool.ToolDialog.PRIN_NAME:Ljava/lang/String;
8: ldc "Target.Name."
9: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
10: putstatic sun.security.tools.policytool.ToolDialog.PERM_NAME:Ljava/lang/String;
11: ldc "Actions."
12: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
13: putstatic sun.security.tools.policytool.ToolDialog.PERM_ACTIONS:Ljava/lang/String;
14: new javax.swing.JComboBox
dup
invokespecial javax.swing.JComboBox.<init>:()V
invokevirtual javax.swing.JComboBox.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
putstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
15: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
16: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.AllPerm
dup
invokespecial sun.security.tools.policytool.AllPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
17: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.AudioPerm
dup
invokespecial sun.security.tools.policytool.AudioPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
18: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.AuthPerm
dup
invokespecial sun.security.tools.policytool.AuthPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
19: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.AWTPerm
dup
invokespecial sun.security.tools.policytool.AWTPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
20: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.DelegationPerm
dup
invokespecial sun.security.tools.policytool.DelegationPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
21: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.FilePerm
dup
invokespecial sun.security.tools.policytool.FilePerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
22: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.URLPerm
dup
invokespecial sun.security.tools.policytool.URLPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
23: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.InqSecContextPerm
dup
invokespecial sun.security.tools.policytool.InqSecContextPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
24: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.LogPerm
dup
invokespecial sun.security.tools.policytool.LogPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
25: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.MgmtPerm
dup
invokespecial sun.security.tools.policytool.MgmtPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
26: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.MBeanPerm
dup
invokespecial sun.security.tools.policytool.MBeanPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
27: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.MBeanSvrPerm
dup
invokespecial sun.security.tools.policytool.MBeanSvrPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
28: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.MBeanTrustPerm
dup
invokespecial sun.security.tools.policytool.MBeanTrustPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
29: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.NetPerm
dup
invokespecial sun.security.tools.policytool.NetPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
30: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.PrivCredPerm
dup
invokespecial sun.security.tools.policytool.PrivCredPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
31: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.PropPerm
dup
invokespecial sun.security.tools.policytool.PropPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
32: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.ReflectPerm
dup
invokespecial sun.security.tools.policytool.ReflectPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
33: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.RuntimePerm
dup
invokespecial sun.security.tools.policytool.RuntimePerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
34: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.SecurityPerm
dup
invokespecial sun.security.tools.policytool.SecurityPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
35: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.SerialPerm
dup
invokespecial sun.security.tools.policytool.SerialPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
36: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.ServicePerm
dup
invokespecial sun.security.tools.policytool.ServicePerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
37: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.SocketPerm
dup
invokespecial sun.security.tools.policytool.SocketPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
38: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.SQLPerm
dup
invokespecial sun.security.tools.policytool.SQLPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
39: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.SSLPerm
dup
invokespecial sun.security.tools.policytool.SSLPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
40: getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.SubjDelegPerm
dup
invokespecial sun.security.tools.policytool.SubjDelegPerm.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
41: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic sun.security.tools.policytool.ToolDialog.PRIN_ARRAY:Ljava/util/ArrayList;
42: getstatic sun.security.tools.policytool.ToolDialog.PRIN_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.KrbPrin
dup
invokespecial sun.security.tools.policytool.KrbPrin.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
43: getstatic sun.security.tools.policytool.ToolDialog.PRIN_ARRAY:Ljava/util/ArrayList;
new sun.security.tools.policytool.X500Prin
dup
invokespecial sun.security.tools.policytool.X500Prin.<init>:()V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
44: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, sun.security.tools.policytool.PolicyTool, sun.security.tools.policytool.ToolWindow, boolean);
descriptor: (Ljava/lang/String;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Z)V
flags: (0x0000)
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 3
iload 4
invokespecial javax.swing.JDialog.<init>:(Ljava/awt/Frame;Z)V
1: aload 0
aload 1
invokevirtual sun.security.tools.policytool.ToolDialog.setTitle:(Ljava/lang/String;)V
2: aload 0
aload 2
putfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
3: aload 0
aload 3
putfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
4: aload 0
new sun.security.tools.policytool.ChildWindowListener
dup
aload 0
invokespecial sun.security.tools.policytool.ChildWindowListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual sun.security.tools.policytool.ToolDialog.addWindowListener:(Ljava/awt/event/WindowListener;)V
5: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getContentPane:()Ljava/awt/Container;
checkcast javax.swing.JPanel
new javax.swing.border.EmptyBorder
dup
bipush 6
bipush 6
bipush 6
bipush 6
invokespecial javax.swing.border.EmptyBorder.<init>:(IIII)V
invokevirtual javax.swing.JPanel.setBorder:(Ljavax/swing/border/Border;)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/tools/policytool/ToolDialog;
0 7 1 title Ljava/lang/String;
0 7 2 tool Lsun/security/tools/policytool/PolicyTool;
0 7 3 tw Lsun/security/tools/policytool/ToolWindow;
0 7 4 modal Z
MethodParameters:
Name Flags
title
tool
tw
modal
public java.awt.Component getComponent(int);
descriptor: (I)Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getContentPane:()Ljava/awt/Container;
iload 1
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 2
start local 2 1: aload 2
instanceof javax.swing.JScrollPane
ifeq 3
2: aload 2
checkcast javax.swing.JScrollPane
invokevirtual javax.swing.JScrollPane.getViewport:()Ljavax/swing/JViewport;
invokevirtual javax.swing.JViewport.getView:()Ljava/awt/Component;
astore 2
3: StackMap locals: java.awt.Component
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/tools/policytool/ToolDialog;
0 4 1 n I
1 4 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
n
static sun.security.tools.policytool.Perm getPerm(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lsun/security/tools/policytool/Perm;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 9
2: StackMap locals: int
StackMap stack:
getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.security.tools.policytool.Perm
astore 3
start local 3 3: iload 1
ifeq 6
4: aload 3
getfield sun.security.tools.policytool.Perm.FULL_CLASS:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
5: aload 3
areturn
6: StackMap locals: sun.security.tools.policytool.Perm
StackMap stack:
aload 3
getfield sun.security.tools.policytool.Perm.CLASS:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
areturn
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 2
end local 2 10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 clazz Ljava/lang/String;
0 11 1 fullClassName Z
1 10 2 i I
3 8 3 next Lsun/security/tools/policytool/Perm;
MethodParameters:
Name Flags
clazz
fullClassName
static sun.security.tools.policytool.Prin getPrin(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lsun/security/tools/policytool/Prin;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 9
2: StackMap locals: int
StackMap stack:
getstatic sun.security.tools.policytool.ToolDialog.PRIN_ARRAY:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.security.tools.policytool.Prin
astore 3
start local 3 3: iload 1
ifeq 6
4: aload 3
getfield sun.security.tools.policytool.Prin.FULL_CLASS:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
5: aload 3
areturn
6: StackMap locals: sun.security.tools.policytool.Prin
StackMap stack:
aload 3
getfield sun.security.tools.policytool.Prin.CLASS:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 3
areturn
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
getstatic sun.security.tools.policytool.ToolDialog.PRIN_ARRAY:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 2
end local 2 10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 clazz Ljava/lang/String;
0 11 1 fullClassName Z
1 10 2 i I
3 8 3 next Lsun/security/tools/policytool/Prin;
MethodParameters:
Name Flags
clazz
fullClassName
void displayPolicyEntryDialog(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=14, locals=14, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aconst_null
astore 3
start local 3 2: new sun.security.tools.policytool.TaggedList
dup
iconst_3
iconst_0
invokespecial sun.security.tools.policytool.TaggedList.<init>:(IZ)V
astore 4
start local 4 3: aload 4
invokevirtual sun.security.tools.policytool.TaggedList.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
4: ldc "Principal.List"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
5: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
6: aload 4
7: new sun.security.tools.policytool.EditPrinButtonListener
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.EditPrinButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
8: invokevirtual sun.security.tools.policytool.TaggedList.addMouseListener:(Ljava/awt/event/MouseListener;)V
9: new sun.security.tools.policytool.TaggedList
dup
bipush 10
iconst_0
invokespecial sun.security.tools.policytool.TaggedList.<init>:(IZ)V
astore 5
start local 5 10: aload 5
invokevirtual sun.security.tools.policytool.TaggedList.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
11: ldc "Permission.List"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
12: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
13: aload 5
14: new sun.security.tools.policytool.EditPermButtonListener
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.EditPermButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
15: invokevirtual sun.security.tools.policytool.TaggedList.addMouseListener:(Ljava/awt/event/MouseListener;)V
16: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolWindow.getLocationOnScreen:()Ljava/awt/Point;
pop
17: aload 0
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual sun.security.tools.policytool.ToolDialog.setLayout:(Ljava/awt/LayoutManager;)V
18: aload 0
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setResizable:(Z)V
19: iload 1
ifeq 40
20: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getEntry:()[Lsun/security/tools/policytool/PolicyEntry;
astore 3
21: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_3
invokevirtual sun.security.tools.policytool.ToolWindow.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JList
astore 6
start local 6 22: aload 6
invokevirtual javax.swing.JList.getSelectedIndex:()I
istore 2
23: aload 3
iload 2
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.getGrantEntry:()Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
24: astore 7
start local 7 25: iconst_0
istore 8
start local 8 26: goto 30
27: StackMap locals: sun.security.tools.policytool.ToolDialog int int sun.security.tools.policytool.PolicyEntry[] sun.security.tools.policytool.TaggedList sun.security.tools.policytool.TaggedList javax.swing.JList java.util.LinkedList int
StackMap stack:
aload 7
iload 8
invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
checkcast sun.security.provider.PolicyParser$PrincipalEntry
astore 9
start local 9 28: aload 4
aload 9
invokestatic sun.security.tools.policytool.ToolDialog.PrincipalEntryToUserFriendlyString:(Lsun/security/provider/PolicyParser$PrincipalEntry;)Ljava/lang/String;
aload 9
invokevirtual sun.security.tools.policytool.TaggedList.addTaggedItem:(Ljava/lang/String;Ljava/lang/Object;)V
end local 9 29: iinc 8 1
StackMap locals:
StackMap stack:
30: iload 8
aload 7
invokevirtual java.util.LinkedList.size:()I
if_icmplt 27
end local 8 31: aload 3
iload 2
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.getGrantEntry:()Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.permissionEntries:Ljava/util/Vector;
32: astore 8
start local 8 33: iconst_0
istore 9
start local 9 34: goto 39
35: StackMap locals: sun.security.tools.policytool.ToolDialog int int sun.security.tools.policytool.PolicyEntry[] sun.security.tools.policytool.TaggedList sun.security.tools.policytool.TaggedList javax.swing.JList java.util.LinkedList java.util.Vector int
StackMap stack:
aload 8
iload 9
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.security.provider.PolicyParser$PermissionEntry
36: astore 10
start local 10 37: aload 5
aload 10
invokestatic sun.security.tools.policytool.ToolDialog.PermissionEntryToUserFriendlyString:(Lsun/security/provider/PolicyParser$PermissionEntry;)Ljava/lang/String;
aload 10
invokevirtual sun.security.tools.policytool.TaggedList.addTaggedItem:(Ljava/lang/String;Ljava/lang/Object;)V
end local 10 38: iinc 9 1
StackMap locals:
StackMap stack:
39: iload 9
aload 8
invokevirtual java.util.Vector.size:()I
if_icmplt 35
end local 9 end local 8 end local 7 end local 6 40: StackMap locals: sun.security.tools.policytool.ToolDialog int int sun.security.tools.policytool.PolicyEntry[] sun.security.tools.policytool.TaggedList sun.security.tools.policytool.TaggedList
StackMap stack:
new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 6
start local 6 41: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 6
iconst_0
42: iconst_0
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
43: getstatic sun.security.tools.policytool.ToolWindow.R_PADDING:Ljava/awt/Insets;
44: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
45: iload 1
ifeq 47
46: new javax.swing.JTextField
dup
aload 3
iload 2
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.getGrantEntry:()Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.codeBase:Ljava/lang/String;
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;)V
goto 48
47: StackMap locals: javax.swing.JLabel
StackMap stack:
new javax.swing.JTextField
dup
invokespecial javax.swing.JTextField.<init>:()V
48: StackMap locals:
StackMap stack: javax.swing.JTextField
astore 7
start local 7 49: aload 6
aload 7
ldc "CodeBase."
invokestatic sun.security.tools.policytool.ToolWindow.configureLabelFor:(Ljavax/swing/JLabel;Ljavax/swing/JComponent;Ljava/lang/String;)V
50: aload 7
new java.awt.Dimension
dup
aload 7
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
51: aload 7
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
52: ldc "Code.Base"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
53: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
54: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 7
iconst_1
55: iconst_1
iconst_0
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
56: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
57: new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 6
58: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 6
iconst_2
59: iconst_0
iconst_1
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
60: getstatic sun.security.tools.policytool.ToolWindow.R_PADDING:Ljava/awt/Insets;
61: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
62: iload 1
ifeq 64
63: new javax.swing.JTextField
dup
aload 3
iload 2
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.getGrantEntry:()Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.signedBy:Ljava/lang/String;
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;)V
goto 65
64: StackMap locals: javax.swing.JTextField
StackMap stack:
new javax.swing.JTextField
dup
invokespecial javax.swing.JTextField.<init>:()V
65: StackMap locals:
StackMap stack: javax.swing.JTextField
astore 7
66: aload 6
aload 7
ldc "SignedBy."
invokestatic sun.security.tools.policytool.ToolWindow.configureLabelFor:(Ljavax/swing/JLabel;Ljavax/swing/JComponent;Ljava/lang/String;)V
67: aload 7
new java.awt.Dimension
dup
aload 7
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
68: aload 7
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
69: ldc "Signed.By."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
70: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
71: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 7
iconst_3
72: iconst_1
iconst_1
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
73: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
74: new javax.swing.JPanel
dup
invokespecial javax.swing.JPanel.<init>:()V
astore 8
start local 8 75: aload 8
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual javax.swing.JPanel.setLayout:(Ljava/awt/LayoutManager;)V
76: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 9
start local 9 77: aload 9
ldc "Add.Principal"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
78: aload 9
79: new sun.security.tools.policytool.AddPrinButtonListener
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.AddPrinButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
80: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
81: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 8
aload 9
iconst_0
82: iconst_0
iconst_0
iconst_1
iconst_1
ldc 100.0
dconst_0
iconst_2
83: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
84: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 9
85: aload 9
ldc "Edit.Principal"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
86: aload 9
new sun.security.tools.policytool.EditPrinButtonListener
dup
87: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.EditPrinButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
88: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
89: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 8
aload 9
iconst_1
90: iconst_1
iconst_0
iconst_1
iconst_1
ldc 100.0
dconst_0
iconst_2
91: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
92: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 9
93: aload 9
ldc "Remove.Principal"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
94: aload 9
new sun.security.tools.policytool.RemovePrinButtonListener
dup
95: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.RemovePrinButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
96: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
97: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 8
aload 9
iconst_2
98: iconst_2
iconst_0
iconst_1
iconst_1
ldc 100.0
dconst_0
iconst_2
99: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
100: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 8
iconst_4
101: iconst_1
iconst_2
iconst_1
iconst_1
dconst_0
dconst_0
iconst_2
102: getstatic sun.security.tools.policytool.ToolWindow.LITE_BOTTOM_PADDING:Ljava/awt/Insets;
103: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
104: new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 6
105: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 6
iconst_5
106: iconst_0
iconst_3
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
107: getstatic sun.security.tools.policytool.ToolWindow.R_BOTTOM_PADDING:Ljava/awt/Insets;
108: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
109: new javax.swing.JScrollPane
dup
aload 4
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
astore 10
start local 10 110: aload 6
aload 10
ldc "Principals."
invokestatic sun.security.tools.policytool.ToolWindow.configureLabelFor:(Ljavax/swing/JLabel;Ljavax/swing/JComponent;Ljava/lang/String;)V
111: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 10
bipush 6
112: iconst_1
iconst_3
iconst_3
iconst_1
dconst_0
aload 4
invokevirtual sun.security.tools.policytool.TaggedList.getVisibleRowCount:()I
i2d
iconst_1
113: getstatic sun.security.tools.policytool.ToolWindow.BOTTOM_PADDING:Ljava/awt/Insets;
114: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
115: new javax.swing.JPanel
dup
invokespecial javax.swing.JPanel.<init>:()V
astore 8
116: aload 8
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual javax.swing.JPanel.setLayout:(Ljava/awt/LayoutManager;)V
117: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 9
118: aload 9
ldc ".Add.Permission"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
119: aload 9
new sun.security.tools.policytool.AddPermButtonListener
dup
120: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.AddPermButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
121: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
122: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 8
aload 9
iconst_0
123: iconst_0
iconst_0
iconst_1
iconst_1
ldc 100.0
dconst_0
iconst_2
124: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
125: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 9
126: aload 9
ldc ".Edit.Permission"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
127: aload 9
new sun.security.tools.policytool.EditPermButtonListener
dup
128: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.EditPermButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
129: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
130: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 8
aload 9
iconst_1
131: iconst_1
iconst_0
iconst_1
iconst_1
ldc 100.0
dconst_0
iconst_2
132: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
133: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 9
134: aload 9
ldc "Remove.Permission"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
135: aload 9
new sun.security.tools.policytool.RemovePermButtonListener
dup
136: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.RemovePermButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
137: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
138: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 8
aload 9
iconst_2
139: iconst_2
iconst_0
iconst_1
iconst_1
ldc 100.0
dconst_0
iconst_2
140: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
141: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 8
bipush 7
142: iconst_0
iconst_4
iconst_2
iconst_1
dconst_0
dconst_0
iconst_2
143: getstatic sun.security.tools.policytool.ToolWindow.LITE_BOTTOM_PADDING:Ljava/awt/Insets;
144: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
145: new javax.swing.JScrollPane
dup
aload 5
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
astore 10
146: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 10
bipush 8
147: iconst_0
iconst_5
iconst_3
iconst_1
dconst_0
aload 5
invokevirtual sun.security.tools.policytool.TaggedList.getVisibleRowCount:()I
i2d
iconst_1
148: getstatic sun.security.tools.policytool.ToolWindow.BOTTOM_PADDING:Ljava/awt/Insets;
149: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
150: new javax.swing.JPanel
dup
invokespecial javax.swing.JPanel.<init>:()V
astore 8
151: aload 8
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual javax.swing.JPanel.setLayout:(Ljava/awt/LayoutManager;)V
152: new javax.swing.JButton
dup
ldc "Done"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 11
start local 11 153: aload 11
154: new sun.security.tools.policytool.AddEntryDoneButtonListener
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokespecial sun.security.tools.policytool.AddEntryDoneButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Z)V
155: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
156: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 8
aload 11
iconst_0
157: iconst_0
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
iconst_3
158: getstatic sun.security.tools.policytool.ToolWindow.LR_PADDING:Ljava/awt/Insets;
159: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
160: new javax.swing.JButton
dup
ldc "Cancel"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 12
start local 12 161: new sun.security.tools.policytool.CancelButtonListener
dup
aload 0
invokespecial sun.security.tools.policytool.CancelButtonListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
astore 13
start local 13 162: aload 12
aload 13
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
163: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 8
aload 12
iconst_1
164: iconst_1
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
iconst_3
165: getstatic sun.security.tools.policytool.ToolWindow.LR_PADDING:Ljava/awt/Insets;
166: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
167: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 8
bipush 9
168: iconst_0
bipush 6
iconst_2
iconst_1
dconst_0
dconst_0
iconst_3
169: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
170: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 11
invokevirtual javax.swing.JRootPane.setDefaultButton:(Ljavax/swing/JButton;)V
171: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 13
getstatic sun.security.tools.policytool.ToolDialog.escKey:Ljavax/swing/KeyStroke;
iconst_2
invokevirtual javax.swing.JRootPane.registerKeyboardAction:(Ljava/awt/event/ActionListener;Ljavax/swing/KeyStroke;I)V
172: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.pack:()V
173: aload 0
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolDialog.setLocationRelativeTo:(Ljava/awt/Component;)V
174: aload 0
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setVisible:(Z)V
175: return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 176 0 this Lsun/security/tools/policytool/ToolDialog;
0 176 1 edit Z
1 176 2 listIndex I
2 176 3 entries [Lsun/security/tools/policytool/PolicyEntry;
3 176 4 prinList Lsun/security/tools/policytool/TaggedList;
10 176 5 permList Lsun/security/tools/policytool/TaggedList;
22 40 6 policyList Ljavax/swing/JList;
25 40 7 principals Ljava/util/LinkedList<Lsun/security/provider/PolicyParser$PrincipalEntry;>;
26 31 8 i I
28 29 9 nextPrin Lsun/security/provider/PolicyParser$PrincipalEntry;
33 40 8 permissions Ljava/util/Vector<Lsun/security/provider/PolicyParser$PermissionEntry;>;
34 40 9 i I
37 38 10 nextPerm Lsun/security/provider/PolicyParser$PermissionEntry;
41 176 6 label Ljavax/swing/JLabel;
49 176 7 tf Ljavax/swing/JTextField;
75 176 8 panel Ljavax/swing/JPanel;
77 176 9 button Ljavax/swing/JButton;
110 176 10 scrollPane Ljavax/swing/JScrollPane;
153 176 11 okButton Ljavax/swing/JButton;
161 176 12 cancelButton Ljavax/swing/JButton;
162 176 13 cancelListener Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
edit
sun.security.tools.policytool.PolicyEntry getPolicyEntryFromDialog();
descriptor: ()Lsun/security/tools/policytool/PolicyEntry;
flags: (0x0000)
Code:
stack=4, locals=10, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: new java.lang.String
dup
aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
astore 2
4: StackMap locals: javax.swing.JTextField java.lang.String
StackMap stack:
aload 0
iconst_3
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 1
5: aconst_null
astore 3
start local 3 6: aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
7: new java.lang.String
dup
aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
astore 3
8: StackMap locals: java.lang.String
StackMap stack:
new sun.security.provider.PolicyParser$GrantEntry
dup
aload 3
aload 2
invokespecial sun.security.provider.PolicyParser$GrantEntry.<init>:(Ljava/lang/String;Ljava/lang/String;)V
9: astore 4
start local 4 10: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 5
start local 5 11: aload 0
bipush 6
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast sun.security.tools.policytool.TaggedList
astore 6
start local 6 12: iconst_0
istore 7
start local 7 13: goto 16
14: StackMap locals: sun.security.tools.policytool.ToolDialog javax.swing.JTextField java.lang.String java.lang.String sun.security.provider.PolicyParser$GrantEntry java.util.LinkedList sun.security.tools.policytool.TaggedList int
StackMap stack:
aload 5
aload 6
iload 7
invokevirtual sun.security.tools.policytool.TaggedList.getObject:(I)Ljava/lang/Object;
checkcast sun.security.provider.PolicyParser$PrincipalEntry
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
15: iinc 7 1
StackMap locals:
StackMap stack:
16: iload 7
aload 6
invokevirtual sun.security.tools.policytool.TaggedList.getModel:()Ljavax/swing/ListModel;
invokeinterface javax.swing.ListModel.getSize:()I
if_icmplt 14
end local 7 17: aload 4
aload 5
putfield sun.security.provider.PolicyParser$GrantEntry.principals:Ljava/util/LinkedList;
18: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 7
start local 7 19: aload 0
bipush 8
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast sun.security.tools.policytool.TaggedList
astore 8
start local 8 20: iconst_0
istore 9
start local 9 21: goto 24
22: StackMap locals: sun.security.tools.policytool.ToolDialog javax.swing.JTextField java.lang.String java.lang.String sun.security.provider.PolicyParser$GrantEntry java.util.LinkedList sun.security.tools.policytool.TaggedList java.util.Vector sun.security.tools.policytool.TaggedList int
StackMap stack:
aload 7
aload 8
iload 9
invokevirtual sun.security.tools.policytool.TaggedList.getObject:(I)Ljava/lang/Object;
checkcast sun.security.provider.PolicyParser$PermissionEntry
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
23: iinc 9 1
StackMap locals:
StackMap stack:
24: iload 9
aload 8
invokevirtual sun.security.tools.policytool.TaggedList.getModel:()Ljavax/swing/ListModel;
invokeinterface javax.swing.ListModel.getSize:()I
if_icmplt 22
end local 9 25: aload 4
aload 7
putfield sun.security.provider.PolicyParser$GrantEntry.permissionEntries:Ljava/util/Vector;
26: new sun.security.tools.policytool.PolicyEntry
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 4
invokespecial sun.security.tools.policytool.PolicyEntry.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/provider/PolicyParser$GrantEntry;)V
astore 9
start local 9 27: aload 9
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/tools/policytool/ToolDialog;
1 28 1 tf Ljavax/swing/JTextField;
2 28 2 codebase Ljava/lang/String;
6 28 3 signedby Ljava/lang/String;
10 28 4 ge Lsun/security/provider/PolicyParser$GrantEntry;
11 28 5 prins Ljava/util/LinkedList<Lsun/security/provider/PolicyParser$PrincipalEntry;>;
12 28 6 prinList Lsun/security/tools/policytool/TaggedList;
13 17 7 i I
19 28 7 perms Ljava/util/Vector<Lsun/security/provider/PolicyParser$PermissionEntry;>;
20 28 8 permList Lsun/security/tools/policytool/TaggedList;
21 25 9 i I
27 28 9 entry Lsun/security/tools/policytool/PolicyEntry;
Exceptions:
throws java.security.InvalidParameterException, java.net.MalformedURLException, java.lang.NoSuchMethodException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.security.cert.CertificateException, java.io.IOException, java.lang.Exception
void keyStoreDialog(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=14, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolWindow.getLocationOnScreen:()Ljava/awt/Point;
pop
1: aload 0
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual sun.security.tools.policytool.ToolDialog.setLayout:(Ljava/awt/LayoutManager;)V
2: iload 1
ifne 78
3: new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 2
start local 2 4: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 2
iconst_0
5: iconst_0
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
6: getstatic sun.security.tools.policytool.ToolWindow.R_BOTTOM_PADDING:Ljava/awt/Insets;
7: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
8: new javax.swing.JTextField
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getKeyStoreName:()Ljava/lang/String;
bipush 30
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
astore 3
start local 3 9: aload 2
aload 3
ldc "KeyStore.URL."
invokestatic sun.security.tools.policytool.ToolWindow.configureLabelFor:(Ljavax/swing/JLabel;Ljavax/swing/JComponent;Ljava/lang/String;)V
10: aload 3
new java.awt.Dimension
dup
aload 3
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
11: aload 3
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
12: ldc "KeyStore.U.R.L."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
13: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
14: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 3
iconst_1
15: iconst_1
iconst_0
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
16: getstatic sun.security.tools.policytool.ToolWindow.BOTTOM_PADDING:Ljava/awt/Insets;
17: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
18: new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 2
19: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 2
iconst_2
20: iconst_0
iconst_1
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
21: getstatic sun.security.tools.policytool.ToolWindow.R_BOTTOM_PADDING:Ljava/awt/Insets;
22: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
23: new javax.swing.JTextField
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getKeyStoreType:()Ljava/lang/String;
bipush 30
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
astore 3
24: aload 2
aload 3
ldc "KeyStore.Type."
invokestatic sun.security.tools.policytool.ToolWindow.configureLabelFor:(Ljavax/swing/JLabel;Ljavax/swing/JComponent;Ljava/lang/String;)V
25: aload 3
new java.awt.Dimension
dup
aload 3
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
26: aload 3
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
27: ldc "KeyStore.Type."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
28: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
29: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 3
iconst_3
30: iconst_1
iconst_1
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
31: getstatic sun.security.tools.policytool.ToolWindow.BOTTOM_PADDING:Ljava/awt/Insets;
32: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
33: new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 2
34: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 2
iconst_4
35: iconst_0
iconst_2
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
36: getstatic sun.security.tools.policytool.ToolWindow.R_BOTTOM_PADDING:Ljava/awt/Insets;
37: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
38: new javax.swing.JTextField
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getKeyStoreProvider:()Ljava/lang/String;
bipush 30
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
astore 3
39: aload 2
aload 3
ldc "KeyStore.Provider."
invokestatic sun.security.tools.policytool.ToolWindow.configureLabelFor:(Ljavax/swing/JLabel;Ljavax/swing/JComponent;Ljava/lang/String;)V
40: aload 3
new java.awt.Dimension
dup
aload 3
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
41: aload 3
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
42: ldc "KeyStore.Provider."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
43: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
44: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 3
iconst_5
45: iconst_1
iconst_2
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
46: getstatic sun.security.tools.policytool.ToolWindow.BOTTOM_PADDING:Ljava/awt/Insets;
47: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
48: new javax.swing.JLabel
dup
invokespecial javax.swing.JLabel.<init>:()V
astore 2
49: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 2
bipush 6
50: iconst_0
iconst_3
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
51: getstatic sun.security.tools.policytool.ToolWindow.R_BOTTOM_PADDING:Ljava/awt/Insets;
52: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
53: new javax.swing.JTextField
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getKeyStorePwdURL:()Ljava/lang/String;
bipush 30
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
astore 3
54: aload 2
aload 3
ldc "KeyStore.Password.URL."
invokestatic sun.security.tools.policytool.ToolWindow.configureLabelFor:(Ljavax/swing/JLabel;Ljavax/swing/JComponent;Ljava/lang/String;)V
55: aload 3
new java.awt.Dimension
dup
aload 3
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
56: aload 3
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
57: ldc "KeyStore.Password.U.R.L."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
58: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
59: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 3
bipush 7
60: iconst_1
iconst_3
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
61: getstatic sun.security.tools.policytool.ToolWindow.BOTTOM_PADDING:Ljava/awt/Insets;
62: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
63: new javax.swing.JButton
dup
ldc "OK"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 4
start local 4 64: aload 4
65: new sun.security.tools.policytool.ChangeKeyStoreOKButtonListener
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
invokespecial sun.security.tools.policytool.ChangeKeyStoreOKButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;)V
66: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
67: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 4
bipush 8
68: iconst_0
iconst_4
iconst_1
iconst_1
dconst_0
dconst_0
iconst_3
69: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
70: new javax.swing.JButton
dup
ldc "Cancel"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 5
start local 5 71: new sun.security.tools.policytool.CancelButtonListener
dup
aload 0
invokespecial sun.security.tools.policytool.CancelButtonListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
astore 6
start local 6 72: aload 5
aload 6
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
73: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 5
bipush 9
74: iconst_1
iconst_4
iconst_1
iconst_1
dconst_0
dconst_0
iconst_3
75: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
76: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 4
invokevirtual javax.swing.JRootPane.setDefaultButton:(Ljavax/swing/JButton;)V
77: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 6
getstatic sun.security.tools.policytool.ToolDialog.escKey:Ljavax/swing/KeyStroke;
iconst_2
invokevirtual javax.swing.JRootPane.registerKeyboardAction:(Ljava/awt/event/ActionListener;Ljavax/swing/KeyStroke;I)V
end local 6 end local 5 end local 4 end local 3 end local 2 78: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.pack:()V
79: aload 0
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolDialog.setLocationRelativeTo:(Ljava/awt/Component;)V
80: aload 0
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setVisible:(Z)V
81: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 82 0 this Lsun/security/tools/policytool/ToolDialog;
0 82 1 mode I
4 78 2 label Ljavax/swing/JLabel;
9 78 3 tf Ljavax/swing/JTextField;
64 78 4 okButton Ljavax/swing/JButton;
71 78 5 cancelButton Ljavax/swing/JButton;
72 78 6 cancelListener Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
mode
void displayPrincipalDialog(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0000)
Code:
stack=14, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
bipush 6
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast sun.security.tools.policytool.TaggedList
astore 4
start local 4 2: aload 4
invokevirtual sun.security.tools.policytool.TaggedList.getSelectedIndex:()I
istore 5
start local 5 3: iload 2
ifeq 5
4: aload 4
iload 5
invokevirtual sun.security.tools.policytool.TaggedList.getObject:(I)Ljava/lang/Object;
checkcast sun.security.provider.PolicyParser$PrincipalEntry
astore 3
5: StackMap locals: sun.security.provider.PolicyParser$PrincipalEntry sun.security.tools.policytool.TaggedList int
StackMap stack:
new sun.security.tools.policytool.ToolDialog
dup
6: ldc "Principals"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_1
7: invokespecial sun.security.tools.policytool.ToolDialog.<init>:(Ljava/lang/String;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Z)V
astore 6
start local 6 8: aload 6
new sun.security.tools.policytool.ChildWindowListener
dup
aload 6
invokespecial sun.security.tools.policytool.ChildWindowListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual sun.security.tools.policytool.ToolDialog.addWindowListener:(Ljava/awt/event/WindowListener;)V
9: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getLocationOnScreen:()Ljava/awt/Point;
pop
10: aload 6
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual sun.security.tools.policytool.ToolDialog.setLayout:(Ljava/awt/LayoutManager;)V
11: aload 6
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setResizable:(Z)V
12: iload 2
ifeq 14
13: new javax.swing.JLabel
dup
ldc ".Edit.Principal."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
goto 15
14: StackMap locals: sun.security.tools.policytool.ToolDialog
StackMap stack:
new javax.swing.JLabel
dup
ldc ".Add.New.Principal."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack: javax.swing.JLabel
astore 7
start local 7 16: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 7
iconst_0
17: iconst_0
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
18: getstatic sun.security.tools.policytool.ToolWindow.TOP_BOTTOM_PADDING:Ljava/awt/Insets;
19: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
20: new javax.swing.JComboBox
dup
invokespecial javax.swing.JComboBox.<init>:()V
astore 8
start local 8 21: aload 8
getstatic sun.security.tools.policytool.ToolDialog.PRIN_TYPE:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
22: aload 8
invokevirtual javax.swing.JComboBox.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PRIN_TYPE:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
23: iconst_0
istore 9
start local 9 24: goto 28
25: StackMap locals: javax.swing.JLabel javax.swing.JComboBox int
StackMap stack:
getstatic sun.security.tools.policytool.ToolDialog.PRIN_ARRAY:Ljava/util/ArrayList;
iload 9
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.security.tools.policytool.Prin
astore 10
start local 10 26: aload 8
aload 10
getfield sun.security.tools.policytool.Prin.CLASS:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
end local 10 27: iinc 9 1
StackMap locals:
StackMap stack:
28: iload 9
getstatic sun.security.tools.policytool.ToolDialog.PRIN_ARRAY:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 25
end local 9 29: iload 2
ifeq 39
30: ldc "WILDCARD_PRINCIPAL_CLASS"
31: aload 3
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getPrincipalClass:()Ljava/lang/String;
32: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
33: ifeq 36
34: aload 8
getstatic sun.security.tools.policytool.ToolDialog.PRIN_TYPE:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.setSelectedItem:(Ljava/lang/Object;)V
35: goto 39
36: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getPrincipalClass:()Ljava/lang/String;
iconst_1
invokestatic sun.security.tools.policytool.ToolDialog.getPrin:(Ljava/lang/String;Z)Lsun/security/tools/policytool/Prin;
astore 9
start local 9 37: aload 9
ifnull 39
38: aload 8
aload 9
getfield sun.security.tools.policytool.Prin.CLASS:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.setSelectedItem:(Ljava/lang/Object;)V
end local 9 39: StackMap locals:
StackMap stack:
aload 8
new sun.security.tools.policytool.PrincipalTypeMenuListener
dup
aload 6
invokespecial sun.security.tools.policytool.PrincipalTypeMenuListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual javax.swing.JComboBox.addItemListener:(Ljava/awt/event/ItemListener;)V
40: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 8
iconst_1
41: iconst_0
iconst_1
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
42: getstatic sun.security.tools.policytool.ToolWindow.LR_PADDING:Ljava/awt/Insets;
43: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
44: iload 2
ifeq 46
45: new javax.swing.JTextField
dup
aload 3
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayClass:()Ljava/lang/String;
bipush 30
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
goto 47
46: StackMap locals:
StackMap stack:
new javax.swing.JTextField
dup
bipush 30
invokespecial javax.swing.JTextField.<init>:(I)V
47: StackMap locals:
StackMap stack: javax.swing.JTextField
astore 9
start local 9 48: aload 9
new java.awt.Dimension
dup
aload 9
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
49: aload 9
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PRIN_TYPE:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
50: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 9
iconst_2
51: iconst_1
iconst_1
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
52: getstatic sun.security.tools.policytool.ToolWindow.LR_PADDING:Ljava/awt/Insets;
53: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
54: new javax.swing.JLabel
dup
getstatic sun.security.tools.policytool.ToolDialog.PRIN_NAME:Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 7
55: iload 2
ifeq 57
56: new javax.swing.JTextField
dup
aload 3
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getDisplayName:()Ljava/lang/String;
bipush 40
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
goto 58
57: StackMap locals: javax.swing.JTextField
StackMap stack:
new javax.swing.JTextField
dup
bipush 40
invokespecial javax.swing.JTextField.<init>:(I)V
58: StackMap locals:
StackMap stack: javax.swing.JTextField
astore 9
59: aload 9
new java.awt.Dimension
dup
aload 9
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
60: aload 9
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PRIN_NAME:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
61: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 7
iconst_3
62: iconst_0
iconst_2
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
63: getstatic sun.security.tools.policytool.ToolWindow.LR_PADDING:Ljava/awt/Insets;
64: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
65: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 9
iconst_4
66: iconst_1
iconst_2
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
67: getstatic sun.security.tools.policytool.ToolWindow.LR_PADDING:Ljava/awt/Insets;
68: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
69: new javax.swing.JButton
dup
ldc "OK"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 10
start local 10 70: aload 10
71: new sun.security.tools.policytool.NewPolicyPrinOKButtonListener
dup
72: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 6
iload 2
73: invokespecial sun.security.tools.policytool.NewPolicyPrinOKButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Lsun/security/tools/policytool/ToolDialog;Z)V
74: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
75: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 10
iconst_5
76: iconst_0
iconst_3
iconst_1
iconst_1
dconst_0
dconst_0
iconst_3
77: getstatic sun.security.tools.policytool.ToolWindow.TOP_BOTTOM_PADDING:Ljava/awt/Insets;
78: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
79: new javax.swing.JButton
dup
ldc "Cancel"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 11
start local 11 80: new sun.security.tools.policytool.CancelButtonListener
dup
aload 6
invokespecial sun.security.tools.policytool.CancelButtonListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
astore 12
start local 12 81: aload 11
aload 12
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
82: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 11
bipush 6
83: iconst_1
iconst_3
iconst_1
iconst_1
dconst_0
dconst_0
iconst_3
84: getstatic sun.security.tools.policytool.ToolWindow.TOP_BOTTOM_PADDING:Ljava/awt/Insets;
85: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
86: aload 6
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 10
invokevirtual javax.swing.JRootPane.setDefaultButton:(Ljavax/swing/JButton;)V
87: aload 6
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 12
getstatic sun.security.tools.policytool.ToolDialog.escKey:Ljavax/swing/KeyStroke;
iconst_2
invokevirtual javax.swing.JRootPane.registerKeyboardAction:(Ljava/awt/event/ActionListener;Ljavax/swing/KeyStroke;I)V
88: aload 6
invokevirtual sun.security.tools.policytool.ToolDialog.pack:()V
89: aload 6
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolDialog.setLocationRelativeTo:(Ljava/awt/Component;)V
90: aload 6
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setVisible:(Z)V
91: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 92 0 this Lsun/security/tools/policytool/ToolDialog;
0 92 1 editPolicyEntry Z
0 92 2 edit Z
1 92 3 editMe Lsun/security/provider/PolicyParser$PrincipalEntry;
2 92 4 prinList Lsun/security/tools/policytool/TaggedList;
3 92 5 prinIndex I
8 92 6 newTD Lsun/security/tools/policytool/ToolDialog;
16 92 7 label Ljavax/swing/JLabel;
21 92 8 choice Ljavax/swing/JComboBox;
24 29 9 i I
26 27 10 next Lsun/security/tools/policytool/Prin;
37 39 9 inputPrin Lsun/security/tools/policytool/Prin;
48 92 9 tf Ljavax/swing/JTextField;
70 92 10 okButton Ljavax/swing/JButton;
80 92 11 cancelButton Ljavax/swing/JButton;
81 92 12 cancelListener Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
editPolicyEntry
edit
void displayPermissionDialog(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0000)
Code:
stack=14, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
bipush 8
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast sun.security.tools.policytool.TaggedList
astore 4
start local 4 2: aload 4
invokevirtual sun.security.tools.policytool.TaggedList.getSelectedIndex:()I
istore 5
start local 5 3: iload 2
ifeq 5
4: aload 4
iload 5
invokevirtual sun.security.tools.policytool.TaggedList.getObject:(I)Ljava/lang/Object;
checkcast sun.security.provider.PolicyParser$PermissionEntry
astore 3
5: StackMap locals: sun.security.provider.PolicyParser$PermissionEntry sun.security.tools.policytool.TaggedList int
StackMap stack:
new sun.security.tools.policytool.ToolDialog
dup
6: ldc "Permissions"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_1
7: invokespecial sun.security.tools.policytool.ToolDialog.<init>:(Ljava/lang/String;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Z)V
astore 6
start local 6 8: aload 6
new sun.security.tools.policytool.ChildWindowListener
dup
aload 6
invokespecial sun.security.tools.policytool.ChildWindowListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual sun.security.tools.policytool.ToolDialog.addWindowListener:(Ljava/awt/event/WindowListener;)V
9: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getLocationOnScreen:()Ljava/awt/Point;
pop
10: aload 6
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual sun.security.tools.policytool.ToolDialog.setLayout:(Ljava/awt/LayoutManager;)V
11: aload 6
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setResizable:(Z)V
12: iload 2
ifeq 14
13: new javax.swing.JLabel
dup
ldc ".Edit.Permission."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
goto 15
14: StackMap locals: sun.security.tools.policytool.ToolDialog
StackMap stack:
new javax.swing.JLabel
dup
ldc ".Add.New.Permission."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack: javax.swing.JLabel
astore 7
start local 7 16: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 7
iconst_0
17: iconst_0
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
18: getstatic sun.security.tools.policytool.ToolWindow.TOP_BOTTOM_PADDING:Ljava/awt/Insets;
19: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
20: new javax.swing.JComboBox
dup
invokespecial javax.swing.JComboBox.<init>:()V
astore 8
start local 8 21: aload 8
getstatic sun.security.tools.policytool.ToolDialog.PERM:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
22: aload 8
invokevirtual javax.swing.JComboBox.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PERM:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
23: iconst_0
istore 9
start local 9 24: goto 28
25: StackMap locals: javax.swing.JLabel javax.swing.JComboBox int
StackMap stack:
getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
iload 9
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.security.tools.policytool.Perm
astore 10
start local 10 26: aload 8
aload 10
getfield sun.security.tools.policytool.Perm.CLASS:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
end local 10 27: iinc 9 1
StackMap locals:
StackMap stack:
28: iload 9
getstatic sun.security.tools.policytool.ToolDialog.PERM_ARRAY:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 25
end local 9 29: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 8
iconst_1
30: iconst_0
iconst_1
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
31: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
32: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
33: iload 2
ifeq 34
new javax.swing.JTextField
dup
aload 3
getfield sun.security.provider.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
bipush 30
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
goto 35
StackMap locals:
StackMap stack:
34: new javax.swing.JTextField
dup
bipush 30
invokespecial javax.swing.JTextField.<init>:(I)V
StackMap locals:
StackMap stack: javax.swing.JTextField
35: astore 9
start local 9 36: aload 9
new java.awt.Dimension
dup
aload 9
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
37: aload 9
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PERM:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
38: iload 2
ifeq 42
39: aload 3
getfield sun.security.provider.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
iconst_1
invokestatic sun.security.tools.policytool.ToolDialog.getPerm:(Ljava/lang/String;Z)Lsun/security/tools/policytool/Perm;
astore 10
start local 10 40: aload 10
ifnull 42
41: aload 8
aload 10
getfield sun.security.tools.policytool.Perm.CLASS:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.setSelectedItem:(Ljava/lang/Object;)V
end local 10 42: StackMap locals: javax.swing.JTextField
StackMap stack:
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 9
iconst_2
43: iconst_1
iconst_1
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
44: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
45: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
46: aload 8
new sun.security.tools.policytool.PermissionMenuListener
dup
aload 6
invokespecial sun.security.tools.policytool.PermissionMenuListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual javax.swing.JComboBox.addItemListener:(Ljava/awt/event/ItemListener;)V
47: new javax.swing.JComboBox
dup
invokespecial javax.swing.JComboBox.<init>:()V
astore 8
48: aload 8
getstatic sun.security.tools.policytool.ToolDialog.PERM_NAME:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
49: aload 8
invokevirtual javax.swing.JComboBox.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PERM_NAME:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
50: iload 2
ifeq 51
new javax.swing.JTextField
dup
aload 3
getfield sun.security.provider.PolicyParser$PermissionEntry.name:Ljava/lang/String;
bipush 40
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
goto 52
StackMap locals:
StackMap stack:
51: new javax.swing.JTextField
dup
bipush 40
invokespecial javax.swing.JTextField.<init>:(I)V
StackMap locals:
StackMap stack: javax.swing.JTextField
52: astore 9
53: aload 9
new java.awt.Dimension
dup
aload 9
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
54: aload 9
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PERM_NAME:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
55: iload 2
ifeq 57
56: aload 0
aload 3
getfield sun.security.provider.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
iconst_1
invokestatic sun.security.tools.policytool.ToolDialog.getPerm:(Ljava/lang/String;Z)Lsun/security/tools/policytool/Perm;
aload 8
aload 9
invokevirtual sun.security.tools.policytool.ToolDialog.setPermissionNames:(Lsun/security/tools/policytool/Perm;Ljavax/swing/JComboBox;Ljavax/swing/JTextField;)V
57: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 8
iconst_3
58: iconst_0
iconst_2
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
59: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
60: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
61: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 9
iconst_4
62: iconst_1
iconst_2
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
63: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
64: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
65: aload 8
new sun.security.tools.policytool.PermissionNameMenuListener
dup
aload 6
invokespecial sun.security.tools.policytool.PermissionNameMenuListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual javax.swing.JComboBox.addItemListener:(Ljava/awt/event/ItemListener;)V
66: new javax.swing.JComboBox
dup
invokespecial javax.swing.JComboBox.<init>:()V
astore 8
67: aload 8
getstatic sun.security.tools.policytool.ToolDialog.PERM_ACTIONS:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
68: aload 8
invokevirtual javax.swing.JComboBox.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PERM_ACTIONS:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
69: iload 2
ifeq 70
new javax.swing.JTextField
dup
aload 3
getfield sun.security.provider.PolicyParser$PermissionEntry.action:Ljava/lang/String;
bipush 40
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
goto 71
StackMap locals:
StackMap stack:
70: new javax.swing.JTextField
dup
bipush 40
invokespecial javax.swing.JTextField.<init>:(I)V
StackMap locals:
StackMap stack: javax.swing.JTextField
71: astore 9
72: aload 9
new java.awt.Dimension
dup
aload 9
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
73: aload 9
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
getstatic sun.security.tools.policytool.ToolDialog.PERM_ACTIONS:Ljava/lang/String;
invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
74: iload 2
ifeq 76
75: aload 0
aload 3
getfield sun.security.provider.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
iconst_1
invokestatic sun.security.tools.policytool.ToolDialog.getPerm:(Ljava/lang/String;Z)Lsun/security/tools/policytool/Perm;
aload 8
aload 9
invokevirtual sun.security.tools.policytool.ToolDialog.setPermissionActions:(Lsun/security/tools/policytool/Perm;Ljavax/swing/JComboBox;Ljavax/swing/JTextField;)V
76: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 8
iconst_5
77: iconst_0
iconst_3
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
78: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
79: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
80: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 9
bipush 6
81: iconst_1
iconst_3
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
82: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
83: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
84: aload 8
new sun.security.tools.policytool.PermissionActionsMenuListener
dup
aload 6
invokespecial sun.security.tools.policytool.PermissionActionsMenuListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual javax.swing.JComboBox.addItemListener:(Ljava/awt/event/ItemListener;)V
85: new javax.swing.JLabel
dup
ldc "Signed.By."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 7
86: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 7
bipush 7
87: iconst_0
iconst_4
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
88: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
89: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
90: iload 2
ifeq 91
new javax.swing.JTextField
dup
aload 3
getfield sun.security.provider.PolicyParser$PermissionEntry.signedBy:Ljava/lang/String;
bipush 40
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
goto 92
StackMap locals:
StackMap stack:
91: new javax.swing.JTextField
dup
bipush 40
invokespecial javax.swing.JTextField.<init>:(I)V
StackMap locals:
StackMap stack: javax.swing.JTextField
92: astore 9
93: aload 9
new java.awt.Dimension
dup
aload 9
invokevirtual javax.swing.JTextField.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic sun.security.tools.policytool.ToolDialog.TEXTFIELD_HEIGHT:I
invokespecial java.awt.Dimension.<init>:(II)V
invokevirtual javax.swing.JTextField.setPreferredSize:(Ljava/awt/Dimension;)V
94: aload 9
invokevirtual javax.swing.JTextField.getAccessibleContext:()Ljavax/accessibility/AccessibleContext;
95: ldc "Signed.By."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
96: invokevirtual javax.accessibility.AccessibleContext.setAccessibleName:(Ljava/lang/String;)V
97: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 9
bipush 8
98: iconst_1
iconst_4
iconst_1
iconst_1
dconst_1
dconst_0
iconst_1
99: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
100: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
101: new javax.swing.JButton
dup
ldc "OK"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 10
start local 10 102: aload 10
103: new sun.security.tools.policytool.NewPolicyPermOKButtonListener
dup
104: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 6
iload 2
105: invokespecial sun.security.tools.policytool.NewPolicyPermOKButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Lsun/security/tools/policytool/ToolDialog;Z)V
106: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
107: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 10
bipush 9
108: iconst_0
iconst_5
iconst_1
iconst_1
dconst_0
dconst_0
iconst_3
109: getstatic sun.security.tools.policytool.ToolWindow.TOP_BOTTOM_PADDING:Ljava/awt/Insets;
110: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
111: new javax.swing.JButton
dup
ldc "Cancel"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 11
start local 11 112: new sun.security.tools.policytool.CancelButtonListener
dup
aload 6
invokespecial sun.security.tools.policytool.CancelButtonListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
astore 12
start local 12 113: aload 11
aload 12
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
114: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 11
bipush 10
115: iconst_1
iconst_5
iconst_1
iconst_1
dconst_0
dconst_0
iconst_3
116: getstatic sun.security.tools.policytool.ToolWindow.TOP_BOTTOM_PADDING:Ljava/awt/Insets;
117: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
118: aload 6
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 10
invokevirtual javax.swing.JRootPane.setDefaultButton:(Ljavax/swing/JButton;)V
119: aload 6
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 12
getstatic sun.security.tools.policytool.ToolDialog.escKey:Ljavax/swing/KeyStroke;
iconst_2
invokevirtual javax.swing.JRootPane.registerKeyboardAction:(Ljava/awt/event/ActionListener;Ljavax/swing/KeyStroke;I)V
120: aload 6
invokevirtual sun.security.tools.policytool.ToolDialog.pack:()V
121: aload 6
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolDialog.setLocationRelativeTo:(Ljava/awt/Component;)V
122: aload 6
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setVisible:(Z)V
123: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 124 0 this Lsun/security/tools/policytool/ToolDialog;
0 124 1 editPolicyEntry Z
0 124 2 edit Z
1 124 3 editMe Lsun/security/provider/PolicyParser$PermissionEntry;
2 124 4 permList Lsun/security/tools/policytool/TaggedList;
3 124 5 permIndex I
8 124 6 newTD Lsun/security/tools/policytool/ToolDialog;
16 124 7 label Ljavax/swing/JLabel;
21 124 8 choice Ljavax/swing/JComboBox;
24 29 9 i I
26 27 10 next Lsun/security/tools/policytool/Perm;
36 124 9 tf Ljavax/swing/JTextField;
40 42 10 inputPerm Lsun/security/tools/policytool/Perm;
102 124 10 okButton Ljavax/swing/JButton;
112 124 11 cancelButton Ljavax/swing/JButton;
113 124 12 cancelListener Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
editPolicyEntry
edit
sun.security.provider.PolicyParser$PrincipalEntry getPrinFromDialog();
descriptor: ()Lsun/security/provider/PolicyParser$PrincipalEntry;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
iconst_2
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 1
start local 1 1: new java.lang.String
dup
aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
iconst_4
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 1
3: new java.lang.String
dup
aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: aload 2
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: ldc "WILDCARD_PRINCIPAL_CLASS"
astore 2
6: StackMap locals: javax.swing.JTextField java.lang.String java.lang.String
StackMap stack:
aload 3
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: ldc "WILDCARD_PRINCIPAL_NAME"
astore 3
8: StackMap locals:
StackMap stack:
aload 2
ldc "WILDCARD_PRINCIPAL_CLASS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
9: aload 3
ldc "WILDCARD_PRINCIPAL_NAME"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
10: new java.lang.Exception
dup
11: ldc "Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
12: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 3
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
14: new java.lang.Exception
dup
15: ldc "Cannot.Specify.Principal.without.a.Name"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
16: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 47
18: ldc "PolicyParser.REPLACE_NAME"
astore 2
19: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
getfield sun.security.tools.policytool.PolicyTool.warnings:Ljava/util/Vector;
20: new java.lang.StringBuilder
dup
ldc "Warning: Principal name '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc "' specified without a Principal class.\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: ldc "\t'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' will be interpreted "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: ldc "as a key store alias.\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: ldc "\tThe final principal class will be "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: ldc "javax.security.auth.x500.X500Principal"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: ldc "\tThe final principal name will be "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: ldc "determined by the following:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
28: ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: ldc "\tIf the key store entry identified by '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: ldc "\tis a key entry, then the principal name will be\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: ldc "\tthe subject distinguished name from the first\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
33: ldc "\tcertificate in the entry's certificate chain.\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
34: ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
35: ldc "\tIf the key store entry identified by '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
37: ldc "\tis a trusted certificate entry, then the\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
38: ldc "\tprincipal name will be the subject distinguished\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
39: ldc "\tname from the trusted public key certificate."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
40: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
41: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
42: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
43: new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' will be interpreted as a key "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
44: ldc "store alias. View Warning Log for details."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
45: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
46: invokevirtual sun.security.tools.policytool.ToolWindow.displayStatusDialog:(Ljava/awt/Window;Ljava/lang/String;)V
47: StackMap locals:
StackMap stack:
new sun.security.provider.PolicyParser$PrincipalEntry
dup
aload 2
aload 3
invokespecial sun.security.provider.PolicyParser$PrincipalEntry.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lsun/security/tools/policytool/ToolDialog;
1 48 1 tf Ljavax/swing/JTextField;
2 48 2 pclass Ljava/lang/String;
4 48 3 pname Ljava/lang/String;
Exceptions:
throws java.lang.Exception
sun.security.provider.PolicyParser$PermissionEntry getPermFromDialog();
descriptor: ()Lsun/security/provider/PolicyParser$PermissionEntry;
flags: (0x0000)
Code:
stack=6, locals=12, args_size=1
start local 0 0: aload 0
iconst_2
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 1
start local 1 1: new java.lang.String
dup
aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
iconst_4
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 1
3: aconst_null
astore 3
start local 3 4: aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
5: new java.lang.String
dup
aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
astore 3
6: StackMap locals: javax.swing.JTextField java.lang.String java.lang.String
StackMap stack:
aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
7: aload 2
ldc "java.security.AllPermission"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
aload 3
ifnonnull 11
8: StackMap locals:
StackMap stack:
new java.security.InvalidParameterException
dup
9: ldc "Permission.and.Target.Name.must.have.a.value"
10: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 2
ldc "java.io.FilePermission"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
aload 3
ldc "\\\\"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
ifle 21
12: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
13: ldc "Warning"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
14: ldc "Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes"
15: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
16: ldc "Retain"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
17: ldc "Edit"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
18: invokevirtual sun.security.tools.policytool.ToolWindow.displayYesNoDialog:(Ljava/awt/Window;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)C
istore 4
start local 4 19: iload 4
bipush 89
if_icmpeq 21
20: new sun.security.tools.policytool.NoDisplayException
dup
invokespecial sun.security.tools.policytool.NoDisplayException.<init>:()V
athrow
end local 4 21: StackMap locals:
StackMap stack:
aload 0
bipush 6
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 1
22: aconst_null
astore 4
start local 4 23: aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
24: new java.lang.String
dup
aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
astore 4
25: StackMap locals: java.lang.String
StackMap stack:
aload 0
bipush 8
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 1
26: aconst_null
astore 5
start local 5 27: aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 29
28: new java.lang.String
dup
aload 1
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
astore 5
29: StackMap locals: java.lang.String
StackMap stack:
new sun.security.provider.PolicyParser$PermissionEntry
dup
30: aload 2
aload 3
aload 4
31: invokespecial sun.security.provider.PolicyParser$PermissionEntry.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 6
start local 6 32: aload 6
aload 5
putfield sun.security.provider.PolicyParser$PermissionEntry.signedBy:Ljava/lang/String;
33: aload 5
ifnull 51
34: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 6
getfield sun.security.provider.PolicyParser$PermissionEntry.signedBy:Ljava/lang/String;
invokevirtual sun.security.tools.policytool.PolicyTool.parseSigners:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 35: iconst_0
istore 8
start local 8 36: goto 50
37: StackMap locals: sun.security.provider.PolicyParser$PermissionEntry java.lang.String[] int
StackMap stack:
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 7
iload 8
aaload
invokevirtual sun.security.tools.policytool.PolicyTool.getPublicKeyAlias:(Ljava/lang/String;)Ljava/security/PublicKey;
astore 9
start local 9 38: aload 9
ifnonnull 49
39: new java.text.MessageFormat
dup
40: ldc "Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured."
41: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
42: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 10
start local 10 43: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
iload 8
aaload
aastore
astore 11
start local 11 44: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
getfield sun.security.tools.policytool.PolicyTool.warnings:Ljava/util/Vector;
aload 10
aload 11
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
45: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 10
aload 11
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.policytool.ToolWindow.displayStatusDialog:(Ljava/awt/Window;Ljava/lang/String;)V
end local 11 end local 10 end local 9 46: goto 49
StackMap locals:
StackMap stack: java.lang.Exception
47: astore 9
start local 9 48: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 9
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
end local 9 49: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
50: iload 8
aload 7
arraylength
if_icmplt 37
end local 8 end local 7 51: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lsun/security/tools/policytool/ToolDialog;
1 52 1 tf Ljavax/swing/JTextField;
2 52 2 permission Ljava/lang/String;
4 52 3 name Ljava/lang/String;
19 21 4 result C
23 52 4 actions Ljava/lang/String;
27 52 5 signedBy Ljava/lang/String;
32 52 6 pppe Lsun/security/provider/PolicyParser$PermissionEntry;
35 51 7 signers [Ljava/lang/String;
36 51 8 i I
38 46 9 pubKey Ljava/security/PublicKey;
43 46 10 form Ljava/text/MessageFormat;
44 46 11 source [Ljava/lang/Object;
48 49 9 e Ljava/lang/Exception;
Exception table:
from to target type
37 46 47 Class java.lang.Exception
void displayConfirmRemovePolicyEntry();
descriptor: ()V
flags: (0x0000)
Code:
stack=14, locals=10, args_size=1
start local 0 0: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_3
invokevirtual sun.security.tools.policytool.ToolWindow.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JList
astore 1
start local 1 1: aload 1
invokevirtual javax.swing.JList.getSelectedIndex:()I
istore 2
start local 2 2: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getEntry:()[Lsun/security/tools/policytool/PolicyEntry;
astore 3
start local 3 3: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolWindow.getLocationOnScreen:()Ljava/awt/Point;
pop
4: aload 0
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual sun.security.tools.policytool.ToolDialog.setLayout:(Ljava/awt/LayoutManager;)V
5: new javax.swing.JLabel
dup
6: ldc "Remove.this.Policy.Entry."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
7: invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 4
start local 4 8: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 4
iconst_0
9: iconst_0
iconst_0
iconst_2
iconst_1
dconst_0
dconst_0
iconst_1
10: getstatic sun.security.tools.policytool.ToolWindow.BOTTOM_PADDING:Ljava/awt/Insets;
11: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
12: new javax.swing.JLabel
dup
aload 3
iload 2
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.codebaseToString:()Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 4
13: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 4
iconst_1
14: iconst_0
iconst_1
iconst_2
iconst_1
dconst_0
dconst_0
iconst_1
15: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
16: new javax.swing.JLabel
dup
aload 3
iload 2
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.principalsToString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 4
17: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 4
iconst_2
18: iconst_0
iconst_2
iconst_2
iconst_1
dconst_0
dconst_0
iconst_1
19: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
20: aload 3
iload 2
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.getGrantEntry:()Lsun/security/provider/PolicyParser$GrantEntry;
getfield sun.security.provider.PolicyParser$GrantEntry.permissionEntries:Ljava/util/Vector;
21: astore 5
start local 5 22: iconst_0
istore 6
start local 6 23: goto 39
24: StackMap locals: sun.security.tools.policytool.ToolDialog javax.swing.JList int sun.security.tools.policytool.PolicyEntry[] javax.swing.JLabel java.util.Vector int
StackMap stack:
aload 5
iload 6
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.security.provider.PolicyParser$PermissionEntry
astore 7
start local 7 25: aload 7
invokestatic sun.security.tools.policytool.ToolDialog.PermissionEntryToUserFriendlyString:(Lsun/security/provider/PolicyParser$PermissionEntry;)Ljava/lang/String;
astore 8
start local 8 26: new javax.swing.JLabel
dup
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 4
27: iload 6
aload 5
invokevirtual java.util.Vector.size:()I
iconst_1
isub
if_icmpne 34
28: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 4
iconst_3
iload 6
iadd
29: iconst_1
iconst_3
iload 6
iadd
iconst_1
iconst_1
dconst_0
dconst_0
30: iconst_1
31: getstatic sun.security.tools.policytool.ToolWindow.BOTTOM_PADDING:Ljava/awt/Insets;
32: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
33: goto 38
34: StackMap locals: sun.security.provider.PolicyParser$PermissionEntry java.lang.String
StackMap stack:
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 4
iconst_3
iload 6
iadd
35: iconst_1
iconst_3
iload 6
iadd
iconst_1
iconst_1
dconst_0
dconst_0
36: iconst_1
37: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
end local 8 end local 7 38: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
39: iload 6
aload 5
invokevirtual java.util.Vector.size:()I
if_icmplt 24
end local 6 40: new javax.swing.JPanel
dup
invokespecial javax.swing.JPanel.<init>:()V
astore 6
start local 6 41: aload 6
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual javax.swing.JPanel.setLayout:(Ljava/awt/LayoutManager;)V
42: new javax.swing.JButton
dup
ldc "OK"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 7
start local 7 43: aload 7
44: new sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener
dup
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
invokespecial sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;)V
45: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
46: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 7
iconst_0
47: iconst_0
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
48: iconst_3
getstatic sun.security.tools.policytool.ToolWindow.LR_PADDING:Ljava/awt/Insets;
49: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
50: new javax.swing.JButton
dup
ldc "Cancel"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;)V
astore 8
start local 8 51: new sun.security.tools.policytool.CancelButtonListener
dup
aload 0
invokespecial sun.security.tools.policytool.CancelButtonListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
astore 9
start local 9 52: aload 8
aload 9
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
53: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 6
aload 8
iconst_1
54: iconst_1
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
55: iconst_3
getstatic sun.security.tools.policytool.ToolWindow.LR_PADDING:Ljava/awt/Insets;
56: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
57: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 6
iconst_3
aload 5
invokevirtual java.util.Vector.size:()I
iadd
58: iconst_0
iconst_3
aload 5
invokevirtual java.util.Vector.size:()I
iadd
iconst_2
iconst_1
dconst_0
dconst_0
59: iconst_3
getstatic sun.security.tools.policytool.ToolWindow.TOP_BOTTOM_PADDING:Ljava/awt/Insets;
60: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
61: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 7
invokevirtual javax.swing.JRootPane.setDefaultButton:(Ljavax/swing/JButton;)V
62: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 9
getstatic sun.security.tools.policytool.ToolDialog.escKey:Ljavax/swing/KeyStroke;
iconst_2
invokevirtual javax.swing.JRootPane.registerKeyboardAction:(Ljava/awt/event/ActionListener;Ljavax/swing/KeyStroke;I)V
63: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.pack:()V
64: aload 0
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolDialog.setLocationRelativeTo:(Ljava/awt/Component;)V
65: aload 0
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setVisible:(Z)V
66: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 67 0 this Lsun/security/tools/policytool/ToolDialog;
1 67 1 list Ljavax/swing/JList;
2 67 2 index I
3 67 3 entries [Lsun/security/tools/policytool/PolicyEntry;
8 67 4 label Ljavax/swing/JLabel;
22 67 5 perms Ljava/util/Vector<Lsun/security/provider/PolicyParser$PermissionEntry;>;
23 40 6 i I
25 38 7 nextPerm Lsun/security/provider/PolicyParser$PermissionEntry;
26 38 8 permString Ljava/lang/String;
41 67 6 panel Ljavax/swing/JPanel;
43 67 7 okButton Ljavax/swing/JButton;
51 67 8 cancelButton Ljavax/swing/JButton;
52 67 9 cancelListener Ljava/awt/event/ActionListener;
void displaySaveAsDialog(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: new java.awt.FileDialog
dup
1: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
ldc "Save.As"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
2: invokespecial java.awt.FileDialog.<init>:(Ljava/awt/Frame;Ljava/lang/String;I)V
astore 2
start local 2 3: aload 2
new sun.security.tools.policytool.ToolDialog$1
dup
aload 0
invokespecial sun.security.tools.policytool.ToolDialog$1.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual java.awt.FileDialog.addWindowListener:(Ljava/awt/event/WindowListener;)V
4: aload 2
iconst_1
invokevirtual java.awt.FileDialog.setVisible:(Z)V
5: aload 2
invokevirtual java.awt.FileDialog.getFile:()Ljava/lang/String;
ifnull 7
6: aload 2
invokevirtual java.awt.FileDialog.getFile:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: StackMap locals: java.awt.FileDialog
StackMap stack:
return
8: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 2
invokevirtual java.awt.FileDialog.getDirectory:()Ljava/lang/String;
aload 2
invokevirtual java.awt.FileDialog.getFile:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 9: aload 3
invokevirtual java.io.File.getPath:()Ljava/lang/String;
astore 4
start local 4 10: aload 2
invokevirtual java.awt.FileDialog.dispose:()V
11: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 4
invokevirtual sun.security.tools.policytool.PolicyTool.savePolicy:(Ljava/lang/String;)V
12: new java.text.MessageFormat
dup
13: ldc "Policy.successfully.written.to.filename"
14: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 5
start local 5 15: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
astore 6
start local 6 16: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aconst_null
aload 5
aload 6
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.policytool.ToolWindow.displayStatusDialog:(Ljava/awt/Window;Ljava/lang/String;)V
17: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
18: iconst_1
19: invokevirtual sun.security.tools.policytool.ToolWindow.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 7
start local 7 20: aload 7
aload 4
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
21: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_1
invokevirtual sun.security.tools.policytool.ToolWindow.setVisible:(Z)V
22: aload 0
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokevirtual sun.security.tools.policytool.ToolDialog.userSaveContinue:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;I)V
end local 7 end local 6 end local 5 23: goto 34
StackMap locals: sun.security.tools.policytool.ToolDialog int java.awt.FileDialog java.io.File java.lang.String
StackMap stack: java.io.FileNotFoundException
24: astore 5
start local 5 25: aload 4
ifnull 26
aload 4
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
26: StackMap locals: java.io.FileNotFoundException
StackMap stack:
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aconst_null
new java.io.FileNotFoundException
dup
27: ldc "null.filename"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
28: invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
29: goto 34
30: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aconst_null
aload 5
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
end local 5 31: goto 34
32: StackMap locals: sun.security.tools.policytool.ToolDialog int java.awt.FileDialog java.io.File java.lang.String
StackMap stack: java.lang.Exception
astore 5
start local 5 33: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aconst_null
aload 5
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
end local 5 34: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/security/tools/policytool/ToolDialog;
0 35 1 nextEvent I
3 35 2 fd Ljava/awt/FileDialog;
9 35 3 saveAsFile Ljava/io/File;
10 35 4 filename Ljava/lang/String;
15 23 5 form Ljava/text/MessageFormat;
16 23 6 source [Ljava/lang/Object;
20 23 7 newFilename Ljavax/swing/JTextField;
25 31 5 fnfe Ljava/io/FileNotFoundException;
33 34 5 ee Ljava/lang/Exception;
Exception table:
from to target type
11 23 24 Class java.io.FileNotFoundException
11 23 32 Class java.lang.Exception
MethodParameters:
Name Flags
nextEvent
void displayUserSave(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=14, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
getfield sun.security.tools.policytool.PolicyTool.modified:Z
ifeq 49
1: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolWindow.getLocationOnScreen:()Ljava/awt/Point;
pop
2: aload 0
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual sun.security.tools.policytool.ToolDialog.setLayout:(Ljava/awt/LayoutManager;)V
3: new javax.swing.JLabel
dup
4: ldc "Save.changes."
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
5: invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 2
start local 2 6: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 2
iconst_0
7: iconst_0
iconst_0
iconst_3
iconst_1
dconst_0
dconst_0
iconst_1
8: getstatic sun.security.tools.policytool.ToolWindow.L_TOP_BOTTOM_PADDING:Ljava/awt/Insets;
9: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
10: new javax.swing.JPanel
dup
invokespecial javax.swing.JPanel.<init>:()V
astore 3
start local 3 11: aload 3
new java.awt.GridBagLayout
dup
invokespecial java.awt.GridBagLayout.<init>:()V
invokevirtual javax.swing.JPanel.setLayout:(Ljava/awt/LayoutManager;)V
12: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 4
start local 4 13: aload 4
ldc "Yes"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
14: aload 4
15: new sun.security.tools.policytool.UserSaveYesButtonListener
dup
aload 0
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
iload 1
invokespecial sun.security.tools.policytool.UserSaveYesButtonListener.<init>:(Lsun/security/tools/policytool/ToolDialog;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;I)V
16: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
17: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 3
aload 4
iconst_0
18: iconst_0
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
19: iconst_3
20: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
21: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
22: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 5
start local 5 23: aload 5
ldc "No"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
24: aload 5
25: new sun.security.tools.policytool.UserSaveNoButtonListener
dup
aload 0
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
iload 1
invokespecial sun.security.tools.policytool.UserSaveNoButtonListener.<init>:(Lsun/security/tools/policytool/ToolDialog;Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;I)V
26: invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
27: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 3
aload 5
iconst_1
28: iconst_1
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
29: iconst_3
30: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
31: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
32: new javax.swing.JButton
dup
invokespecial javax.swing.JButton.<init>:()V
astore 6
start local 6 33: aload 6
ldc "Cancel"
invokestatic sun.security.tools.policytool.ToolWindow.configureButton:(Ljavax/swing/AbstractButton;Ljava/lang/String;)V
34: new sun.security.tools.policytool.CancelButtonListener
dup
aload 0
invokespecial sun.security.tools.policytool.CancelButtonListener.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
astore 7
start local 7 35: aload 6
aload 7
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
36: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 3
aload 6
iconst_2
37: iconst_2
iconst_0
iconst_1
iconst_1
dconst_0
dconst_0
38: iconst_3
39: getstatic sun.security.tools.policytool.ToolWindow.LR_BOTTOM_PADDING:Ljava/awt/Insets;
40: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDILjava/awt/Insets;)V
41: aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
aload 3
iconst_1
42: iconst_0
iconst_1
iconst_1
iconst_1
dconst_0
dconst_0
iconst_1
43: invokevirtual sun.security.tools.policytool.ToolWindow.addNewComponent:(Ljava/awt/Container;Ljavax/swing/JComponent;IIIIIDDI)V
44: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.getRootPane:()Ljavax/swing/JRootPane;
aload 7
getstatic sun.security.tools.policytool.ToolDialog.escKey:Ljavax/swing/KeyStroke;
iconst_2
invokevirtual javax.swing.JRootPane.registerKeyboardAction:(Ljava/awt/event/ActionListener;Ljavax/swing/KeyStroke;I)V
45: aload 0
invokevirtual sun.security.tools.policytool.ToolDialog.pack:()V
46: aload 0
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
invokevirtual sun.security.tools.policytool.ToolDialog.setLocationRelativeTo:(Ljava/awt/Component;)V
47: aload 0
iconst_1
invokevirtual sun.security.tools.policytool.ToolDialog.setVisible:(Z)V
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 48: goto 50
49: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.tools.policytool.ToolDialog.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0
getfield sun.security.tools.policytool.ToolDialog.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0
iload 1
invokevirtual sun.security.tools.policytool.ToolDialog.userSaveContinue:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;I)V
50: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lsun/security/tools/policytool/ToolDialog;
0 51 1 select I
6 48 2 label Ljavax/swing/JLabel;
11 48 3 panel Ljavax/swing/JPanel;
13 48 4 yesButton Ljavax/swing/JButton;
23 48 5 noButton Ljavax/swing/JButton;
33 48 6 cancelButton Ljavax/swing/JButton;
35 48 7 cancelListener Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
select
void userSaveContinue(sun.security.tools.policytool.PolicyTool, sun.security.tools.policytool.ToolWindow, sun.security.tools.policytool.ToolDialog, int);
descriptor: (Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;I)V
flags: (0x0000)
Code:
stack=5, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
tableswitch { // 1 - 3
1: 1
2: 4
3: 20
default: 72
}
1: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokevirtual sun.security.tools.policytool.ToolWindow.setVisible:(Z)V
2: aload 2
invokevirtual sun.security.tools.policytool.ToolWindow.dispose:()V
3: iconst_0
invokestatic java.lang.System.exit:(I)V
4: StackMap locals:
StackMap stack:
aload 1
aconst_null
invokevirtual sun.security.tools.policytool.PolicyTool.openPolicy:(Ljava/lang/String;)V
5: goto 9
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 5
start local 5 7: aload 1
iconst_0
putfield sun.security.tools.policytool.PolicyTool.modified:Z
8: aload 2
aconst_null
aload 5
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
end local 5 9: StackMap locals:
StackMap stack:
new javax.swing.JList
dup
new javax.swing.DefaultListModel
dup
invokespecial javax.swing.DefaultListModel.<init>:()V
invokespecial javax.swing.JList.<init>:(Ljavax/swing/ListModel;)V
astore 5
start local 5 10: aload 5
bipush 15
invokevirtual javax.swing.JList.setVisibleRowCount:(I)V
11: aload 5
iconst_0
invokevirtual javax.swing.JList.setSelectionMode:(I)V
12: aload 5
new sun.security.tools.policytool.PolicyListListener
dup
aload 1
aload 2
invokespecial sun.security.tools.policytool.PolicyListListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;)V
invokevirtual javax.swing.JList.addMouseListener:(Ljava/awt/event/MouseListener;)V
13: aload 2
aload 5
invokevirtual sun.security.tools.policytool.ToolWindow.replacePolicyList:(Ljavax/swing/JList;)V
14: aload 2
15: iconst_1
16: invokevirtual sun.security.tools.policytool.ToolWindow.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 6
start local 6 17: aload 6
ldc ""
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
18: aload 2
iconst_1
invokevirtual sun.security.tools.policytool.ToolWindow.setVisible:(Z)V
19: goto 72
end local 6 end local 5 20: StackMap locals:
StackMap stack:
new java.awt.FileDialog
dup
21: aload 2
ldc "Open"
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
iconst_0
22: invokespecial java.awt.FileDialog.<init>:(Ljava/awt/Frame;Ljava/lang/String;I)V
astore 7
start local 7 23: aload 7
new sun.security.tools.policytool.ToolDialog$2
dup
aload 0
invokespecial sun.security.tools.policytool.ToolDialog$2.<init>:(Lsun/security/tools/policytool/ToolDialog;)V
invokevirtual java.awt.FileDialog.addWindowListener:(Ljava/awt/event/WindowListener;)V
24: aload 7
iconst_1
invokevirtual java.awt.FileDialog.setVisible:(Z)V
25: aload 7
invokevirtual java.awt.FileDialog.getFile:()Ljava/lang/String;
ifnull 27
26: aload 7
invokevirtual java.awt.FileDialog.getFile:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
27: StackMap locals: sun.security.tools.policytool.ToolDialog sun.security.tools.policytool.PolicyTool sun.security.tools.policytool.ToolWindow sun.security.tools.policytool.ToolDialog int top top java.awt.FileDialog
StackMap stack:
return
28: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 7
invokevirtual java.awt.FileDialog.getDirectory:()Ljava/lang/String;
aload 7
invokevirtual java.awt.FileDialog.getFile:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.getPath:()Ljava/lang/String;
astore 8
start local 8 29: aload 1
aload 8
invokevirtual sun.security.tools.policytool.PolicyTool.openPolicy:(Ljava/lang/String;)V
30: new javax.swing.DefaultListModel
dup
invokespecial javax.swing.DefaultListModel.<init>:()V
astore 9
start local 9 31: new javax.swing.JList
dup
aload 9
invokespecial javax.swing.JList.<init>:(Ljavax/swing/ListModel;)V
astore 5
start local 5 32: aload 5
bipush 15
invokevirtual javax.swing.JList.setVisibleRowCount:(I)V
33: aload 5
iconst_0
invokevirtual javax.swing.JList.setSelectionMode:(I)V
34: aload 5
new sun.security.tools.policytool.PolicyListListener
dup
aload 1
aload 2
invokespecial sun.security.tools.policytool.PolicyListListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;)V
invokevirtual javax.swing.JList.addMouseListener:(Ljava/awt/event/MouseListener;)V
35: aload 1
invokevirtual sun.security.tools.policytool.PolicyTool.getEntry:()[Lsun/security/tools/policytool/PolicyEntry;
astore 10
start local 10 36: aload 10
ifnull 42
37: iconst_0
istore 11
start local 11 38: goto 41
39: StackMap locals: sun.security.tools.policytool.ToolDialog sun.security.tools.policytool.PolicyTool sun.security.tools.policytool.ToolWindow sun.security.tools.policytool.ToolDialog int javax.swing.JList top java.awt.FileDialog java.lang.String javax.swing.DefaultListModel sun.security.tools.policytool.PolicyEntry[] int
StackMap stack:
aload 9
aload 10
iload 11
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.headerToString:()Ljava/lang/String;
invokevirtual javax.swing.DefaultListModel.addElement:(Ljava/lang/Object;)V
40: iinc 11 1
StackMap locals:
StackMap stack:
41: iload 11
aload 10
arraylength
if_icmplt 39
end local 11 42: StackMap locals:
StackMap stack:
aload 2
aload 5
invokevirtual sun.security.tools.policytool.ToolWindow.replacePolicyList:(Ljavax/swing/JList;)V
43: aload 1
iconst_0
putfield sun.security.tools.policytool.PolicyTool.modified:Z
44: aload 2
45: iconst_1
46: invokevirtual sun.security.tools.policytool.ToolWindow.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 6
start local 6 47: aload 6
aload 8
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
48: aload 2
iconst_1
invokevirtual sun.security.tools.policytool.ToolWindow.setVisible:(Z)V
49: aload 1
getfield sun.security.tools.policytool.PolicyTool.newWarning:Z
ifeq 72
50: aload 2
aconst_null
51: ldc "Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information."
52: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.policytool.ToolWindow.displayStatusDialog:(Ljava/awt/Window;Ljava/lang/String;)V
end local 10 end local 9 53: goto 72
end local 6 end local 5 StackMap locals: sun.security.tools.policytool.ToolDialog sun.security.tools.policytool.PolicyTool sun.security.tools.policytool.ToolWindow sun.security.tools.policytool.ToolDialog int top top java.awt.FileDialog java.lang.String
StackMap stack: java.lang.Exception
54: astore 9
start local 9 55: new javax.swing.JList
dup
new javax.swing.DefaultListModel
dup
invokespecial javax.swing.DefaultListModel.<init>:()V
invokespecial javax.swing.JList.<init>:(Ljavax/swing/ListModel;)V
astore 5
start local 5 56: aload 5
bipush 15
invokevirtual javax.swing.JList.setVisibleRowCount:(I)V
57: aload 5
iconst_0
invokevirtual javax.swing.JList.setSelectionMode:(I)V
58: aload 5
new sun.security.tools.policytool.PolicyListListener
dup
aload 1
aload 2
invokespecial sun.security.tools.policytool.PolicyListListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;)V
invokevirtual javax.swing.JList.addMouseListener:(Ljava/awt/event/MouseListener;)V
59: aload 2
aload 5
invokevirtual sun.security.tools.policytool.ToolWindow.replacePolicyList:(Ljavax/swing/JList;)V
60: aload 1
aconst_null
invokevirtual sun.security.tools.policytool.PolicyTool.setPolicyFileName:(Ljava/lang/String;)V
61: aload 1
iconst_0
putfield sun.security.tools.policytool.PolicyTool.modified:Z
62: aload 2
63: iconst_1
64: invokevirtual sun.security.tools.policytool.ToolWindow.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JTextField
astore 6
start local 6 65: aload 6
ldc ""
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
66: aload 2
iconst_1
invokevirtual sun.security.tools.policytool.ToolWindow.setVisible:(Z)V
67: new java.text.MessageFormat
dup
68: ldc "Could.not.open.policy.file.policyFile.e.toString."
69: invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 10
start local 10 70: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 8
aastore
dup
iconst_1
aload 9
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aastore
astore 11
start local 11 71: aload 2
aconst_null
aload 10
aload 11
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/String;)V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 72: StackMap locals: sun.security.tools.policytool.ToolDialog sun.security.tools.policytool.PolicyTool sun.security.tools.policytool.ToolWindow sun.security.tools.policytool.ToolDialog int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 73 0 this Lsun/security/tools/policytool/ToolDialog;
0 73 1 tool Lsun/security/tools/policytool/PolicyTool;
0 73 2 tw Lsun/security/tools/policytool/ToolWindow;
0 73 3 us Lsun/security/tools/policytool/ToolDialog;
0 73 4 select I
7 9 5 ee Ljava/lang/Exception;
10 20 5 list Ljavax/swing/JList;
32 54 5 list Ljavax/swing/JList;
56 72 5 list Ljavax/swing/JList;
17 20 6 newFilename Ljavax/swing/JTextField;
47 54 6 newFilename Ljavax/swing/JTextField;
65 72 6 newFilename Ljavax/swing/JTextField;
23 72 7 fd Ljava/awt/FileDialog;
29 72 8 policyFile Ljava/lang/String;
31 53 9 listModel Ljavax/swing/DefaultListModel;
36 53 10 entries [Lsun/security/tools/policytool/PolicyEntry;
38 42 11 i I
55 72 9 e Ljava/lang/Exception;
70 72 10 form Ljava/text/MessageFormat;
71 72 11 source [Ljava/lang/Object;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
29 53 54 Class java.lang.Exception
MethodParameters:
Name Flags
tool
tw
us
select
void setPermissionNames(sun.security.tools.policytool.Perm, javax.swing.JComboBox, javax.swing.JTextField);
descriptor: (Lsun/security/tools/policytool/Perm;Ljavax/swing/JComboBox;Ljavax/swing/JTextField;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual javax.swing.JComboBox.removeAllItems:()V
1: aload 2
getstatic sun.security.tools.policytool.ToolDialog.PERM_NAME:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
2: aload 1
ifnonnull 5
3: aload 3
iconst_1
invokevirtual javax.swing.JTextField.setEditable:(Z)V
4: goto 14
StackMap locals:
StackMap stack:
5: aload 1
getfield sun.security.tools.policytool.Perm.TARGETS:[Ljava/lang/String;
ifnonnull 8
6: aload 3
iconst_0
invokevirtual javax.swing.JTextField.setEditable:(Z)V
7: goto 14
8: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokevirtual javax.swing.JTextField.setEditable:(Z)V
9: iconst_0
istore 4
start local 4 10: goto 13
11: StackMap locals: int
StackMap stack:
aload 2
aload 1
getfield sun.security.tools.policytool.Perm.TARGETS:[Ljava/lang/String;
iload 4
aaload
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 1
getfield sun.security.tools.policytool.Perm.TARGETS:[Ljava/lang/String;
arraylength
if_icmplt 11
end local 4 14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/tools/policytool/ToolDialog;
0 15 1 inputPerm Lsun/security/tools/policytool/Perm;
0 15 2 names Ljavax/swing/JComboBox;
0 15 3 field Ljavax/swing/JTextField;
10 14 4 i I
MethodParameters:
Name Flags
inputPerm
names
field
void setPermissionActions(sun.security.tools.policytool.Perm, javax.swing.JComboBox, javax.swing.JTextField);
descriptor: (Lsun/security/tools/policytool/Perm;Ljavax/swing/JComboBox;Ljavax/swing/JTextField;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual javax.swing.JComboBox.removeAllItems:()V
1: aload 2
getstatic sun.security.tools.policytool.ToolDialog.PERM_ACTIONS:Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
2: aload 1
ifnonnull 5
3: aload 3
iconst_1
invokevirtual javax.swing.JTextField.setEditable:(Z)V
4: goto 14
StackMap locals:
StackMap stack:
5: aload 1
getfield sun.security.tools.policytool.Perm.ACTIONS:[Ljava/lang/String;
ifnonnull 8
6: aload 3
iconst_0
invokevirtual javax.swing.JTextField.setEditable:(Z)V
7: goto 14
8: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokevirtual javax.swing.JTextField.setEditable:(Z)V
9: iconst_0
istore 4
start local 4 10: goto 13
11: StackMap locals: int
StackMap stack:
aload 2
aload 1
getfield sun.security.tools.policytool.Perm.ACTIONS:[Ljava/lang/String;
iload 4
aaload
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 1
getfield sun.security.tools.policytool.Perm.ACTIONS:[Ljava/lang/String;
arraylength
if_icmplt 11
end local 4 14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/tools/policytool/ToolDialog;
0 15 1 inputPerm Lsun/security/tools/policytool/Perm;
0 15 2 actions Ljavax/swing/JComboBox;
0 15 3 field Ljavax/swing/JTextField;
10 14 4 i I
MethodParameters:
Name Flags
inputPerm
actions
field
static java.lang.String PermissionEntryToUserFriendlyString(sun.security.provider.PolicyParser$PermissionEntry);
descriptor: (Lsun/security/provider/PolicyParser$PermissionEntry;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.PolicyParser$PermissionEntry.permission:Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield sun.security.provider.PolicyParser$PermissionEntry.name:Ljava/lang/String;
ifnull 3
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.PolicyParser$PermissionEntry.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.security.provider.PolicyParser$PermissionEntry.action:Ljava/lang/String;
ifnull 5
4: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.PolicyParser$PermissionEntry.action:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.PolicyParser$PermissionEntry.signedBy:Ljava/lang/String;
ifnull 7
6: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", signedBy "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.PolicyParser$PermissionEntry.signedBy:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 pppe Lsun/security/provider/PolicyParser$PermissionEntry;
1 8 1 result Ljava/lang/String;
MethodParameters:
Name Flags
pppe
static java.lang.String PrincipalEntryToUserFriendlyString(sun.security.provider.PolicyParser$PrincipalEntry);
descriptor: (Lsun/security/provider/PolicyParser$PrincipalEntry;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 1
start local 1 1: new java.io.PrintWriter
dup
aload 1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.write:(Ljava/io/PrintWriter;)V
3: aload 1
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 pppe Lsun/security/provider/PolicyParser$PrincipalEntry;
1 4 1 sw Ljava/io/StringWriter;
2 4 2 pw Ljava/io/PrintWriter;
MethodParameters:
Name Flags
pppe
}
SourceFile: "PolicyTool.java"
NestMembers:
sun.security.tools.policytool.ToolDialog$1 sun.security.tools.policytool.ToolDialog$2
InnerClasses:
public GrantEntry = sun.security.provider.PolicyParser$GrantEntry of sun.security.provider.PolicyParser
public PermissionEntry = sun.security.provider.PolicyParser$PermissionEntry of sun.security.provider.PolicyParser
public PrincipalEntry = sun.security.provider.PolicyParser$PrincipalEntry of sun.security.provider.PolicyParser
sun.security.tools.policytool.ToolDialog$1
sun.security.tools.policytool.ToolDialog$2