class sun.security.tools.policytool.NewPolicyPrinOKButtonListener implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.NewPolicyPrinOKButtonListener
super_class: java.lang.Object
{
private sun.security.tools.policytool.PolicyTool tool;
descriptor: Lsun/security/tools/policytool/PolicyTool;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolWindow tw;
descriptor: Lsun/security/tools/policytool/ToolWindow;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolDialog listDialog;
descriptor: Lsun/security/tools/policytool/ToolDialog;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolDialog infoDialog;
descriptor: Lsun/security/tools/policytool/ToolDialog;
flags: (0x0002) ACC_PRIVATE
private boolean edit;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(sun.security.tools.policytool.PolicyTool, sun.security.tools.policytool.ToolWindow, sun.security.tools.policytool.ToolDialog, sun.security.tools.policytool.ToolDialog, boolean);
descriptor: (Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;Lsun/security/tools/policytool/ToolDialog;Z)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 // sun.security.tools.policytool.NewPolicyPrinOKButtonListener this
start local 1 // sun.security.tools.policytool.PolicyTool tool
start local 2 // sun.security.tools.policytool.ToolWindow tw
start local 3 // sun.security.tools.policytool.ToolDialog listDialog
start local 4 // sun.security.tools.policytool.ToolDialog infoDialog
start local 5 // boolean edit
0: .line 3325
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3330
aload 0 /* this */
aload 1 /* tool */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
2: .line 3331
aload 0 /* this */
aload 2 /* tw */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
3: .line 3332
aload 0 /* this */
aload 3 /* listDialog */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.listDialog:Lsun/security/tools/policytool/ToolDialog;
4: .line 3333
aload 0 /* this */
aload 4 /* infoDialog */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.infoDialog:Lsun/security/tools/policytool/ToolDialog;
5: .line 3334
aload 0 /* this */
iload 5 /* edit */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.edit:Z
6: .line 3335
return
end local 5 // boolean edit
end local 4 // sun.security.tools.policytool.ToolDialog infoDialog
end local 3 // sun.security.tools.policytool.ToolDialog listDialog
end local 2 // sun.security.tools.policytool.ToolWindow tw
end local 1 // sun.security.tools.policytool.PolicyTool tool
end local 0 // sun.security.tools.policytool.NewPolicyPrinOKButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/tools/policytool/NewPolicyPrinOKButtonListener;
0 7 1 tool Lsun/security/tools/policytool/PolicyTool;
0 7 2 tw Lsun/security/tools/policytool/ToolWindow;
0 7 3 listDialog Lsun/security/tools/policytool/ToolDialog;
0 7 4 infoDialog Lsun/security/tools/policytool/ToolDialog;
0 7 5 edit Z
MethodParameters:
Name Flags
tool
tw
listDialog
infoDialog
edit
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 // sun.security.tools.policytool.NewPolicyPrinOKButtonListener this
start local 1 // java.awt.event.ActionEvent e
0: .line 3342
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.infoDialog:Lsun/security/tools/policytool/ToolDialog;
invokevirtual sun.security.tools.policytool.ToolDialog.getPrinFromDialog:()Lsun/security/provider/PolicyParser$PrincipalEntry;
1: .line 3341
astore 2 /* pppe */
start local 2 // sun.security.provider.PolicyParser$PrincipalEntry pppe
2: .line 3343
aload 2 /* pppe */
ifnull 23
3: .line 3345
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 2 /* pppe */
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getPrincipalClass:()Ljava/lang/String;
4: .line 3346
aload 2 /* pppe */
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getPrincipalName:()Ljava/lang/String;
5: .line 3345
invokevirtual sun.security.tools.policytool.PolicyTool.verifyPrincipal:(Ljava/lang/String;Ljava/lang/String;)V
6: .line 3347
goto 15
StackMap locals: sun.security.tools.policytool.NewPolicyPrinOKButtonListener java.awt.event.ActionEvent sun.security.provider.PolicyParser$PrincipalEntry
StackMap stack: java.lang.ClassNotFoundException
7: pop
8: .line 3348
new java.text.MessageFormat
dup
9: .line 3350
ldc "Warning.Class.not.found.class"
10: .line 3349
invokestatic sun.security.tools.policytool.PolicyTool.getMessage:(Ljava/lang/String;)Ljava/lang/String;
11: .line 3348
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 3 /* form */
start local 3 // java.text.MessageFormat form
12: .line 3351
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2 /* pppe */
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getPrincipalClass:()Ljava/lang/String;
aastore
astore 4 /* source */
start local 4 // java.lang.Object[] source
13: .line 3352
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
getfield sun.security.tools.policytool.PolicyTool.warnings:Ljava/util/Vector;
aload 3 /* form */
aload 4 /* source */
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
14: .line 3353
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.infoDialog:Lsun/security/tools/policytool/ToolDialog;
aload 3 /* form */
aload 4 /* source */
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 4 // java.lang.Object[] source
end local 3 // java.text.MessageFormat form
15: .line 3358
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.listDialog:Lsun/security/tools/policytool/ToolDialog;
bipush 6
invokevirtual sun.security.tools.policytool.ToolDialog.getComponent:(I)Ljava/awt/Component;
checkcast sun.security.tools.policytool.TaggedList
16: .line 3357
astore 3 /* prinList */
start local 3 // sun.security.tools.policytool.TaggedList prinList
17: .line 3360
aload 2 /* pppe */
invokestatic sun.security.tools.policytool.ToolDialog.PrincipalEntryToUserFriendlyString:(Lsun/security/provider/PolicyParser$PrincipalEntry;)Ljava/lang/String;
astore 4 /* prinString */
start local 4 // java.lang.String prinString
18: .line 3361
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.edit:Z
ifeq 22
19: .line 3363
aload 3 /* prinList */
invokevirtual sun.security.tools.policytool.TaggedList.getSelectedIndex:()I
istore 5 /* index */
start local 5 // int index
20: .line 3364
aload 3 /* prinList */
aload 4 /* prinString */
aload 2 /* pppe */
iload 5 /* index */
invokevirtual sun.security.tools.policytool.TaggedList.replaceTaggedItem:(Ljava/lang/String;Ljava/lang/Object;I)V
end local 5 // int index
21: .line 3365
goto 23
22: .line 3367
StackMap locals: sun.security.tools.policytool.TaggedList java.lang.String
StackMap stack:
aload 3 /* prinList */
aload 4 /* prinString */
aload 2 /* pppe */
invokevirtual sun.security.tools.policytool.TaggedList.addTaggedItem:(Ljava/lang/String;Ljava/lang/Object;)V
end local 4 // java.lang.String prinString
end local 3 // sun.security.tools.policytool.TaggedList prinList
23: .line 3370
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.infoDialog:Lsun/security/tools/policytool/ToolDialog;
invokevirtual sun.security.tools.policytool.ToolDialog.dispose:()V
end local 2 // sun.security.provider.PolicyParser$PrincipalEntry pppe
24: .line 3371
goto 27
StackMap locals: sun.security.tools.policytool.NewPolicyPrinOKButtonListener java.awt.event.ActionEvent
StackMap stack: java.lang.Exception
25: astore 2 /* ee */
start local 2 // java.lang.Exception ee
26: .line 3372
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.infoDialog:Lsun/security/tools/policytool/ToolDialog;
aload 2 /* ee */
invokevirtual sun.security.tools.policytool.ToolWindow.displayErrorDialog:(Ljava/awt/Window;Ljava/lang/Throwable;)V
end local 2 // java.lang.Exception ee
27: .line 3374
StackMap locals:
StackMap stack:
return
end local 1 // java.awt.event.ActionEvent e
end local 0 // sun.security.tools.policytool.NewPolicyPrinOKButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/tools/policytool/NewPolicyPrinOKButtonListener;
0 28 1 e Ljava/awt/event/ActionEvent;
2 24 2 pppe Lsun/security/provider/PolicyParser$PrincipalEntry;
12 15 3 form Ljava/text/MessageFormat;
13 15 4 source [Ljava/lang/Object;
17 23 3 prinList Lsun/security/tools/policytool/TaggedList;
18 23 4 prinString Ljava/lang/String;
20 21 5 index I
26 27 2 ee Ljava/lang/Exception;
Exception table:
from to target type
3 6 7 Class java.lang.ClassNotFoundException
0 24 25 Class java.lang.Exception
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"
InnerClasses:
public PrincipalEntry = sun.security.provider.PolicyParser$PrincipalEntry of sun.security.provider.PolicyParser