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 2994
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 2999
aload 0 /* this */
aload 1 /* tool */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
2: .line 3000
aload 0 /* this */
aload 2 /* tw */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
3: .line 3001
aload 0 /* this */
aload 3 /* listDialog */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.listDialog:Lsun/security/tools/policytool/ToolDialog;
4: .line 3002
aload 0 /* this */
aload 4 /* infoDialog */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.infoDialog:Lsun/security/tools/policytool/ToolDialog;
5: .line 3003
aload 0 /* this */
iload 5 /* edit */
putfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.edit:Z
6: .line 3004
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 3011
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 3010
astore 2 /* pppe */
start local 2 // sun.security.provider.PolicyParser$PrincipalEntry pppe
2: .line 3012
aload 2 /* pppe */
ifnull 24
3: .line 3014
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 3015
aload 2 /* pppe */
invokevirtual sun.security.provider.PolicyParser$PrincipalEntry.getPrincipalName:()Ljava/lang/String;
5: .line 3014
invokevirtual sun.security.tools.policytool.PolicyTool.verifyPrincipal:(Ljava/lang/String;Ljava/lang/String;)V
6: .line 3016
goto 16
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 3017
new java.text.MessageFormat
dup
9: .line 3018
getstatic sun.security.tools.policytool.PolicyTool.rb:Ljava/util/ResourceBundle;
10: .line 3019
ldc "Warning.Class.not.found.class"
11: .line 3018
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
12: .line 3017
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 3 /* form */
start local 3 // java.text.MessageFormat form
13: .line 3020
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
14: .line 3021
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
15: .line 3022
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
16: .line 3027
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
17: .line 3026
astore 3 /* prinList */
start local 3 // sun.security.tools.policytool.TaggedList prinList
18: .line 3029
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
19: .line 3030
aload 0 /* this */
getfield sun.security.tools.policytool.NewPolicyPrinOKButtonListener.edit:Z
ifeq 23
20: .line 3032
aload 3 /* prinList */
invokevirtual sun.security.tools.policytool.TaggedList.getSelectedIndex:()I
istore 5 /* index */
start local 5 // int index
21: .line 3033
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
22: .line 3034
goto 24
23: .line 3036
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
24: .line 3039
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
25: .line 3040
goto 28
StackMap locals: sun.security.tools.policytool.NewPolicyPrinOKButtonListener java.awt.event.ActionEvent
StackMap stack: java.lang.Exception
26: astore 2 /* ee */
start local 2 // java.lang.Exception ee
27: .line 3041
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
28: .line 3043
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 29 0 this Lsun/security/tools/policytool/NewPolicyPrinOKButtonListener;
0 29 1 e Ljava/awt/event/ActionEvent;
2 25 2 pppe Lsun/security/provider/PolicyParser$PrincipalEntry;
13 16 3 form Ljava/text/MessageFormat;
14 16 4 source [Ljava/lang/Object;
18 24 3 prinList Lsun/security/tools/policytool/TaggedList;
19 24 4 prinString Ljava/lang/String;
21 22 5 index I
27 28 2 ee Ljava/lang/Exception;
Exception table:
from to target type
3 6 7 Class java.lang.ClassNotFoundException
0 25 26 Class java.lang.Exception
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"
InnerClasses:
public PrincipalEntry = sun.security.provider.PolicyParser$PrincipalEntry of sun.security.provider.PolicyParser