8212154: [TESTBUG] CheckArchivedModuleApp fails with NPE when JVMCI is absent
Summary: added a null check on wb.getBooleanVMFlag("EnableJVMCI").
Reviewed-by: hseigel, jiangli
'\" t.\" Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved..\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER..\".\" This code is free software; you can redistribute it and/or modify it.\" under the terms of the GNU General Public License version 2 only, as.\" published by the Free Software Foundation..\".\" This code is distributed in the hope that it will be useful, but WITHOUT.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License.\" version 2 for more details (a copy is included in the LICENSE file that.\" accompanied this code)..\".\" You should have received a copy of the GNU General Public License version.\" 2 along with this work; if not, write to the Free Software Foundation,.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA..\".\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.\" or visit www.oracle.com if you need additional information or have any.\" questions..\".\" Title: javap.\" Language: Japanese.\" Date: 2014ǯ8��8��.\" SectDesc: ���ܥġ���.\" Software: JDK 8.\" Arch: ����.\" Part Number: E58103-01.\" Doc ID: JSSON.\".if n .pl 99999.TH "javap" "1" "2014ǯ8��8��" "JDK 8" "���ܥġ���".\" -----------------------------------------------------------------.\" * Define some portability stuff.\" -----------------------------------------------------------------.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.\" http://bugs.debian.org/507673.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.ie \n(.g .ds Aq \(aq.el .ds Aq '.\" -----------------------------------------------------------------.\" * set default formatting.\" -----------------------------------------------------------------.\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.\" -----------------------------------------------------------------.\" * MAIN CONTENT STARTS HERE *.\" -----------------------------------------------------------------.SH "̾��"javap \- 1�İʾ�Υ��饹���ե������ե�����֥뤷�ޤ���.SH "����".sp.if n \{\.RS 4.\}.nf\fBjavap\fR [\fIoptions\fR] \fIclassfile\fR\&.\&.\&..fi.if n \{\.RE.\}.PP\fIoptions\fR.RS 4���ޥ�ɹԥ��ץ�����ץ����Ȥ��Ƥ���������.RE.PP\fIclassfile\fR.RS 4����ν����оݤȤʤ롢����Ƕ��ڤä�1�İʾ�Υ��饹(DocFooter\&.class�ʤ�)�����饹���ѥ��Ǹ��ФǤ��륯�饹�ե�����̾�ޤ���URL(\fBfile:///home/user/myproject/src/DocFooter\&.class\fR�ʤ�)�ǻ���Ǥ��ޤ���.RE.SH "����".PP\fBjavap\fR���ޥ�ɤϡ�1�Ĥޤ���ʣ���Υ��饹���ե������ե�����֥뤷�ޤ������ν��Ϥϻ��ꤹ�륪�ץ����ˤ��ۤʤ�ޤ������ץ�������ꤷ�ʤ���硢\fBjavap\fR���ޥ�ɤϡ����Υѥå��������Ϥ��줿���饹��protected�����public�Υե�����ɤȥ�åɤ���Ϥ��ޤ���\fBjavap\fR���ޥ�ɤϤ��ν��Ϥ�\fBɸ�����\fR��ɽ�����ޤ���.SH "���ץ����".PP\-help.br\-\-help.br\-?.RS 4\fBjavap\fR���ޥ�ɤˤĤ��ƤΥإ�ס���å���������Ϥ��ޤ���.RE.PP\-version.RS 4�����������Ϥ��ޤ���.RE.PP\-l.RS 4���ֹ�ȥ��������ѿ�ɽ����Ϥ��ޤ���.RE.PP\-public.RS 4public���饹����ӥ��С��Τ�ɽ�����ޤ���.RE.PP\-protected.RS 4protected�����public�Υ��饹�ȥ��С��Τߤ�ɽ�����ޤ���.RE.PP\-private.br\-p.RS 4���٤ƤΥ��饹�ȥ��С���ɽ�����ޤ���.RE.PP\-J\fIoption\fR.RS 4���ꤵ�줿���ץ�����JVM���Ϥ��ޤ�����������ޤ���.sp.if n \{\.RS 4.\}.nf\fBjavap \-J\-version\fR\fBjavap \-J\-Djava\&.security\&.manager \-J\-Djava\&.security\&.policy=MyPolicy MyClassName\fR.fi.if n \{\.RE.\}JVM���ץ����ξܺ٤ϡ����ޥ�ɤΥޥ˥奢��Ȥ��Ƥ���������.RE.PP\-s.RS 4�����η������˥������Ϥ��ޤ���.RE.PP\-sysinfo.RS 4������Υ��饹�Υ����ƥ����(�ѥ��������������ա�MD5�ϥå���)��ɽ�����ޤ���.RE.PP\-constants.RS 4\fBstatic final\fR�����ɽ�����ޤ���.RE.PP\-c.RS 4���饹�γƥ�åɤΤ���˵ե�����֥뤵��륳���ɡ����ʤ��Java�Х��ȥ����ɤ���ʤ�̿���ɽ�����ޤ���.RE.PP\-verbose.RS 4��åɤΥ����å�����������locals��arguments�ο�����Ϥ��ޤ���.RE.PP\-classpath \fIpath\fR.RS 4���饹��õ�������\fBjavap\fR���ޥ�ɤ����Ѥ���ѥ�����ꤷ�ޤ����ǥե���Ȥޤ���\fBCLASSPATH\fR�Ķ��ѿ���������С��饤�ɤ��ޤ���.RE.PP\-bootclasspath \fIpath\fR.RS 4�֡��ȥ��ȥ�åס����饹������ɤ���ѥ�����ꤷ�ޤ����֡��ȥ��ȥ�åס����饹�ϡ��ǥե���ȤǤ�\fBjre/lib/rt\&.jar\fR�����¾�Τ����Ĥ���JAR�ե�����ˤ��롢����Java�ץ�åȥե������������륯�饹�Ǥ���.RE.PP\-extdir \fIdirs\fR.RS 4���ȡ��뤵�줿��ĥ��ǽ����������С��饤�ɤ��ޤ�����ĥ��ǽ�Υǥե���Ȱ��֤�\fBjava\&.ext\&.dirs\fR�Ǥ���.RE.SH "��".PP����\fBDocFooter\fR���饹��ѥ��뤷�ޤ���.sp.if n \{\.RS 4.\}.nf\fBimport java\&.awt\&.*;\fR\fBimport java\&.applet\&.*;\fR\fB \fR\fBpublic class DocFooter extends Applet {\fR\fB String date;\fR\fB String email;\fR\fB \fR\fB public void init() {\fR\fB resize(500,100);\fR\fB date = getParameter("LAST_UPDATED");\fR\fB email = getParameter("EMAIL");\fR\fB }\fR\fB \fR\fB public void paint(Graphics g) {\fR\fB g\&.drawString(date + " by ",100, 15);\fR\fB g\&.drawString(email,290,15);\fR\fB }\fR\fB}\fR.fi.if n \{\.RE.\}.PP\fBjavap DocFooter\&.class\fR���ޥ�ɤ���ν��Ϥϼ����������ޤ���.sp.if n \{\.RS 4.\}.nf\fBCompiled from "DocFooter\&.java"\fR\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR\fB java\&.lang\&.String date;\fR\fB java\&.lang\&.String email;\fR\fB public DocFooter();\fR\fB public void init();\fR\fB public void paint(java\&.awt\&.Graphics);\fR\fB}\fR.fi.if n \{\.RE.\}.PP\fBjavap \-c DocFooter\&.class\fR���ޥ�ɤ���ν��Ϥϼ����������ޤ���.sp.if n \{\.RS 4.\}.nf\fBCompiled from "DocFooter\&.java"\fR\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR\fB java\&.lang\&.String date;\fR\fB java\&.lang\&.String email;\fR\fB public DocFooter();\fR\fB Code:\fR\fB 0: aload_0 \fR\fB 1: invokespecial #1 // Method\fR\fBjava/applet/Applet\&."<init>":()V\fR\fB 4: return \fR\fB public void init();\fR\fB Code:\fR\fB 0: aload_0 \fR\fB 1: sipush 500\fR\fB 4: bipush 100\fR\fB 6: invokevirtual #2 // Method resize:(II)V\fR\fB 9: aload_0 \fR\fB 10: aload_0 \fR\fB 11: ldc #3 // String LAST_UPDATED\fR\fB 13: invokevirtual #4 // Method\fR\fB getParameter:(Ljava/lang/String;)Ljava/lang/String;\fR\fB 16: putfield #5 // Field date:Ljava/lang/String;\fR\fB 19: aload_0 \fR\fB 20: aload_0 \fR\fB 21: ldc #6 // String EMAIL\fR\fB 23: invokevirtual #4 // Method\fR\fB getParameter:(Ljava/lang/String;)Ljava/lang/String;\fR\fB 26: putfield #7 // Field email:Ljava/lang/String;\fR\fB 29: return \fR\fB public void paint(java\&.awt\&.Graphics);\fR\fB Code:\fR\fB 0: aload_1 \fR\fB 1: new #8 // class java/lang/StringBuilder\fR\fB 4: dup \fR\fB 5: invokespecial #9 // Method\fR\fB java/lang/StringBuilder\&."<init>":()V\fR\fB 8: aload_0 \fR\fB 9: getfield #5 // Field date:Ljava/lang/String;\fR\fB 12: invokevirtual #10 // Method\fR\fB java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;\fR\fB 15: ldc #11 // String by \fR\fB 17: invokevirtual #10 // Method\fR\fB java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;\fR\fB 20: invokevirtual #12 // Method\fR\fB java/lang/StringBuilder\&.toString:()Ljava/lang/String;\fR\fB 23: bipush 100\fR\fB 25: bipush 15\fR\fB 27: invokevirtual #13 // Method\fR\fB java/awt/Graphics\&.drawString:(Ljava/lang/String;II)V\fR\fB 30: aload_1 \fR\fB 31: aload_0 \fR\fB 32: getfield #7 // Field email:Ljava/lang/String;\fR\fB 35: sipush 290\fR\fB 38: bipush 15\fR\fB 40: invokevirtual #13 // Method\fR\fBjava/awt/Graphics\&.drawString:(Ljava/lang/String;II)V\fR\fB 43: return \fR\fB}\fR.fi.if n \{\.RE.\}.SH "��Ϣ����".sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}java(1).RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}javac(1).RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}javadoc(1).RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}jdb(1).RE.sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}jdeps(1).RE.br'pl 8.5i'bp