Tue, 03 Jun 2008 13:26:47 -0700
4075303: Use javap to enquire aboput a specific inner class
4348375: Javap is not internationalized
4459541: "javap -l" shows line numbers as signed short; they should be unsigned
4501660: change diagnostic of -help as 'print this help message and exit'
4776241: unused source file in javap...
4870651: javap should recognize generics, varargs, enum
4876942: javap invoked without args does not print help screen
4880663: javap could output whitespace between class name and opening brace
4975569: javap doesn't print new flag bits
6271787: javap dumps LocalVariableTypeTable attribute in hex, needs to print a table
6305779: javap: support annotations
6439940: Clean up javap implementation
6469569: wrong check of searchpath in JavapEnvironment
6474890: javap does not open .zip files in -classpath
6587786: Javap throws error : "ERROR:Could not find <classname>" for JRE classes
6622215: javap ignores certain relevant access flags
6622216: javap names some attributes incorrectly
6622232: javap gets whitespace confused
6622260: javap prints negative bytes incorrectly in hex
Reviewed-by: ksrini
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
7 are met:
9 - Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
12 - Redistributions in binary form must reproduce the above copyright
13 notice, this list of conditions and the following disclaimer in the
14 documentation and/or other materials provided with the distribution.
16 - Neither the name of Sun Microsystems nor the names of its
17 contributors may be used to endorse or promote products derived
18 from this software without specific prior written permission.
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
21 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 -->
33 <!--
34 This file defines the standard actions accepted by langtools projects.
35 It is normally included as an entity into a project's project.xml file.
37 For information on these actions, see
38 - NetBeans: Setting Up Projects
39 at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html
40 - NetBeans: Advanced Freeform Project Configuration
41 at http://www.netbeans.org/kb/41/freeform-config.html
42 -->
44 <action name="build">
45 <target>build</target>
46 </action>
48 <action name="clean">
49 <target>clean</target>
50 </action>
52 <action name="rebuild">
53 <target>clean</target>
54 <target>build</target>
55 </action>
57 <action name="compile.single">
58 <target>compile-single</target>
59 <property name="srcdir">${root}/src/share/classes</property>
60 <context>
61 <property>includes</property>
62 <folder>${root}/src/share/classes</folder>
63 <pattern>\.java$</pattern>
64 <format>relative-path</format>
65 <arity>
66 <separated-files>,</separated-files>
67 </arity>
68 </context>
69 </action>
71 <action name="run">
72 <target>run</target>
73 </action>
75 <action name="run.single">
76 <target>run-single</target>
77 <context>
78 <property>run.classname</property>
79 <folder>${root}/src/share/classes</folder>
80 <pattern>\.java$</pattern>
81 <format>java-name</format>
82 <arity>
83 <one-file-only/>
84 </arity>
85 </context>
86 </action>
88 <!--
89 Note: NetBeans does not appear to support context menu items
90 on shell scripts :-(
91 -->
93 <action name="run.single">
94 <target>jtreg</target>
95 <context>
96 <property>jtreg.tests</property>
97 <folder>${root}/test</folder>
98 <pattern>\.(java|sh)$</pattern>
99 <format>relative-path</format>
100 <arity>
101 <separated-files>,</separated-files>
102 </arity>
103 </context>
104 </action>
106 <action name="test">
107 <target>jtreg</target>
108 </action>
110 <action name="debug">
111 <target>debug-nb</target>
112 </action>
114 <action name="debug.single">
115 <target>debug-single-nb</target>
116 <context>
117 <property>debug.classname</property>
118 <folder>${root}/src/share/classes</folder>
119 <pattern>\.java$</pattern>
120 <format>java-name</format>
121 <arity>
122 <one-file-only/>
123 </arity>
124 </context>
125 </action>
127 <!--
128 Note: NetBeans does not appear to support context menu items
129 on shell scripts :-(
130 -->
132 <action name="debug.single">
133 <target>debug-jtreg-nb</target>
134 <context>
135 <property>jtreg.tests</property>
136 <folder>${root}/test</folder>
137 <pattern>\.(java|sh)$</pattern>
138 <format>relative-path</format>
139 <arity>
140 <one-file-only/>
141 </arity>
142 </context>
143 </action>
145 <action name="debug.fix">
146 <target>debug-fix</target>
147 <property name="srcdir">${root}/src/share/classes</property>
148 <context>
149 <property>class</property>
150 <folder>${root}/src/share/classes</folder>
151 <pattern>\.java$</pattern>
152 <format>relative-path-noext</format>
153 <arity>
154 <one-file-only/>
155 </arity>
156 </context>
157 </action>
159 <action name="javadoc">
160 <target>-javadoc-nb</target>
161 </action>