Merge
2
.hgtags
@ -7,3 +7,5 @@ bfe4572fd301a6fcd120373cdb2eff5d2da0c72c jdk7-b29
|
||||
bee4731164a06ddece1297ae58db24aca6a1c626 jdk7-b30
|
||||
cd8b8f500face60d1566d850857a7fccadbd383a jdk7-b31
|
||||
a9f1805e3ba9ca520cad199d522c84af5433e85a jdk7-b32
|
||||
6838c1a3296aaa3572364d2ce7d70826cee96286 jdk7-b33
|
||||
90cf935adb353bb0af4b46fb0677e841fd24c000 jdk7-b34
|
||||
|
@ -7,3 +7,5 @@ cbc8ad9dd0e085a607427ea35411990982f19a36 jdk7-b25
|
||||
2dab2f712e1832c92acfa63ec0337048b9422c20 jdk7-b30
|
||||
3300a35a0bd56d695b92fe0b34f03ebbfc939064 jdk7-b31
|
||||
64da805be725721bf2004e7409a0d7a16fc8ddbc jdk7-b32
|
||||
bb1ef4ee3d2c8cbf43a37d372325a7952be590b9 jdk7-b33
|
||||
46a989ab932992b2084b946eeb322fa99b9fee6c jdk7-b34
|
||||
|
4
Makefile
@ -74,7 +74,7 @@ include ./make/deploy-rules.gmk
|
||||
all::
|
||||
@$(START_ECHO)
|
||||
|
||||
all:: openjdk_check sanity all_product_build
|
||||
all:: openjdk_check sanity
|
||||
|
||||
ifeq ($(SKIP_FASTDEBUG_BUILD), false)
|
||||
all:: fastdebug_build
|
||||
@ -88,6 +88,8 @@ ifneq ($(SKIP_OPENJDK_BUILD), true)
|
||||
all:: openjdk_build
|
||||
endif
|
||||
|
||||
all:: all_product_build
|
||||
|
||||
all::
|
||||
@$(FINISH_ECHO)
|
||||
|
||||
|
@ -7,3 +7,5 @@ e84e9018bebbf3e5bafc5706e7882a15cb1c7d99 jdk7-b27
|
||||
c0252adbb2abbfdd6c35595429ac6fbdd98e20ac jdk7-b30
|
||||
ef6af34d75a7b44e77083f1d4ee47631fa09d3b4 jdk7-b31
|
||||
80a0f46a6203e727012bd579fe38a609b83decce jdk7-b32
|
||||
6a5b9d2f8b20de54e3bfe33cd12bd0793caedc4e jdk7-b33
|
||||
0a812b9824e5d17b073765d1505594b49ff88a10 jdk7-b34
|
||||
|
@ -7,3 +7,5 @@ c14dab40ed9bf45ad21150bd70c9c80cdf655415 jdk7-b28
|
||||
d1605aabd0a15ecf93787c47de63073c33fba52d jdk7-b30
|
||||
9c2ecc2ffb125f14fab3857fe7689598956348a0 jdk7-b31
|
||||
b727c32788a906c04839516ae7443a085185a300 jdk7-b32
|
||||
585535ec8a14adafa6bfea65d6975e29094c8cec jdk7-b33
|
||||
5251a9cd8eb8743eee647365bee1c8afdc131556 jdk7-b34
|
||||
|
@ -32,6 +32,12 @@ else
|
||||
include $(GAMMADIR)/make/defs.make
|
||||
endif
|
||||
|
||||
ifeq "x$(HOTSPOT_BUILD_VERSION)" "x"
|
||||
SA_BUILD_VERSION=$(HOTSPOT_RELEASE_VERSION)
|
||||
else
|
||||
SA_BUILD_VERSION=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)
|
||||
endif
|
||||
|
||||
PKGLIST = \
|
||||
sun.jvm.hotspot \
|
||||
sun.jvm.hotspot.asm \
|
||||
@ -117,7 +123,9 @@ sun.jvm.hotspot.ui.tree \
|
||||
sun.jvm.hotspot.ui.treetable \
|
||||
sun.jvm.hotspot.utilities \
|
||||
sun.jvm.hotspot.utilities.memo \
|
||||
sun.jvm.hotspot.utilities.soql
|
||||
sun.jvm.hotspot.utilities.soql \
|
||||
com.sun.java.swing.action \
|
||||
com.sun.java.swing.ui
|
||||
#END PKGLIST
|
||||
|
||||
# Generated using the build-filelist script
|
||||
@ -198,7 +206,9 @@ sun/jvm/hotspot/ui/tree/*.java \
|
||||
sun/jvm/hotspot/ui/treetable/*.java \
|
||||
sun/jvm/hotspot/utilities/*.java \
|
||||
sun/jvm/hotspot/utilities/memo/*.java \
|
||||
sun/jvm/hotspot/utilities/soql/*.java
|
||||
sun/jvm/hotspot/utilities/soql/*.java \
|
||||
com/sun/java/swing/action/*.java \
|
||||
com/sun/java/swing/ui/*.java
|
||||
#END FILELIST
|
||||
|
||||
ifneq "x$(ALT_BOOTDIR)" "x"
|
||||
@ -220,8 +230,6 @@ else
|
||||
endif
|
||||
|
||||
SRC_DIR = ../src/share/classes
|
||||
LIB_DIR = ../src/share/lib
|
||||
CLOSED_LIB_DIR = ../closed/src/share/lib
|
||||
BUILD_DIR = ../build
|
||||
OUTPUT_DIR = $(BUILD_DIR)/classes
|
||||
DOC_DIR = $(BUILD_DIR)/doc
|
||||
@ -231,9 +239,9 @@ DOC_DIR = $(BUILD_DIR)/doc
|
||||
ALLFILES := $(patsubst %,$(SRC_DIR)/%,$(FILELIST))
|
||||
ALLFILES := $(shell /bin/ls $(ALLFILES))
|
||||
|
||||
# tools.jar is used by the sa-jdi binding
|
||||
CLASSPATH = $(JDK_HOME)/lib/tools.jar
|
||||
|
||||
# tools.jar is needed by the JDI - SA binding
|
||||
CLASSPATH = $(LIB_DIR)/maf-1_0.jar$(CPS)$(JDK_HOME)/lib/tools.jar
|
||||
CLASSPATH := $(subst \,/,$(CLASSPATH))
|
||||
|
||||
# FIXME: autogenerate call to rmic
|
||||
@ -241,24 +249,36 @@ CLASSPATH := $(subst \,/,$(CLASSPATH))
|
||||
SA_BUILD_VERSION_PROP = "sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VERSION)"
|
||||
|
||||
SA_PROPERTIES = $(OUTPUT_DIR)/sa.properties
|
||||
JAVAC = $(JDK_HOME)/bin/javac
|
||||
JAVADOC = $(JDK_HOME)/bin/javadoc
|
||||
RMIC = $(JDK_HOME)/bin/rmic
|
||||
|
||||
# Tagging it on because there's no reason not to run it
|
||||
all: filelist
|
||||
@mkdir -p $(OUTPUT_DIR)
|
||||
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
|
||||
@${JDK_HOME}/bin/javac -source 1.4 -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
|
||||
@${JDK_HOME}/bin/rmic -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||
$(JAVAC) -source 1.4 -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
|
||||
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
||||
cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
|
||||
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
|
||||
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
|
||||
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
|
||||
cp -r $(SRC_DIR)/images/* $(OUTPUT_DIR)/
|
||||
|
||||
allprof: filelist
|
||||
@mkdir -p $(OUTPUT_DIR)
|
||||
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
|
||||
@${JDK_HOME}/bin/javac -source 1.4 -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
|
||||
@${JDK_HOME}/bin/rmic -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||
$(JAVAC) -source 1.4 -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
|
||||
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
||||
cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
|
||||
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
|
||||
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
|
||||
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
|
||||
cp -r $(SRC_DIR)/images/* $(OUTPUT_DIR)/
|
||||
|
||||
.PHONY: filelist
|
||||
filelist: $(ALLFILES)
|
||||
@if [ ! -f $(JDK_HOME)/lib/tools.jar ] ; then \
|
||||
echo "Missing $(JDK_HOME)/lib/tools.jar file. Use 1.6.0 or later version jdk to build SA."; \
|
||||
@ -274,36 +294,23 @@ natives:
|
||||
|
||||
.PHONY: sa-jdi.jar
|
||||
sa-jdi.jar:
|
||||
if [ ! -f $(JDK_HOME)/lib/tools.jar ] ; then \
|
||||
echo "Missing $(JDK_HOME)/lib/tools.jar file. Use 1.6.0 or later version jdk to build SA.";\
|
||||
exit 1; \
|
||||
fi
|
||||
rm -f $(BUILD_DIR)/sa-jdi.jar
|
||||
rm -f $(OUTPUT_DIR)/jdi_class_files
|
||||
javac -source 1.4 ClosureFinder.java -d $(OUTPUT_DIR)
|
||||
cd $(OUTPUT_DIR) ; find sun/jvm/hotspot/jdi -name "*.class" > jdi_class_files
|
||||
cd $(OUTPUT_DIR) ; jar cvf ../sa-jdi.jar `java ClosureFinder jdi_class_files .`
|
||||
cd $(BUILD_DIR) ; jar uvf sa-jdi.jar -C $(SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
|
||||
cd $(BUILD_DIR) ; jar uvf sa-jdi.jar -C $(OUTPUT_DIR) sa.properties
|
||||
rm -f $(OUTPUT_DIR)/ClosureFinder.class
|
||||
rm -f $(OUTPUT_DIR)/jdi_class_files
|
||||
echo "sa-jdi.jar is built by a hotspot build."
|
||||
|
||||
docs:
|
||||
@javadoc -private -classpath $(CLASSPATH) -sourcepath $(SRC_DIR) -d $(DOC_DIR) $(PKGLIST)
|
||||
@$(JAVADOC) -private -classpath $(CLASSPATH) -sourcepath $(SRC_DIR) -d $(DOC_DIR) $(PKGLIST)
|
||||
|
||||
sizes: $(ALLFILES)
|
||||
wc -l $(ALLFILES)
|
||||
|
||||
cscope: $(ALLFILES)
|
||||
rm -f java.files
|
||||
echo $(ALLFILES) > java.files
|
||||
cscope -b -i java.files -f java.out
|
||||
rm -f java.files
|
||||
|
||||
.PHONY: sa.jar
|
||||
sa.jar:
|
||||
rm -f $(BUILD_DIR)/sa.jar
|
||||
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
|
||||
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
|
||||
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
|
||||
cd $(OUTPUT_DIR) ; jar cvf ../sa.jar *
|
||||
|
||||
clean::
|
||||
|
@ -22,4 +22,4 @@ REM have any questions.
|
||||
REM
|
||||
REM
|
||||
|
||||
java -showversion -cp ..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar sun.jvm.hotspot.bugspot.Main
|
||||
java -showversion -cp ..\build\classes;..\src\share\lib\js.jar;.\sa.jar;lib\js.jar sun.jvm.hotspot.bugspot.Main
|
||||
|
@ -8,4 +8,4 @@ FIND=$MKS_HOME/find
|
||||
SED=$MKS_HOME/sed
|
||||
SORT=$MKS_HOME/sort
|
||||
|
||||
$CD ../src/share/classes; $FIND sun/jvm/hotspot \( -name SCCS -prune \) -o -type d -print | $SED -e 's/\//./g' | $SORT > ../../../make/pkglist.txt
|
||||
$CD ../src/share/classes; $FIND sun/jvm/hotspot com/sun/java/swing -type d -print | $SED -e 's/\//./g' | $SORT > ../../../make/pkglist.txt
|
||||
|
@ -42,7 +42,6 @@
|
||||
|
||||
<property name="app.name" value="sa"/>
|
||||
<property name="dist.jar" value="${app.name}.jar"/>
|
||||
<property name="libs" value="../src/share/lib"/>
|
||||
<property name="classes" value="../build/classes"/>
|
||||
|
||||
<!-- The "prepare" target is used to construct the deployment home
|
||||
@ -83,11 +82,6 @@
|
||||
home directory structure will be created if needed the first time.
|
||||
-->
|
||||
|
||||
<path id="javac.classpath">
|
||||
<pathelement path="${libs}/maf-1_0.jar" />
|
||||
<pathelement path="${libs}/jlfgr-1_0.jar" />
|
||||
</path>
|
||||
|
||||
<target name="compile" depends="prepare" description="Compiles the sources">
|
||||
<javac srcdir="../src/share/classes"
|
||||
destdir="${classes}"
|
||||
@ -110,6 +104,18 @@
|
||||
<copy todir="${classes}/sun/jvm/hotspot/ui/resources">
|
||||
<fileset dir="../src/share/classes/sun/jvm/hotspot/ui/resources" includes="*.png" />
|
||||
</copy>
|
||||
<copy todir="${classes}/toolbarButtonGraphics/development/">
|
||||
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/development/" includes="*.gif" />
|
||||
</copy>
|
||||
<copy todir="${classes}/toolbarButtonGraphics/general/">
|
||||
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/general/" includes="*.gif" />
|
||||
</copy>
|
||||
<copy todir="${classes}/toolbarButtonGraphics/navigation/">
|
||||
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/navigation/" includes="*.gif" />
|
||||
</copy>
|
||||
<copy todir="${classes}/toolbarButtonGraphics/text/">
|
||||
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/text/" includes="*.gif" />
|
||||
</copy>
|
||||
|
||||
<jar jarfile="${classes}/${dist.jar}"
|
||||
basedir="${classes}"/>
|
||||
|
@ -22,4 +22,4 @@ REM have any questions.
|
||||
REM
|
||||
REM
|
||||
|
||||
java -showversion -cp ..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar sun.jvm.hotspot.HSDB %1 %2
|
||||
java -showversion -cp ..\build\classes;..\src\share\lib\js.jar;.\sa.jar;lib\js.jar sun.jvm.hotspot.HSDB %1 %2
|
||||
|
@ -29,4 +29,4 @@ if [ "x$SA_JAVA" = "x" ]; then
|
||||
SA_JAVA=java
|
||||
fi
|
||||
|
||||
$SA_JAVA -showversion -cp $STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar sun.jvm.hotspot.HSDB $*
|
||||
$SA_JAVA -showversion -cp $STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar sun.jvm.hotspot.HSDB $*
|
||||
|
@ -39,7 +39,7 @@ set SA_JAVA=java
|
||||
|
||||
:sa_java_set
|
||||
|
||||
set SA_CLASSPATH=..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar
|
||||
set SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jar
|
||||
|
||||
set SA_LIBPATH=..\src\os\win32\windbg\i386;.\win32\i386
|
||||
|
||||
|
@ -58,7 +58,7 @@ if [ "x$SA_DISABLE_VERS_CHK" != "x" ]; then
|
||||
fi
|
||||
|
||||
|
||||
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar
|
||||
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar
|
||||
|
||||
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
|
||||
|
||||
|
@ -43,7 +43,7 @@ set SA_JAVA=java
|
||||
|
||||
:sa_java_set
|
||||
|
||||
set SA_CLASSPATH=..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar
|
||||
set SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jar
|
||||
|
||||
REM For now, only AMD-64, IA-64 stack walking is not working anyway
|
||||
set SA_LIBPATH=.\src\os\win32\windbg\amd64;.\win32\amd64
|
||||
|
@ -55,7 +55,7 @@ if [ "x$SA_DISABLE_VERS_CHK" != "x" ]; then
|
||||
OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck ${OPTIONS}"
|
||||
fi
|
||||
|
||||
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar
|
||||
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar::$STARTDIR/lib/js.jar
|
||||
|
||||
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
|
||||
|
||||
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class AboutAction extends DelegateAction
|
||||
{
|
||||
|
||||
public AboutAction()
|
||||
{
|
||||
this("general/About16.gif");
|
||||
}
|
||||
|
||||
public AboutAction(String iconPath)
|
||||
{
|
||||
super("About...", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "about-command");
|
||||
putValue("ShortDescription", "About...");
|
||||
putValue("LongDescription", "System information and version of the application.");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "about-command";
|
||||
public static final String VALUE_NAME = "About...";
|
||||
public static final String VALUE_SMALL_ICON = "general/About16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "general/About24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(65);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "About...";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "System information and version of the application.";
|
||||
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import java.util.HashMap;
|
||||
import javax.swing.Action;
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, StateChangeAction, ActionUtilities
|
||||
|
||||
public abstract class ActionManager
|
||||
{
|
||||
|
||||
protected ActionManager()
|
||||
{
|
||||
actions = new HashMap();
|
||||
addActions();
|
||||
}
|
||||
|
||||
public static ActionManager getInstance()
|
||||
{
|
||||
return manager;
|
||||
}
|
||||
|
||||
protected abstract void addActions();
|
||||
|
||||
protected void addAction(String cmdname, Action action)
|
||||
{
|
||||
actions.put(cmdname, action);
|
||||
}
|
||||
|
||||
public Action getAction(String key)
|
||||
{
|
||||
return (Action)actions.get(key);
|
||||
}
|
||||
|
||||
public DelegateAction getDelegateAction(String name)
|
||||
{
|
||||
Action a = getAction(name);
|
||||
if(a instanceof DelegateAction)
|
||||
return (DelegateAction)a;
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
public StateChangeAction getStateChangeAction(String name)
|
||||
{
|
||||
Action a = getAction(name);
|
||||
if(a instanceof StateChangeAction)
|
||||
return (StateChangeAction)a;
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ImageIcon getIcon(String name)
|
||||
{
|
||||
return utilities.getIcon(name);
|
||||
}
|
||||
|
||||
public void setActionEnabled(String name, boolean enabled)
|
||||
{
|
||||
Action action = getAction(name);
|
||||
if(action != null)
|
||||
action.setEnabled(enabled);
|
||||
}
|
||||
|
||||
private HashMap actions;
|
||||
private static ActionUtilities utilities = new ActionUtilities();
|
||||
protected static ActionManager manager;
|
||||
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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
|
||||
@ -22,20 +22,28 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "incls/_precompiled.incl"
|
||||
#include "incls/_assembler_linux_x86_32.cpp.incl"
|
||||
|
||||
void MacroAssembler::int3() {
|
||||
call(RuntimeAddress(CAST_FROM_FN_PTR(address, os::breakpoint)));
|
||||
}
|
||||
|
||||
void MacroAssembler::get_thread(Register thread) {
|
||||
movl(thread, rsp);
|
||||
shrl(thread, PAGE_SHIFT);
|
||||
|
||||
ExternalAddress tls_base((address)ThreadLocalStorage::sp_map_addr());
|
||||
Address index(noreg, thread, Address::times_4);
|
||||
ArrayAddress tls(tls_base, index);
|
||||
|
||||
movptr(thread, tls);
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
class ActionUtilities
|
||||
{
|
||||
|
||||
ActionUtilities()
|
||||
{
|
||||
}
|
||||
|
||||
public ImageIcon getIcon(String name)
|
||||
{
|
||||
String imagePath = "/toolbarButtonGraphics/" + name;
|
||||
java.net.URL url = getClass().getResource(imagePath);
|
||||
if(url != null)
|
||||
return new ImageIcon(url);
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
public static final String IMAGE_DIR = "/toolbarButtonGraphics/";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// StateChangeAction, ActionManager
|
||||
|
||||
public class AlignCenterAction extends StateChangeAction
|
||||
{
|
||||
|
||||
public AlignCenterAction()
|
||||
{
|
||||
this("text/AlignCenter16.gif");
|
||||
}
|
||||
|
||||
public AlignCenterAction(String iconPath)
|
||||
{
|
||||
super("Center", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "align-center-command");
|
||||
putValue("ShortDescription", "Center");
|
||||
putValue("LongDescription", "Adjust the placement of text to the center of the line");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "align-center-command";
|
||||
public static final String VALUE_NAME = "Center";
|
||||
public static final String VALUE_SMALL_ICON = "text/AlignCenter16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "text/AlignCenter24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(78);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(69, 2);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Center";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Adjust the placement of text to the center of the line";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// StateChangeAction, ActionManager
|
||||
|
||||
public class AlignLeftAction extends StateChangeAction
|
||||
{
|
||||
|
||||
public AlignLeftAction()
|
||||
{
|
||||
this("text/AlignLeft16.gif");
|
||||
}
|
||||
|
||||
public AlignLeftAction(String iconPath)
|
||||
{
|
||||
super("Left Align", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "align-left-command");
|
||||
putValue("ShortDescription", "Left Align");
|
||||
putValue("LongDescription", "Adjust the placement of text along the left edge");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "align-left-command";
|
||||
public static final String VALUE_NAME = "Left Align";
|
||||
public static final String VALUE_SMALL_ICON = "text/AlignLeft16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "text/AlignLeft24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(76);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(76, 2);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Left Align";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Adjust the placement of text along the left edge";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// StateChangeAction, ActionManager
|
||||
|
||||
public class AlignRightAction extends StateChangeAction
|
||||
{
|
||||
|
||||
public AlignRightAction()
|
||||
{
|
||||
this("text/AlignRight16.gif");
|
||||
}
|
||||
|
||||
public AlignRightAction(String iconPath)
|
||||
{
|
||||
super("Right Align", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "align-right-command");
|
||||
putValue("ShortDescription", "Right Align");
|
||||
putValue("LongDescription", "Adjust the placement of text along the right edge");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "align-right-command";
|
||||
public static final String VALUE_NAME = "Right Align";
|
||||
public static final String VALUE_SMALL_ICON = "text/AlignRight16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "text/AlignRight24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(82);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(82, 2);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Right Align";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Adjust the placement of text along the right edge";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class ApplyAction extends DelegateAction
|
||||
{
|
||||
|
||||
public ApplyAction()
|
||||
{
|
||||
this(VALUE_SMALL_ICON);
|
||||
}
|
||||
|
||||
public ApplyAction(String iconPath)
|
||||
{
|
||||
super("Apply", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "apply-command");
|
||||
putValue("ShortDescription", "Apply the activity");
|
||||
putValue("LongDescription", "Apply the activity");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "apply-command";
|
||||
public static final String VALUE_NAME = "Apply";
|
||||
public static final String VALUE_SMALL_ICON = null;
|
||||
public static final String VALUE_LARGE_ICON = null;
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(65);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Apply the activity";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Apply the activity";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class BackAction extends DelegateAction
|
||||
{
|
||||
|
||||
public BackAction()
|
||||
{
|
||||
this(VALUE_SMALL_ICON);
|
||||
}
|
||||
|
||||
public BackAction(String iconPath)
|
||||
{
|
||||
super("< Back", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "back-command");
|
||||
putValue("ShortDescription", "Select previous item");
|
||||
putValue("LongDescription", "Select previous item");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "back-command";
|
||||
public static final String VALUE_NAME = "< Back";
|
||||
public static final String VALUE_SMALL_ICON = null;
|
||||
public static final String VALUE_LARGE_ICON = null;
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(66);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Select previous item";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Select previous item";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class CancelAction extends DelegateAction
|
||||
{
|
||||
|
||||
public CancelAction()
|
||||
{
|
||||
this(VALUE_SMALL_ICON);
|
||||
}
|
||||
|
||||
public CancelAction(String iconPath)
|
||||
{
|
||||
super("Cancel", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "cancel-command");
|
||||
putValue("ShortDescription", "Cancels the action");
|
||||
putValue("LongDescription", "Cancels the action");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "cancel-command";
|
||||
public static final String VALUE_NAME = "Cancel";
|
||||
public static final String VALUE_SMALL_ICON = null;
|
||||
public static final String VALUE_LARGE_ICON = null;
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(67);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Cancels the action";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Cancels the action";
|
||||
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import javax.swing.AbstractAction;
|
||||
import javax.swing.Icon;
|
||||
|
||||
public abstract class DelegateAction extends AbstractAction
|
||||
{
|
||||
|
||||
public DelegateAction(String name, Icon icon)
|
||||
{
|
||||
super(name, icon);
|
||||
}
|
||||
|
||||
public void addActionListener(ActionListener listener)
|
||||
{
|
||||
this.listener = listener;
|
||||
}
|
||||
|
||||
public void removeActionListener(ActionListener listener)
|
||||
{
|
||||
this.listener = null;
|
||||
}
|
||||
|
||||
public ActionListener[] getActionListeners()
|
||||
{
|
||||
return (new ActionListener[] {
|
||||
listener
|
||||
});
|
||||
}
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
if(listener != null)
|
||||
listener.actionPerformed(evt);
|
||||
}
|
||||
|
||||
private ActionListener listener;
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class ExitAction extends DelegateAction
|
||||
{
|
||||
|
||||
public ExitAction()
|
||||
{
|
||||
super("Exit", ActionManager.getIcon(VALUE_SMALL_ICON));
|
||||
putValue("ActionCommandKey", "exit-command");
|
||||
putValue("ShortDescription", "Exits the application");
|
||||
putValue("LongDescription", "Exits the application");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "exit-command";
|
||||
public static final String VALUE_NAME = "Exit";
|
||||
public static final String VALUE_SMALL_ICON = null;
|
||||
public static final String VALUE_LARGE_ICON = null;
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(88);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Exits the application";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Exits the application";
|
||||
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import java.awt.event.ActionEvent;
|
||||
import javax.swing.AbstractAction;
|
||||
|
||||
public class FileMenu extends AbstractAction
|
||||
{
|
||||
|
||||
public FileMenu()
|
||||
{
|
||||
super("File");
|
||||
putValue("ActionCommandKey", "file-menu-command");
|
||||
putValue("ShortDescription", "File operations");
|
||||
putValue("LongDescription", "File operations");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
}
|
||||
|
||||
public void actionPerformed(ActionEvent actionevent)
|
||||
{
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "file-menu-command";
|
||||
public static final String VALUE_NAME = "File";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(70);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "File operations";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "File operations";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class FinishAction extends DelegateAction
|
||||
{
|
||||
|
||||
public FinishAction()
|
||||
{
|
||||
this(VALUE_SMALL_ICON);
|
||||
}
|
||||
|
||||
public FinishAction(String iconPath)
|
||||
{
|
||||
super("Finish", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "finish-command");
|
||||
putValue("ShortDescription", "Finish the activity");
|
||||
putValue("LongDescription", "Finish the activity");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "finish-command";
|
||||
public static final String VALUE_NAME = "Finish";
|
||||
public static final String VALUE_SMALL_ICON = null;
|
||||
public static final String VALUE_LARGE_ICON = null;
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(70);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Finish the activity";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Finish the activity";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class HelpAction extends DelegateAction
|
||||
{
|
||||
|
||||
public HelpAction()
|
||||
{
|
||||
this("general/Help16.gif");
|
||||
}
|
||||
|
||||
public HelpAction(String iconPath)
|
||||
{
|
||||
super("Help", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "help-command");
|
||||
putValue("ShortDescription", "Help...");
|
||||
putValue("LongDescription", "Provide information which may aid the user.");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "help-command";
|
||||
public static final String VALUE_NAME = "Help";
|
||||
public static final String VALUE_SMALL_ICON = "general/Help16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "general/Help24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(72);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(112, 0);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Help...";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Provide information which may aid the user.";
|
||||
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import java.awt.event.ActionEvent;
|
||||
import javax.swing.AbstractAction;
|
||||
|
||||
public class HelpMenu extends AbstractAction
|
||||
{
|
||||
|
||||
public HelpMenu()
|
||||
{
|
||||
super("Help");
|
||||
putValue("ActionCommandKey", "help-menu-command");
|
||||
putValue("ShortDescription", "Help operations");
|
||||
putValue("LongDescription", "Help operations");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
}
|
||||
|
||||
public void actionPerformed(ActionEvent actionevent)
|
||||
{
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "help-menu-command";
|
||||
public static final String VALUE_NAME = "Help";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(72);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Help operations";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Help operations";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class NewAction extends DelegateAction
|
||||
{
|
||||
|
||||
public NewAction()
|
||||
{
|
||||
this("general/New16.gif");
|
||||
}
|
||||
|
||||
public NewAction(String iconPath)
|
||||
{
|
||||
super("New", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "new-command");
|
||||
putValue("ShortDescription", "Create a new object.");
|
||||
putValue("LongDescription", "Create a new object.");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "new-command";
|
||||
public static final String VALUE_NAME = "New";
|
||||
public static final String VALUE_SMALL_ICON = "general/New16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "general/New24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(78);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(78, 2);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Create a new object.";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Create a new object.";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class NextAction extends DelegateAction
|
||||
{
|
||||
|
||||
public NextAction()
|
||||
{
|
||||
this(VALUE_SMALL_ICON);
|
||||
}
|
||||
|
||||
public NextAction(String iconPath)
|
||||
{
|
||||
super("Next >", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "next-command");
|
||||
putValue("ShortDescription", "Select next item");
|
||||
putValue("LongDescription", "Select next item");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "next-command";
|
||||
public static final String VALUE_NAME = "Next >";
|
||||
public static final String VALUE_SMALL_ICON = null;
|
||||
public static final String VALUE_LARGE_ICON = null;
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(78);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Select next item";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Select next item";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class OkAction extends DelegateAction
|
||||
{
|
||||
|
||||
public OkAction()
|
||||
{
|
||||
this(VALUE_SMALL_ICON);
|
||||
}
|
||||
|
||||
public OkAction(String iconPath)
|
||||
{
|
||||
super("OK", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "ok-command");
|
||||
putValue("ShortDescription", "Acknowleges the action");
|
||||
putValue("LongDescription", "Acknowleges the action");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "ok-command";
|
||||
public static final String VALUE_NAME = "OK";
|
||||
public static final String VALUE_SMALL_ICON = null;
|
||||
public static final String VALUE_LARGE_ICON = null;
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(79);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Acknowleges the action";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Acknowleges the action";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class OpenAction extends DelegateAction
|
||||
{
|
||||
|
||||
public OpenAction()
|
||||
{
|
||||
this("general/Open16.gif");
|
||||
}
|
||||
|
||||
public OpenAction(String iconPath)
|
||||
{
|
||||
super("Open...", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "open-command");
|
||||
putValue("ShortDescription", "Open the specified object.");
|
||||
putValue("LongDescription", "Open the specified object.");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "open-command";
|
||||
public static final String VALUE_NAME = "Open...";
|
||||
public static final String VALUE_SMALL_ICON = "general/Open16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "general/Open24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(79);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(79, 2);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Open the specified object.";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Open the specified object.";
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import javax.swing.KeyStroke;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class SaveAction extends DelegateAction
|
||||
{
|
||||
|
||||
public SaveAction()
|
||||
{
|
||||
this("general/Save16.gif");
|
||||
}
|
||||
|
||||
public SaveAction(String iconPath)
|
||||
{
|
||||
super("Save", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "save-command");
|
||||
putValue("ShortDescription", "Commit changes to a permanent storage area");
|
||||
putValue("LongDescription", "Commit changes to a permanent storage area");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "save-command";
|
||||
public static final String VALUE_NAME = "Save";
|
||||
public static final String VALUE_SMALL_ICON = "general/Save16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "general/Save24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(83);
|
||||
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(83, 2);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Commit changes to a permanent storage area";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Commit changes to a permanent storage area";
|
||||
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction, ActionManager
|
||||
|
||||
public class SaveAsAction extends DelegateAction
|
||||
{
|
||||
|
||||
public SaveAsAction()
|
||||
{
|
||||
this("general/SaveAs16.gif");
|
||||
}
|
||||
|
||||
public SaveAsAction(String iconPath)
|
||||
{
|
||||
super("Save As", ActionManager.getIcon(iconPath));
|
||||
putValue("ActionCommandKey", "save-as-command");
|
||||
putValue("ShortDescription", "Save as a new file");
|
||||
putValue("LongDescription", "Saves the current object as another object");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "save-as-command";
|
||||
public static final String VALUE_NAME = "Save As";
|
||||
public static final String VALUE_SMALL_ICON = "general/SaveAs16.gif";
|
||||
public static final String VALUE_LARGE_ICON = "general/SaveAs24.gif";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(65);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "Save as a new file";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "Saves the current object as another object";
|
||||
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import java.awt.event.ItemEvent;
|
||||
import java.awt.event.ItemListener;
|
||||
import javax.swing.Icon;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.action:
|
||||
// DelegateAction
|
||||
|
||||
public abstract class StateChangeAction extends DelegateAction
|
||||
implements ItemListener
|
||||
{
|
||||
|
||||
public StateChangeAction(String name)
|
||||
{
|
||||
super(name, null);
|
||||
selected = false;
|
||||
}
|
||||
|
||||
public StateChangeAction(String name, Icon icon)
|
||||
{
|
||||
super(name, icon);
|
||||
selected = false;
|
||||
}
|
||||
|
||||
public boolean isSelected()
|
||||
{
|
||||
return selected;
|
||||
}
|
||||
|
||||
public synchronized void setSelected(boolean newValue)
|
||||
{
|
||||
boolean oldValue = selected;
|
||||
if(oldValue != newValue)
|
||||
{
|
||||
selected = newValue;
|
||||
firePropertyChange("selected", Boolean.valueOf(oldValue), Boolean.valueOf(newValue));
|
||||
}
|
||||
}
|
||||
|
||||
public void setItemListener(ItemListener listener)
|
||||
{
|
||||
this.listener = listener;
|
||||
}
|
||||
|
||||
public ItemListener getItemListener()
|
||||
{
|
||||
return listener;
|
||||
}
|
||||
|
||||
public void itemStateChanged(ItemEvent evt)
|
||||
{
|
||||
if(evt.getStateChange() == 1)
|
||||
setSelected(true);
|
||||
else
|
||||
setSelected(false);
|
||||
if(listener != null)
|
||||
listener.itemStateChanged(evt);
|
||||
}
|
||||
|
||||
protected boolean selected;
|
||||
private ItemListener listener;
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.action;
|
||||
|
||||
import java.awt.event.ActionEvent;
|
||||
import javax.swing.AbstractAction;
|
||||
|
||||
public class ViewMenu extends AbstractAction
|
||||
{
|
||||
|
||||
public ViewMenu()
|
||||
{
|
||||
super("View");
|
||||
putValue("ActionCommandKey", "view-menu-command");
|
||||
putValue("ShortDescription", "View operations");
|
||||
putValue("LongDescription", "View operations");
|
||||
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||
}
|
||||
|
||||
public void actionPerformed(ActionEvent actionevent)
|
||||
{
|
||||
}
|
||||
|
||||
public static final String VALUE_COMMAND = "view-menu-command";
|
||||
public static final String VALUE_NAME = "View";
|
||||
public static final Integer VALUE_MNEMONIC = new Integer(86);
|
||||
public static final String VALUE_SHORT_DESCRIPTION = "View operations";
|
||||
public static final String VALUE_LONG_DESCRIPTION = "View operations";
|
||||
|
||||
}
|
@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import com.sun.java.swing.action.ActionManager;
|
||||
import com.sun.java.swing.action.StateChangeAction;
|
||||
import javax.swing.*;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.ui:
|
||||
// ToggleActionPropertyChangeListener, StatusBar
|
||||
|
||||
public abstract class CommonMenuBar extends JMenuBar
|
||||
{
|
||||
|
||||
protected CommonMenuBar(ActionManager manager)
|
||||
{
|
||||
this(manager, StatusBar.getInstance());
|
||||
}
|
||||
|
||||
protected CommonMenuBar(ActionManager manager, StatusBar status)
|
||||
{
|
||||
this.manager = manager;
|
||||
statusBar = status;
|
||||
configureMenu();
|
||||
}
|
||||
|
||||
protected abstract void configureMenu();
|
||||
|
||||
protected void configureToggleMenuItem(JMenuItem menuItem, Action action)
|
||||
{
|
||||
configureMenuItem(menuItem, action);
|
||||
action.addPropertyChangeListener(new ToggleActionPropertyChangeListener(menuItem));
|
||||
}
|
||||
|
||||
protected void configureMenuItem(JMenuItem menuItem, Action action)
|
||||
{
|
||||
menuItem.addMouseListener(statusBar);
|
||||
}
|
||||
|
||||
protected JMenu createMenu(String name, char mnemonic)
|
||||
{
|
||||
JMenu menu = new JMenu(name);
|
||||
menu.setMnemonic(mnemonic);
|
||||
return menu;
|
||||
}
|
||||
|
||||
protected void addMenuItem(JMenu menu, Action action)
|
||||
{
|
||||
JMenuItem menuItem = menu.add(action);
|
||||
configureMenuItem(menuItem, action);
|
||||
}
|
||||
|
||||
protected void addCheckBoxMenuItem(JMenu menu, StateChangeAction a)
|
||||
{
|
||||
addCheckBoxMenuItem(menu, a, false);
|
||||
}
|
||||
|
||||
protected void addCheckBoxMenuItem(JMenu menu, StateChangeAction a, boolean selected)
|
||||
{
|
||||
JCheckBoxMenuItem mi = new JCheckBoxMenuItem(a);
|
||||
mi.addItemListener(a);
|
||||
mi.setSelected(selected);
|
||||
menu.add(mi);
|
||||
configureToggleMenuItem(mi, a);
|
||||
}
|
||||
|
||||
protected void addRadioButtonMenuItem(JMenu menu, ButtonGroup group, StateChangeAction a)
|
||||
{
|
||||
addRadioButtonMenuItem(menu, group, a, false);
|
||||
}
|
||||
|
||||
protected void addRadioButtonMenuItem(JMenu menu, ButtonGroup group, StateChangeAction a, boolean selected)
|
||||
{
|
||||
JRadioButtonMenuItem mi = new JRadioButtonMenuItem(a);
|
||||
mi.addItemListener(a);
|
||||
mi.setSelected(selected);
|
||||
menu.add(mi);
|
||||
if(group != null)
|
||||
group.add(mi);
|
||||
configureToggleMenuItem(mi, a);
|
||||
}
|
||||
|
||||
protected ActionManager manager;
|
||||
private StatusBar statusBar;
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import com.sun.java.swing.action.ActionManager;
|
||||
import com.sun.java.swing.action.StateChangeAction;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Insets;
|
||||
import javax.swing.*;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.ui:
|
||||
// ToggleActionPropertyChangeListener, StatusBar, CommonUI
|
||||
|
||||
public abstract class CommonToolBar extends JToolBar
|
||||
{
|
||||
|
||||
protected CommonToolBar(ActionManager manager)
|
||||
{
|
||||
this(manager, StatusBar.getInstance());
|
||||
}
|
||||
|
||||
protected CommonToolBar(ActionManager manager, StatusBar status)
|
||||
{
|
||||
this.manager = manager;
|
||||
statusBar = status;
|
||||
buttonSize = new Dimension(CommonUI.buttconPrefSize);
|
||||
buttonInsets = new Insets(0, 0, 0, 0);
|
||||
addComponents();
|
||||
}
|
||||
|
||||
protected abstract void addComponents();
|
||||
|
||||
protected void addButton(Action action)
|
||||
{
|
||||
javax.swing.JButton button = add(action);
|
||||
configureButton(button, action);
|
||||
}
|
||||
|
||||
protected void addToggleButton(StateChangeAction a)
|
||||
{
|
||||
addToggleButton(a, null);
|
||||
}
|
||||
|
||||
protected void addToggleButton(StateChangeAction a, ButtonGroup group)
|
||||
{
|
||||
JToggleButton button = new JToggleButton(a);
|
||||
button.addItemListener(a);
|
||||
button.setSelected(a.isSelected());
|
||||
if(group != null)
|
||||
group.add(button);
|
||||
add(button);
|
||||
configureToggleButton(button, a);
|
||||
}
|
||||
|
||||
protected void configureToggleButton(JToggleButton button, Action action)
|
||||
{
|
||||
configureButton(button, action);
|
||||
action.addPropertyChangeListener(new ToggleActionPropertyChangeListener(button));
|
||||
}
|
||||
|
||||
protected void configureButton(AbstractButton button, Action action)
|
||||
{
|
||||
button.setToolTipText((String)action.getValue("Name"));
|
||||
button.setText("");
|
||||
button.addMouseListener(statusBar);
|
||||
}
|
||||
|
||||
protected ActionManager manager;
|
||||
private Dimension buttonSize;
|
||||
private Insets buttonInsets;
|
||||
private StatusBar statusBar;
|
||||
}
|
@ -0,0 +1,392 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.event.KeyListener;
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.Vector;
|
||||
import javax.swing.*;
|
||||
import javax.swing.border.Border;
|
||||
import javax.swing.text.*;
|
||||
|
||||
public class CommonUI
|
||||
{
|
||||
private static class NumberDocument extends PlainDocument
|
||||
{
|
||||
|
||||
public void insertString(int offs, String str, AttributeSet atts)
|
||||
throws BadLocationException
|
||||
{
|
||||
if(!Character.isDigit(str.charAt(0)))
|
||||
{
|
||||
return;
|
||||
} else
|
||||
{
|
||||
super.insertString(offs, str, atts);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
private NumberDocument()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public CommonUI()
|
||||
{
|
||||
}
|
||||
|
||||
public static JLabel createLabel(String text, int mnemonic, Component comp)
|
||||
{
|
||||
JLabel label = new JLabel(" " + text);
|
||||
label.setMinimumSize(labelPrefSize);
|
||||
if(mnemonic != -1)
|
||||
label.setDisplayedMnemonic(mnemonic);
|
||||
if(comp != null)
|
||||
label.setLabelFor(comp);
|
||||
if(text.length() == 0)
|
||||
label.setPreferredSize(labelPrefSize);
|
||||
return label;
|
||||
}
|
||||
|
||||
public static JLabel createLabel(String text)
|
||||
{
|
||||
return createLabel(text, -1, null);
|
||||
}
|
||||
|
||||
public static JTextField createTextField(String text, KeyListener listener, boolean numbers)
|
||||
{
|
||||
JTextField field = new JTextField(text);
|
||||
field.setMinimumSize(textPrefSize);
|
||||
if(text.length() == 0)
|
||||
field.setPreferredSize(textPrefSize);
|
||||
if(listener != null)
|
||||
field.addKeyListener(listener);
|
||||
if(numbers)
|
||||
field.setDocument(new NumberDocument());
|
||||
return field;
|
||||
}
|
||||
|
||||
public static JTextField createTextField(String text, boolean numbers)
|
||||
{
|
||||
return createTextField(text, null, numbers);
|
||||
}
|
||||
|
||||
public static JTextField createTextField(String text, KeyListener listener)
|
||||
{
|
||||
return createTextField(text, listener, false);
|
||||
}
|
||||
|
||||
public static JTextField createTextField(String text)
|
||||
{
|
||||
return createTextField(text, null, false);
|
||||
}
|
||||
|
||||
public static JRadioButton createRadioButton(String text, int mnemonic, ActionListener listener, boolean selected)
|
||||
{
|
||||
JRadioButton button = new JRadioButton(text);
|
||||
button.setMnemonic(mnemonic);
|
||||
button.setSelected(selected);
|
||||
button.setMinimumSize(labelPrefSize);
|
||||
if(listener != null)
|
||||
button.addActionListener(listener);
|
||||
if(text.length() == 0)
|
||||
button.setPreferredSize(labelPrefSize);
|
||||
return button;
|
||||
}
|
||||
|
||||
public static JRadioButton createRadioButton(String text, int mnemonic, boolean selected)
|
||||
{
|
||||
return createRadioButton(text, mnemonic, null, selected);
|
||||
}
|
||||
|
||||
public static JRadioButton createRadioButton(String text, int mnemonic, ActionListener listener)
|
||||
{
|
||||
return createRadioButton(text, mnemonic, listener, false);
|
||||
}
|
||||
|
||||
public static JRadioButton createRadioButton(String text, int mnemonic)
|
||||
{
|
||||
return createRadioButton(text, mnemonic, null, false);
|
||||
}
|
||||
|
||||
public static JRadioButton createRadioButton(String text)
|
||||
{
|
||||
return createRadioButton(text, -1, null, false);
|
||||
}
|
||||
|
||||
public static JCheckBox createCheckBox(String text, int mnemonic, ActionListener listener, boolean selected)
|
||||
{
|
||||
JCheckBox checkbox = new JCheckBox(text);
|
||||
checkbox.setMinimumSize(labelPrefSize);
|
||||
if(mnemonic != -1)
|
||||
checkbox.setMnemonic(mnemonic);
|
||||
checkbox.setSelected(selected);
|
||||
if(text.length() == 0)
|
||||
checkbox.setPreferredSize(labelPrefSize);
|
||||
if(listener != null)
|
||||
checkbox.addActionListener(listener);
|
||||
return checkbox;
|
||||
}
|
||||
|
||||
public static JCheckBox createCheckBox(String text, int mnemonic, ActionListener listener)
|
||||
{
|
||||
return createCheckBox(text, mnemonic, listener, false);
|
||||
}
|
||||
|
||||
public static JCheckBox createCheckBox(String text, int mnemonic, boolean selected)
|
||||
{
|
||||
return createCheckBox(text, mnemonic, null, selected);
|
||||
}
|
||||
|
||||
public static JCheckBox createCheckBox(String text, int mnemonic)
|
||||
{
|
||||
return createCheckBox(text, mnemonic, null, false);
|
||||
}
|
||||
|
||||
public static JCheckBox createCheckBox(String text)
|
||||
{
|
||||
return createCheckBox(text, -1, null, false);
|
||||
}
|
||||
|
||||
public static JComboBox createComboBox(Object items[], ActionListener listener, boolean editable)
|
||||
{
|
||||
JComboBox comboBox = new JComboBox(items);
|
||||
if(listener != null)
|
||||
comboBox.addActionListener(listener);
|
||||
comboBox.setEditable(editable);
|
||||
return comboBox;
|
||||
}
|
||||
|
||||
public static JComboBox createComboBox(Object items[], boolean editable)
|
||||
{
|
||||
return createComboBox(items, null, editable);
|
||||
}
|
||||
|
||||
public static JComboBox createComboBox(Vector items, ActionListener listener, boolean editable)
|
||||
{
|
||||
JComboBox comboBox = new JComboBox(items);
|
||||
if(listener != null)
|
||||
comboBox.addActionListener(listener);
|
||||
comboBox.setEditable(editable);
|
||||
return comboBox;
|
||||
}
|
||||
|
||||
public static JComboBox createComboBox(Vector items, boolean editable)
|
||||
{
|
||||
return createComboBox(items, null, editable);
|
||||
}
|
||||
|
||||
public static JButton createButton(Action action)
|
||||
{
|
||||
JButton button = new JButton(action);
|
||||
setButtonSize(button, buttonPrefSize);
|
||||
return button;
|
||||
}
|
||||
|
||||
public static JButton createButton(String text, ActionListener listener, int mnemonic)
|
||||
{
|
||||
JButton button = new JButton(text);
|
||||
if(listener != null)
|
||||
button.addActionListener(listener);
|
||||
if(mnemonic != -1)
|
||||
button.setMnemonic(mnemonic);
|
||||
setButtonSize(button, buttonPrefSize);
|
||||
return button;
|
||||
}
|
||||
|
||||
private static void setButtonSize(JButton button, Dimension size)
|
||||
{
|
||||
String text = button.getText();
|
||||
button.setMinimumSize(size);
|
||||
if(text.length() == 0)
|
||||
{
|
||||
button.setPreferredSize(size);
|
||||
} else
|
||||
{
|
||||
Dimension psize = button.getPreferredSize();
|
||||
if(psize.width < size.width)
|
||||
button.setPreferredSize(size);
|
||||
}
|
||||
}
|
||||
|
||||
public static JButton createButton(String text, ActionListener listener)
|
||||
{
|
||||
return createButton(text, listener, -1);
|
||||
}
|
||||
|
||||
public static JButton createSmallButton(String text, ActionListener listener, int mnemonic)
|
||||
{
|
||||
JButton button = createButton(text, listener, mnemonic);
|
||||
setButtonSize(button, smbuttonPrefSize);
|
||||
return button;
|
||||
}
|
||||
|
||||
public static JButton createSmallButton(String text, ActionListener listener)
|
||||
{
|
||||
return createSmallButton(text, listener, -1);
|
||||
}
|
||||
|
||||
public static Border createBorder(String text)
|
||||
{
|
||||
Border border = BorderFactory.createEtchedBorder();
|
||||
return BorderFactory.createTitledBorder(border, text, 0, 2);
|
||||
}
|
||||
|
||||
public static Border createBorder()
|
||||
{
|
||||
return BorderFactory.createEmptyBorder(4, 4, 4, 4);
|
||||
}
|
||||
|
||||
public static JScrollPane createListPane(JList list, String text)
|
||||
{
|
||||
JScrollPane pane = new JScrollPane(list);
|
||||
pane.setBorder(BorderFactory.createCompoundBorder(createBorder(text), BorderFactory.createLoweredBevelBorder()));
|
||||
return pane;
|
||||
}
|
||||
|
||||
public static void centerComponent(Component source, Component parent)
|
||||
{
|
||||
Dimension dim = source.getSize();
|
||||
Rectangle rect;
|
||||
if(parent != null)
|
||||
{
|
||||
rect = parent.getBounds();
|
||||
} else
|
||||
{
|
||||
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
|
||||
rect = new Rectangle(0, 0, d.width, d.height);
|
||||
}
|
||||
int x = rect.x + (rect.width - dim.width) / 2;
|
||||
int y = rect.y + (rect.height - dim.height) / 2;
|
||||
source.setLocation(x, y);
|
||||
}
|
||||
|
||||
public static void centerComponent(Component source)
|
||||
{
|
||||
centerComponent(source, null);
|
||||
}
|
||||
|
||||
public static JFrame getParentFrame(Component source)
|
||||
{
|
||||
Container parent;
|
||||
for(parent = source.getParent(); parent != null; parent = parent.getParent())
|
||||
if(parent instanceof JFrame)
|
||||
break;
|
||||
|
||||
if(parent == null)
|
||||
return null;
|
||||
else
|
||||
return (JFrame)parent;
|
||||
}
|
||||
|
||||
public static Integer msToSec(Integer ms)
|
||||
{
|
||||
int value = ms.intValue();
|
||||
value /= 1000;
|
||||
return new Integer(value);
|
||||
}
|
||||
|
||||
public static Integer secToMs(Integer sec)
|
||||
{
|
||||
int value = sec.intValue();
|
||||
value *= 1000;
|
||||
return new Integer(value);
|
||||
}
|
||||
|
||||
public static String stringFromStringArray(String strings[], String delim)
|
||||
{
|
||||
String string = "";
|
||||
String separator;
|
||||
if(delim == null || delim.equals(""))
|
||||
separator = " ";
|
||||
else
|
||||
separator = delim;
|
||||
for(int i = 0; i < strings.length; i++)
|
||||
{
|
||||
string = string + strings[i];
|
||||
string = string + separator;
|
||||
}
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
public static String stringFromStringArray(String strings[])
|
||||
{
|
||||
return stringFromStringArray(strings, "");
|
||||
}
|
||||
|
||||
public static String[] stringArrayFromString(String string, String delim)
|
||||
{
|
||||
StringTokenizer st;
|
||||
if(delim == null || delim.equals(""))
|
||||
st = new StringTokenizer(string);
|
||||
else
|
||||
st = new StringTokenizer(string, delim);
|
||||
int numTokens = st.countTokens();
|
||||
String strings[] = new String[numTokens];
|
||||
int index = 0;
|
||||
while(st.hasMoreTokens())
|
||||
strings[index++] = st.nextToken();
|
||||
return strings;
|
||||
}
|
||||
|
||||
public static String[] stringArrayFromString(String string)
|
||||
{
|
||||
return stringArrayFromString(string, "");
|
||||
}
|
||||
|
||||
public static void setWaitCursor(Component comp)
|
||||
{
|
||||
comp.setCursor(Cursor.getPredefinedCursor(3));
|
||||
}
|
||||
|
||||
public static void setDefaultCursor(Component comp)
|
||||
{
|
||||
comp.setCursor(Cursor.getPredefinedCursor(0));
|
||||
}
|
||||
|
||||
public static final int BUTTON_WIDTH = 100;
|
||||
public static final int BUTTON_HEIGHT = 26;
|
||||
public static final int BUTTCON_WIDTH = 28;
|
||||
public static final int BUTTCON_HEIGHT = 28;
|
||||
public static final int SM_BUTTON_WIDTH = 72;
|
||||
public static final int SM_BUTTON_HEIGHT = 26;
|
||||
public static final int LABEL_WIDTH = 100;
|
||||
public static final int LABEL_HEIGHT = 20;
|
||||
public static final int TEXT_WIDTH = 150;
|
||||
public static final int TEXT_HEIGHT = 20;
|
||||
public static Dimension buttonPrefSize = new Dimension(100, 26);
|
||||
public static Dimension buttconPrefSize = new Dimension(28, 28);
|
||||
public static Dimension smbuttonPrefSize = new Dimension(72, 26);
|
||||
public static Dimension labelPrefSize = new Dimension(100, 20);
|
||||
public static Dimension textPrefSize = new Dimension(150, 20);
|
||||
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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
|
||||
@ -22,46 +22,30 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "incls/_precompiled.incl"
|
||||
#include "incls/_assembler_windows_x86_64.cpp.incl"
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import com.sun.java.swing.action.*;
|
||||
import java.awt.event.ActionListener;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.ui:
|
||||
// CommonUI
|
||||
|
||||
public class OkCancelButtonPanel extends JPanel
|
||||
{
|
||||
|
||||
public OkCancelButtonPanel(ActionListener listener)
|
||||
{
|
||||
DelegateAction okAction = new OkAction();
|
||||
okAction.addActionListener(listener);
|
||||
DelegateAction cancelAction = new CancelAction();
|
||||
cancelAction.addActionListener(listener);
|
||||
add(CommonUI.createButton(okAction));
|
||||
add(CommonUI.createButton(cancelAction));
|
||||
}
|
||||
|
||||
public static final String OK_COMMAND = "ok-command";
|
||||
public static final String CANCEL_COMMAND = "cancel-command";
|
||||
|
||||
void MacroAssembler::int3() {
|
||||
emit_byte(0xCC);
|
||||
}
|
||||
|
||||
// call (Thread*)TlsGetValue(thread_index());
|
||||
void MacroAssembler::get_thread(Register thread) {
|
||||
if (thread != rax) {
|
||||
pushq(rax);
|
||||
}
|
||||
pushq(rdi);
|
||||
pushq(rsi);
|
||||
pushq(rdx);
|
||||
pushq(rcx);
|
||||
pushq(r8);
|
||||
pushq(r9);
|
||||
pushq(r10);
|
||||
// XXX
|
||||
movq(r10, rsp);
|
||||
andq(rsp, -16);
|
||||
pushq(r10);
|
||||
pushq(r11);
|
||||
|
||||
movl(c_rarg0, ThreadLocalStorage::thread_index());
|
||||
call(RuntimeAddress((address)TlsGetValue));
|
||||
|
||||
popq(r11);
|
||||
popq(rsp);
|
||||
popq(r10);
|
||||
popq(r9);
|
||||
popq(r8);
|
||||
popq(rcx);
|
||||
popq(rdx);
|
||||
popq(rsi);
|
||||
popq(rdi);
|
||||
if (thread != rax) {
|
||||
movq(thread, rax);
|
||||
popq(rax);
|
||||
}
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Container;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import javax.swing.JDialog;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.ui:
|
||||
// OkCancelButtonPanel, CommonUI
|
||||
|
||||
public class OkCancelDialog extends JDialog
|
||||
implements ActionListener
|
||||
{
|
||||
|
||||
public OkCancelDialog(String title, JPanel panel)
|
||||
{
|
||||
this(title, panel, true);
|
||||
}
|
||||
|
||||
public OkCancelDialog(String title, JPanel panel, boolean modal)
|
||||
{
|
||||
setTitle(title);
|
||||
setModal(modal);
|
||||
Container pane = getContentPane();
|
||||
pane.setLayout(new BorderLayout());
|
||||
pane.add(panel, "Center");
|
||||
pane.add(new OkCancelButtonPanel(this), "South");
|
||||
pack();
|
||||
CommonUI.centerComponent(this);
|
||||
}
|
||||
|
||||
public boolean isOk()
|
||||
{
|
||||
return okPressed;
|
||||
}
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
String command = evt.getActionCommand();
|
||||
if(command.equals("ok-command"))
|
||||
{
|
||||
okPressed = true;
|
||||
setVisible(false);
|
||||
dispose();
|
||||
} else
|
||||
if(command.equals("cancel-command"))
|
||||
{
|
||||
okPressed = false;
|
||||
setVisible(false);
|
||||
dispose();
|
||||
}
|
||||
}
|
||||
|
||||
private boolean okPressed;
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import java.awt.*;
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
public class SplashScreen extends Window
|
||||
{
|
||||
|
||||
public SplashScreen(Frame f)
|
||||
{
|
||||
super(f);
|
||||
setBackground(Color.white);
|
||||
java.net.URL url = getClass().getResource("/images/SplashScreen.jpg");
|
||||
if(url != null)
|
||||
{
|
||||
screen = new ImageIcon(url);
|
||||
MediaTracker mt = new MediaTracker(this);
|
||||
mt.addImage(screen.getImage(), 0);
|
||||
try
|
||||
{
|
||||
mt.waitForAll();
|
||||
}
|
||||
catch(Exception ex) { }
|
||||
}
|
||||
}
|
||||
|
||||
public void setVisible(boolean val)
|
||||
{
|
||||
if(screen == null)
|
||||
return;
|
||||
if(val)
|
||||
{
|
||||
setSize(screen.getIconWidth(), screen.getIconHeight());
|
||||
setLocation(-500, -500);
|
||||
super.setVisible(true);
|
||||
Dimension d = getToolkit().getScreenSize();
|
||||
Insets i = getInsets();
|
||||
int w = screen.getIconWidth() + i.left + i.right;
|
||||
int h = screen.getIconHeight() + i.top + i.bottom;
|
||||
setSize(w, h);
|
||||
setLocation(d.width / 2 - w / 2, d.height / 2 - h / 2);
|
||||
} else
|
||||
{
|
||||
super.setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
public void paint(Graphics g)
|
||||
{
|
||||
if(screen != null)
|
||||
{
|
||||
Dimension d = getSize();
|
||||
g.setColor(Color.black);
|
||||
g.drawRect(0, 0, d.width - 1, d.height - 1);
|
||||
g.drawImage(screen.getImage(), 1, 1, this);
|
||||
}
|
||||
}
|
||||
|
||||
private ImageIcon screen;
|
||||
}
|
@ -0,0 +1,178 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
|
||||
public class StatusBar extends JPanel
|
||||
implements ActionListener, MouseListener
|
||||
{
|
||||
|
||||
public StatusBar()
|
||||
{
|
||||
setLayout(new FlowLayout(0));
|
||||
setBorder(BorderFactory.createEtchedBorder());
|
||||
progressBar = new JProgressBar(0, 0, 100);
|
||||
progressBar.setPreferredSize(new Dimension(60, progressBar.getPreferredSize().height + 2));
|
||||
progressBar.setVisible(false);
|
||||
label = new JLabel(" ");
|
||||
preferredSize = new Dimension(getWidth(label.getText()), 2 * getFontHeight());
|
||||
add(progressBar);
|
||||
add(label);
|
||||
}
|
||||
|
||||
public static StatusBar getInstance()
|
||||
{
|
||||
if(statusBar == null)
|
||||
statusBar = new StatusBar();
|
||||
return statusBar;
|
||||
}
|
||||
|
||||
public static void setInstance(StatusBar sb)
|
||||
{
|
||||
statusBar = sb;
|
||||
}
|
||||
|
||||
protected int getWidth(String s)
|
||||
{
|
||||
FontMetrics fm = getFontMetrics(getFont());
|
||||
if(fm == null)
|
||||
return 0;
|
||||
else
|
||||
return fm.stringWidth(s);
|
||||
}
|
||||
|
||||
protected int getFontHeight()
|
||||
{
|
||||
FontMetrics fm = getFontMetrics(getFont());
|
||||
if(fm == null)
|
||||
return 0;
|
||||
else
|
||||
return fm.getHeight();
|
||||
}
|
||||
|
||||
public Dimension getPreferredSize()
|
||||
{
|
||||
return preferredSize;
|
||||
}
|
||||
|
||||
public void setMessage(String message)
|
||||
{
|
||||
label.setText(message);
|
||||
label.repaint();
|
||||
}
|
||||
|
||||
public void startBusyBar()
|
||||
{
|
||||
forward = true;
|
||||
if(timer == null)
|
||||
{
|
||||
setMessage("");
|
||||
progressBar.setVisible(true);
|
||||
timer = new Timer(15, this);
|
||||
timer.start();
|
||||
}
|
||||
}
|
||||
|
||||
public void stopBusyBar()
|
||||
{
|
||||
if(timer != null)
|
||||
{
|
||||
timer.stop();
|
||||
timer = null;
|
||||
}
|
||||
setMessage("");
|
||||
progressBar.setVisible(false);
|
||||
progressBar.setValue(0);
|
||||
}
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
int value = progressBar.getValue();
|
||||
if(forward)
|
||||
{
|
||||
if(value < 100)
|
||||
{
|
||||
progressBar.setValue(value + 1);
|
||||
} else
|
||||
{
|
||||
forward = false;
|
||||
progressBar.setValue(value - 1);
|
||||
}
|
||||
} else
|
||||
if(value > 0)
|
||||
{
|
||||
progressBar.setValue(value - 1);
|
||||
} else
|
||||
{
|
||||
forward = true;
|
||||
progressBar.setValue(value + 1);
|
||||
}
|
||||
}
|
||||
|
||||
public void mouseClicked(MouseEvent mouseevent)
|
||||
{
|
||||
}
|
||||
|
||||
public void mousePressed(MouseEvent mouseevent)
|
||||
{
|
||||
}
|
||||
|
||||
public void mouseReleased(MouseEvent mouseevent)
|
||||
{
|
||||
}
|
||||
|
||||
public void mouseExited(MouseEvent evt)
|
||||
{
|
||||
setMessage("");
|
||||
}
|
||||
|
||||
public void mouseEntered(MouseEvent evt)
|
||||
{
|
||||
if(evt.getSource() instanceof AbstractButton)
|
||||
{
|
||||
AbstractButton button = (AbstractButton)evt.getSource();
|
||||
Action action = button.getAction();
|
||||
if(action != null)
|
||||
{
|
||||
String message = (String)action.getValue("LongDescription");
|
||||
setMessage(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static final int PROGRESS_MAX = 100;
|
||||
private static final int PROGRESS_MIN = 0;
|
||||
private JLabel label;
|
||||
private Dimension preferredSize;
|
||||
private JProgressBar progressBar;
|
||||
private Timer timer;
|
||||
private boolean forward;
|
||||
private static StatusBar statusBar;
|
||||
|
||||
}
|
@ -0,0 +1,221 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import com.sun.java.swing.action.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.util.Vector;
|
||||
import javax.swing.*;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.ui:
|
||||
// CommonUI
|
||||
|
||||
public class TabsDlg extends JDialog
|
||||
{
|
||||
private class ApplyListener
|
||||
implements ActionListener
|
||||
{
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
if(applyListener != null)
|
||||
{
|
||||
applyListener.actionPerformed(evt);
|
||||
enableApplyButton(false);
|
||||
}
|
||||
}
|
||||
|
||||
private ApplyListener()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private class CancelListener
|
||||
implements ActionListener
|
||||
{
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
if(cancelListener != null)
|
||||
cancelListener.actionPerformed(evt);
|
||||
setVisible(false);
|
||||
}
|
||||
|
||||
private CancelListener()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private class OkListener
|
||||
implements ActionListener
|
||||
{
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
if(okListener != null)
|
||||
okListener.actionPerformed(evt);
|
||||
setVisible(false);
|
||||
}
|
||||
|
||||
private OkListener()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public TabsDlg(String title, Vector panels)
|
||||
{
|
||||
super(new JFrame(), title, true);
|
||||
okListener = null;
|
||||
cancelListener = null;
|
||||
applyListener = null;
|
||||
Container pane = getContentPane();
|
||||
pane.setLayout(new BorderLayout());
|
||||
tabsPanel = new JTabbedPane();
|
||||
int numPanels = panels.size();
|
||||
for(int i = 0; i < numPanels; i++)
|
||||
{
|
||||
JPanel panel = (JPanel)panels.elementAt(i);
|
||||
tabsPanel.addTab(panel.getName(), panel);
|
||||
}
|
||||
|
||||
pane.add(tabsPanel, "Center");
|
||||
pane.add(createButtonPanel(), "South");
|
||||
pack();
|
||||
CommonUI.centerComponent(this);
|
||||
}
|
||||
|
||||
public static void main(String args[])
|
||||
{
|
||||
JPanel p1 = new JPanel();
|
||||
p1.add(new JButton("One"));
|
||||
p1.setName("One");
|
||||
JPanel p2 = new JPanel();
|
||||
p2.add(new JButton("Two"));
|
||||
p2.setName("Two");
|
||||
JPanel p3 = new JPanel();
|
||||
p3.add(new JButton("Three"));
|
||||
p3.setName("Three");
|
||||
JPanel p4 = new JPanel();
|
||||
p4.add(new JButton("Four"));
|
||||
p4.setName("Four");
|
||||
Vector panels = new Vector();
|
||||
panels.addElement(p1);
|
||||
panels.addElement(p2);
|
||||
panels.addElement(p3);
|
||||
panels.addElement(p4);
|
||||
tabsDlg = new TabsDlg("Test Dialog", panels);
|
||||
tabsDlg.addOkListener(new ActionListener() {
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
}
|
||||
);
|
||||
tabsDlg.addCancelListener(new ActionListener() {
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
}
|
||||
);
|
||||
tabsDlg.setVisible(true);
|
||||
}
|
||||
|
||||
private JPanel createButtonPanel()
|
||||
{
|
||||
JPanel panel = new JPanel();
|
||||
okAction = new OkAction();
|
||||
cancelAction = new CancelAction();
|
||||
applyAction = new ApplyAction();
|
||||
okAction.addActionListener(new OkListener());
|
||||
cancelAction.addActionListener(new CancelListener());
|
||||
applyAction.addActionListener(new ApplyListener());
|
||||
panel.add(CommonUI.createButton(okAction));
|
||||
panel.add(CommonUI.createButton(cancelAction));
|
||||
panel.add(CommonUI.createButton(applyAction));
|
||||
JPanel p2 = new JPanel(new BorderLayout());
|
||||
p2.add(panel, "Center");
|
||||
p2.add(new JSeparator(), "North");
|
||||
return p2;
|
||||
}
|
||||
|
||||
public void enableApplyButton(boolean enabled)
|
||||
{
|
||||
applyAction.setEnabled(enabled);
|
||||
}
|
||||
|
||||
public synchronized void addOkListener(ActionListener l)
|
||||
{
|
||||
okListener = AWTEventMulticaster.add(okListener, l);
|
||||
}
|
||||
|
||||
public synchronized void removeOkListener(ActionListener l)
|
||||
{
|
||||
okListener = AWTEventMulticaster.remove(okListener, l);
|
||||
}
|
||||
|
||||
public synchronized void addCancelListener(ActionListener l)
|
||||
{
|
||||
cancelListener = AWTEventMulticaster.add(cancelListener, l);
|
||||
}
|
||||
|
||||
public synchronized void removeCancelListener(ActionListener l)
|
||||
{
|
||||
cancelListener = AWTEventMulticaster.remove(cancelListener, l);
|
||||
}
|
||||
|
||||
public synchronized void addApplyListener(ActionListener l)
|
||||
{
|
||||
applyListener = AWTEventMulticaster.add(applyListener, l);
|
||||
}
|
||||
|
||||
public synchronized void removeApplyListener(ActionListener l)
|
||||
{
|
||||
applyListener = AWTEventMulticaster.remove(applyListener, l);
|
||||
}
|
||||
|
||||
private JTabbedPane tabsPanel;
|
||||
private DelegateAction okAction;
|
||||
private DelegateAction cancelAction;
|
||||
private DelegateAction applyAction;
|
||||
private ActionListener okListener;
|
||||
private ActionListener cancelListener;
|
||||
private ActionListener applyListener;
|
||||
private static TabsDlg tabsDlg;
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import javax.swing.AbstractButton;
|
||||
|
||||
public class ToggleActionPropertyChangeListener
|
||||
implements PropertyChangeListener
|
||||
{
|
||||
|
||||
public ToggleActionPropertyChangeListener(AbstractButton button)
|
||||
{
|
||||
this.button = button;
|
||||
}
|
||||
|
||||
public void propertyChange(PropertyChangeEvent evt)
|
||||
{
|
||||
String propertyName = evt.getPropertyName();
|
||||
if(propertyName.equals("selected"))
|
||||
{
|
||||
Boolean selected = (Boolean)evt.getNewValue();
|
||||
button.setSelected(selected.booleanValue());
|
||||
}
|
||||
}
|
||||
|
||||
private AbstractButton button;
|
||||
}
|
@ -0,0 +1,336 @@
|
||||
/*
|
||||
* Copyright 2000-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
* have any questions.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
package com.sun.java.swing.ui;
|
||||
|
||||
import com.sun.java.swing.action.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.util.Vector;
|
||||
import javax.swing.*;
|
||||
|
||||
// Referenced classes of package com.sun.java.swing.ui:
|
||||
// CommonUI
|
||||
|
||||
public class WizardDlg extends JDialog
|
||||
{
|
||||
private class CancelListener
|
||||
implements ActionListener
|
||||
{
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
if(cancelListener != null)
|
||||
cancelListener.actionPerformed(evt);
|
||||
setVisible(false);
|
||||
}
|
||||
|
||||
private CancelListener()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private class FinishListener
|
||||
implements ActionListener
|
||||
{
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
if(finishListener != null)
|
||||
finishListener.actionPerformed(evt);
|
||||
setVisible(false);
|
||||
}
|
||||
|
||||
private FinishListener()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private class NextListener
|
||||
implements ActionListener
|
||||
{
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
cardShowing++;
|
||||
if(cardShowing > numCards)
|
||||
cardShowing = numCards;
|
||||
else
|
||||
panesLayout.next(panesPanel);
|
||||
if(nextListener != null)
|
||||
nextListener.actionPerformed(evt);
|
||||
enableBackNextButtons();
|
||||
}
|
||||
|
||||
private NextListener()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private class BackListener
|
||||
implements ActionListener
|
||||
{
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
cardShowing--;
|
||||
if(cardShowing < 1)
|
||||
cardShowing = 1;
|
||||
else
|
||||
panesLayout.previous(panesPanel);
|
||||
if(backListener != null)
|
||||
backListener.actionPerformed(evt);
|
||||
enableBackNextButtons();
|
||||
}
|
||||
|
||||
private BackListener()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public WizardDlg(JFrame frame, String title, Vector panels, Vector images)
|
||||
{
|
||||
super(frame, title, true);
|
||||
this.title = title;
|
||||
this.images = images;
|
||||
Container pane = getContentPane();
|
||||
pane.setLayout(new BorderLayout());
|
||||
panesLayout = new CardLayout();
|
||||
panesPanel = new JPanel(panesLayout);
|
||||
pane.add(panesPanel, "Center");
|
||||
pane.add(createButtonPanel(), "South");
|
||||
setPanels(panels);
|
||||
pack();
|
||||
CommonUI.centerComponent(this);
|
||||
}
|
||||
|
||||
public WizardDlg(JFrame frame, String title, Vector panels)
|
||||
{
|
||||
this(frame, title, panels, null);
|
||||
}
|
||||
|
||||
public WizardDlg(String title, Vector panels)
|
||||
{
|
||||
this(new JFrame(), title, panels, null);
|
||||
}
|
||||
|
||||
public void setPanels(Vector panels)
|
||||
{
|
||||
numCards = panels.size();
|
||||
cardShowing = 1;
|
||||
this.panels = panels;
|
||||
panesPanel.removeAll();
|
||||
for(int i = 0; i < numCards; i++)
|
||||
panesPanel.add((JPanel)panels.elementAt(i), (new Integer(i)).toString());
|
||||
|
||||
validate();
|
||||
enableBackNextButtons();
|
||||
}
|
||||
|
||||
public void reset()
|
||||
{
|
||||
cardShowing = 1;
|
||||
panesLayout.first(panesPanel);
|
||||
enableBackNextButtons();
|
||||
}
|
||||
|
||||
public void setWestPanel(JPanel panel)
|
||||
{
|
||||
Container pane = getContentPane();
|
||||
pane.add(panel, "West");
|
||||
}
|
||||
|
||||
public static void main(String args[])
|
||||
{
|
||||
JPanel p1 = new JPanel();
|
||||
p1.add(new JButton("One"));
|
||||
JPanel p2 = new JPanel();
|
||||
p2.add(new JButton("Two"));
|
||||
JPanel p3 = new JPanel();
|
||||
p3.add(new JButton("Three"));
|
||||
JPanel p4 = new JPanel();
|
||||
p4.add(new JButton("Four"));
|
||||
Vector panels = new Vector();
|
||||
panels.addElement(p1);
|
||||
panels.addElement(p2);
|
||||
panels.addElement(p3);
|
||||
panels.addElement(p4);
|
||||
wizardDlg = new WizardDlg("Test Dialog", panels);
|
||||
wizardDlg.addFinishListener(new ActionListener() {
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
}
|
||||
);
|
||||
wizardDlg.addCancelListener(new ActionListener() {
|
||||
|
||||
public void actionPerformed(ActionEvent evt)
|
||||
{
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
}
|
||||
);
|
||||
wizardDlg.setVisible(true);
|
||||
}
|
||||
|
||||
private JPanel createButtonPanel()
|
||||
{
|
||||
JPanel panel = new JPanel();
|
||||
backAction = new BackAction();
|
||||
nextAction = new NextAction();
|
||||
finishAction = new FinishAction();
|
||||
cancelAction = new CancelAction();
|
||||
backAction.setEnabled(false);
|
||||
finishAction.setEnabled(false);
|
||||
backAction.addActionListener(new BackListener());
|
||||
nextAction.addActionListener(new NextListener());
|
||||
finishAction.addActionListener(new FinishListener());
|
||||
cancelAction.addActionListener(new CancelListener());
|
||||
panel.add(CommonUI.createButton(backAction));
|
||||
panel.add(CommonUI.createButton(nextAction));
|
||||
panel.add(CommonUI.createButton(finishAction));
|
||||
panel.add(CommonUI.createButton(cancelAction));
|
||||
JPanel p2 = new JPanel(new BorderLayout());
|
||||
p2.add(panel, "Center");
|
||||
p2.add(new JSeparator(), "North");
|
||||
return p2;
|
||||
}
|
||||
|
||||
private void enableBackNextButtons()
|
||||
{
|
||||
if(cardShowing == 1)
|
||||
{
|
||||
backAction.setEnabled(false);
|
||||
finishAction.setEnabled(false);
|
||||
if(numCards > 1)
|
||||
{
|
||||
nextAction.setEnabled(true);
|
||||
} else
|
||||
{
|
||||
finishAction.setEnabled(true);
|
||||
nextAction.setEnabled(false);
|
||||
}
|
||||
} else
|
||||
if(cardShowing == numCards)
|
||||
{
|
||||
nextAction.setEnabled(false);
|
||||
finishAction.setEnabled(true);
|
||||
if(numCards > 1)
|
||||
backAction.setEnabled(true);
|
||||
else
|
||||
backAction.setEnabled(false);
|
||||
} else
|
||||
{
|
||||
backAction.setEnabled(true);
|
||||
nextAction.setEnabled(true);
|
||||
finishAction.setEnabled(false);
|
||||
}
|
||||
setTitle();
|
||||
}
|
||||
|
||||
private void setTitle()
|
||||
{
|
||||
JPanel panel = (JPanel)panels.elementAt(cardShowing - 1);
|
||||
String newTitle = title;
|
||||
String panelTitle = panel.getName();
|
||||
if(panelTitle != null && panelTitle.equals(""))
|
||||
{
|
||||
newTitle = newTitle + " - ";
|
||||
newTitle = newTitle + panelTitle;
|
||||
}
|
||||
super.setTitle(newTitle);
|
||||
}
|
||||
|
||||
public synchronized void addFinishListener(ActionListener l)
|
||||
{
|
||||
finishListener = AWTEventMulticaster.add(finishListener, l);
|
||||
}
|
||||
|
||||
public synchronized void removeFinishListener(ActionListener l)
|
||||
{
|
||||
finishListener = AWTEventMulticaster.remove(finishListener, l);
|
||||
}
|
||||
|
||||
public synchronized void addCancelListener(ActionListener l)
|
||||
{
|
||||
cancelListener = AWTEventMulticaster.add(cancelListener, l);
|
||||
}
|
||||
|
||||
public synchronized void removeCancelListener(ActionListener l)
|
||||
{
|
||||
cancelListener = AWTEventMulticaster.remove(cancelListener, l);
|
||||
}
|
||||
|
||||
public synchronized void addNextListener(ActionListener l)
|
||||
{
|
||||
nextListener = AWTEventMulticaster.add(nextListener, l);
|
||||
}
|
||||
|
||||
public synchronized void removeNextListener(ActionListener l)
|
||||
{
|
||||
nextListener = AWTEventMulticaster.remove(nextListener, l);
|
||||
}
|
||||
|
||||
public synchronized void addBackListener(ActionListener l)
|
||||
{
|
||||
backListener = AWTEventMulticaster.add(backListener, l);
|
||||
}
|
||||
|
||||
public synchronized void removeBackListener(ActionListener l)
|
||||
{
|
||||
backListener = AWTEventMulticaster.remove(backListener, l);
|
||||
}
|
||||
|
||||
private CardLayout panesLayout;
|
||||
private JPanel panesPanel;
|
||||
private DelegateAction backAction;
|
||||
private DelegateAction nextAction;
|
||||
private DelegateAction finishAction;
|
||||
private DelegateAction cancelAction;
|
||||
private ActionListener finishListener;
|
||||
private ActionListener cancelListener;
|
||||
private ActionListener nextListener;
|
||||
private ActionListener backListener;
|
||||
private int numCards;
|
||||
private int cardShowing;
|
||||
private String title;
|
||||
private Vector panels;
|
||||
private Vector images;
|
||||
private static WizardDlg wizardDlg;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
After Width: | Height: | Size: 636 B |
After Width: | Height: | Size: 775 B |
After Width: | Height: | Size: 644 B |
After Width: | Height: | Size: 797 B |
After Width: | Height: | Size: 208 B |
After Width: | Height: | Size: 249 B |
After Width: | Height: | Size: 434 B |
After Width: | Height: | Size: 661 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 677 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 661 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 426 B |
After Width: | Height: | Size: 778 B |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 462 B |
After Width: | Height: | Size: 206 B |
After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 348 B |
After Width: | Height: | Size: 303 B |
After Width: | Height: | Size: 304 B |
After Width: | Height: | Size: 484 B |
After Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 163 B |
After Width: | Height: | Size: 179 B |
After Width: | Height: | Size: 165 B |
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 165 B |
After Width: | Height: | Size: 178 B |
@ -193,8 +193,12 @@ public class HeapSummary extends Tool {
|
||||
|
||||
private static final double FACTOR = 1024*1024;
|
||||
private void printValMB(String title, long value) {
|
||||
double mb = value / FACTOR;
|
||||
System.out.println(alignment + title + value + " (" + mb + "MB)");
|
||||
if (value < 0) {
|
||||
System.out.println(alignment + title + (value >>> 20) + " MB");
|
||||
} else {
|
||||
double mb = value/FACTOR;
|
||||
System.out.println(alignment + title + value + " (" + mb + "MB)");
|
||||
}
|
||||
}
|
||||
|
||||
private void printValue(String title, long value) {
|
||||
|
@ -266,46 +266,52 @@ public class PermStat extends Tool {
|
||||
out.println();
|
||||
}
|
||||
|
||||
private static long objectSize(Oop oop) {
|
||||
return oop == null ? 0L : oop.getObjectSize();
|
||||
}
|
||||
|
||||
// Don't count the shared empty arrays
|
||||
private static long arraySize(Array arr) {
|
||||
return arr.getLength() != 0L ? arr.getObjectSize() : 0L;
|
||||
}
|
||||
|
||||
private long computeSize(InstanceKlass k) {
|
||||
long size = 0L;
|
||||
// InstanceKlass object size
|
||||
// the InstanceKlass object itself
|
||||
size += k.getObjectSize();
|
||||
|
||||
// add ConstantPool size
|
||||
size += k.getConstants().getObjectSize();
|
||||
// Constant pool
|
||||
ConstantPool cp = k.getConstants();
|
||||
size += cp.getObjectSize();
|
||||
size += objectSize(cp.getCache());
|
||||
size += objectSize(cp.getTags());
|
||||
|
||||
// add ConstantPoolCache, if any
|
||||
ConstantPoolCache cpCache = k.getConstants().getCache();
|
||||
if (cpCache != null) {
|
||||
size += cpCache.getObjectSize();
|
||||
}
|
||||
// Interfaces
|
||||
size += arraySize(k.getLocalInterfaces());
|
||||
size += arraySize(k.getTransitiveInterfaces());
|
||||
|
||||
// add interfaces size
|
||||
ObjArray interfaces = k.getLocalInterfaces();
|
||||
size += (interfaces.getLength() != 0L)? interfaces.getObjectSize() : 0L;
|
||||
ObjArray transitiveInterfaces = k.getTransitiveInterfaces();
|
||||
size += (transitiveInterfaces.getLength() != 0L)? transitiveInterfaces.getObjectSize() : 0L;
|
||||
// Inner classes
|
||||
size += objectSize(k.getInnerClasses());
|
||||
|
||||
// add inner classes size
|
||||
TypeArray innerClasses = k.getInnerClasses();
|
||||
size += innerClasses.getObjectSize();
|
||||
// Fields
|
||||
size += objectSize(k.getFields());
|
||||
|
||||
// add fields size
|
||||
size += k.getFields().getObjectSize();
|
||||
|
||||
// add methods size
|
||||
// Methods
|
||||
ObjArray methods = k.getMethods();
|
||||
size += (methods.getLength() != 0L)? methods.getObjectSize() : 0L;
|
||||
TypeArray methodOrdering = k.getMethodOrdering();
|
||||
size += (methodOrdering.getLength() != 0L)? methodOrdering.getObjectSize() : 0;
|
||||
|
||||
// add each method's size
|
||||
int numMethods = (int) methods.getLength();
|
||||
for (int i = 0; i < numMethods; i++) {
|
||||
Method m = (Method) methods.getObjAt(i);
|
||||
size += m.getObjectSize();
|
||||
int nmethods = (int) methods.getLength();
|
||||
if (nmethods != 0L) {
|
||||
size += methods.getObjectSize();
|
||||
for (int i = 0; i < nmethods; ++i) {
|
||||
Method m = (Method) methods.getObjAt(i);
|
||||
size += m.getObjectSize();
|
||||
size += objectSize(m.getConstMethod());
|
||||
}
|
||||
}
|
||||
|
||||
// MethodOrdering - an int array that records the original
|
||||
// ordering of methods in the class file
|
||||
size += arraySize(k.getMethodOrdering());
|
||||
|
||||
return size;
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,24 @@
|
||||
#
|
||||
# Copyright 2006-2008 Sun Microsystems, Inc. All rights reserved.
|
||||
# SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
||||
#
|
||||
# Copyright 2006-2008 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
# CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
# have any questions.
|
||||
#
|
||||
|
||||
#
|
||||
|
@ -35,7 +35,7 @@ HOTSPOT_VM_COPYRIGHT=Copyright 2008
|
||||
|
||||
HS_MAJOR_VER=14
|
||||
HS_MINOR_VER=0
|
||||
HS_BUILD_NUMBER=01
|
||||
HS_BUILD_NUMBER=04
|
||||
|
||||
JDK_MAJOR_VER=1
|
||||
JDK_MINOR_VER=7
|
||||
|
@ -77,9 +77,7 @@ if [ "${osname}" = SunOS ] ; then
|
||||
# All jdk6 builds use SS11
|
||||
compiler_name=SS11
|
||||
else
|
||||
# FIXUP: Change to SS12 once it has been validated.
|
||||
#compiler_name=SS12
|
||||
compiler_name=SS11
|
||||
compiler_name=SS12
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -41,8 +41,9 @@ GENERATED = $(TOPDIR)/../generated
|
||||
SA_CLASSPATH = $(BOOT_JAVA_HOME)/lib/tools.jar
|
||||
|
||||
# gnumake 3.78.1 does not accept the *s that
|
||||
# are in AGENT_ALLFILES, so use the shell to expand them
|
||||
AGENT_ALLFILES := $(shell /usr/bin/test -d $(AGENT_DIR) && /bin/ls $(AGENT_ALLFILES))
|
||||
# are in AGENT_FILES1 and AGENT_FILES2, so use the shell to expand them
|
||||
AGENT_FILES1 := $(shell /usr/bin/test -d $(AGENT_DIR) && /bin/ls $(AGENT_FILES1))
|
||||
AGENT_FILES2 := $(shell /usr/bin/test -d $(AGENT_DIR) && /bin/ls $(AGENT_FILES2))
|
||||
|
||||
SA_CLASSDIR = $(GENERATED)/saclasses
|
||||
|
||||
@ -58,7 +59,7 @@ all:
|
||||
$(MAKE) -f sa.make $(GENERATED)/sa-jdi.jar; \
|
||||
fi
|
||||
|
||||
$(GENERATED)/sa-jdi.jar: $(AGENT_ALLFILES)
|
||||
$(GENERATED)/sa-jdi.jar: $(AGENT_FILES1) $(AGENT_FILES2)
|
||||
$(QUIETLY) echo "Making $@"
|
||||
$(QUIETLY) if [ "$(BOOT_JAVA_HOME)" = "" ]; then \
|
||||
echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"; \
|
||||
@ -72,9 +73,18 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_ALLFILES)
|
||||
$(QUIETLY) if [ ! -d $(SA_CLASSDIR) ] ; then \
|
||||
mkdir -p $(SA_CLASSDIR); \
|
||||
fi
|
||||
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -g -d $(SA_CLASSDIR) $(AGENT_ALLFILES)
|
||||
|
||||
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES1)
|
||||
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES2)
|
||||
|
||||
$(QUIETLY) $(REMOTE) $(COMPILE.RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||
$(QUIETLY) echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
|
||||
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
||||
$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql
|
||||
$(QUIETLY) mkdir -p $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
|
||||
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/*
|
||||
$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/
|
||||
$(QUIETLY) cp -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR)/
|
||||
$(QUIETLY) $(REMOTE) $(RUN.JAR) cf $@ -C $(SA_CLASSDIR)/ .
|
||||
$(QUIETLY) $(REMOTE) $(RUN.JAR) uf $@ -C $(AGENT_SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
|
||||
$(QUIETLY) $(REMOTE) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
|
||||
|
@ -195,7 +195,7 @@ $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE) $(LD_SCRIPT)
|
||||
if [ $$? = 0 ] ; then \
|
||||
/usr/bin/chcon -t textrel_shlib_t $@; \
|
||||
if [ $$? != 0 ]; then \
|
||||
echo "ERROR: Cannot chcon $@"; exit 1; \
|
||||
echo "ERROR: Cannot chcon $@"; \
|
||||
fi \
|
||||
fi \
|
||||
fi \
|
||||
|
@ -33,40 +33,23 @@
|
||||
|
||||
AGENT_SRC_DIR = $(AGENT_DIR)/src/share/classes
|
||||
|
||||
AGENT_ALLFILES = \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/DebugServer.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/HelloWorld.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpotAgent.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpotSolarisVtblAccess.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/HotSpotTypeDataBase.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/LinuxVtblAccess.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ObjectHistogram.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/RMIHelper.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/StackTrace.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/TestDebugger.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/Win32VtblAccess.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/Immediate.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ImmediateOrRegister.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/Operand.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/Register.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/amd64/AMD64Register.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/amd64/AMD64Registers.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ia64/IA64Register.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ia64/IA64Registers.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/SPARCArgument.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/SPARCRegister.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/SPARCRegisterType.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/SPARCRegisters.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86Register.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86RegisterPart.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86Registers.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86SegmentRegister.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/X86SegmentRegisters.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/bugspot/BugSpotAgent.java \
|
||||
# Splitted the set of files into two sets because on linux plaform
|
||||
# listing or compiling all the files results in 'Argument list too long' error.
|
||||
|
||||
AGENT_FILES1 = \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/amd64/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/ia64/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/sparc/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/asm/x86/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/bugspot/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/bugspot/tree/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/c1/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/code/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/compiler/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/amd64/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/basic/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/cdbg/basic/x86/*.java \
|
||||
@ -75,7 +58,6 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/sparc/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dbx/x86/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/dummy/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/amd64/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/ia64/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/debugger/linux/amd64/*.java \
|
||||
@ -107,7 +89,10 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/interpreter/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/jdi/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/livejvm/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/memory/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/oops/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/oops/*.java
|
||||
|
||||
|
||||
AGENT_FILES2 = \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/amd64/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/ia64/*.java \
|
||||
@ -127,7 +112,17 @@ $(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/win32_x86/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/runtime/x86/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/jcore/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/tools/soql/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/types/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/types/basic/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/memo/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/action/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/classbrowser/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/table/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/tree/*.java \
|
||||
$(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/treetable/*.java \
|
||||
$(AGENT_SRC_DIR)/com/sun/java/swing/action/*.java \
|
||||
$(AGENT_SRC_DIR)/com/sun/java/swing/ui/*.java
|
||||
|
@ -38,6 +38,8 @@ OPT_CFLAGS/SLOWER = -xO2
|
||||
|
||||
# Problem with SS12 compiler, dtrace doesn't like the .o files (bug 6693876)
|
||||
ifeq ($(COMPILER_REV), 5.9)
|
||||
# To avoid jvm98 crash
|
||||
OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER)
|
||||
# Not clear this workaround could be skipped in some cases.
|
||||
OPT_CFLAGS/vmGCOperations.o = $(OPT_CFLAGS/SLOWER)
|
||||
OPT_CFLAGS/java.o = $(OPT_CFLAGS/SLOWER)
|
||||
|
5450
hotspot/make/solaris/makefiles/reorder_COMPILER1_amd64
Normal file
@ -8,20 +8,20 @@ text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: arguments.o;
|
||||
text: .text%__1cQAgentLibraryList2t6M_v_: arguments.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_AllocTable.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_AllocTable.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_AllocTable_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_AllocTable_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_AllocTable_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_AllocTable_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_CacheLocals.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_CacheLocals.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_CacheLocals_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_CacheLocals_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_CacheLocals_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_CacheLocals_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Canonicalizer.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Canonicalizer.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_CodeGenerator.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_CodeGenerator.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_CodeGenerator_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_CodeGenerator_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_CodeGenerator_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_CodeGenerator_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Compilation.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Compilation.o;
|
||||
text: .text%__1cMelapsedTimer2t6M_v_: c1_Compilation.o;
|
||||
@ -29,9 +29,9 @@ text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Compiler.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Compiler.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_FrameMap.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_FrameMap.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_FrameMap_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_FrameMap_i486.o;
|
||||
text: .text%__1cKc1_RegMask2t6M_v_: c1_FrameMap_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_FrameMap_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_FrameMap_x86.o;
|
||||
text: .text%__1cKc1_RegMask2t6M_v_: c1_FrameMap_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_GraphBuilder.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_GraphBuilder.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_IR.o;
|
||||
@ -43,41 +43,41 @@ text: .text%__1cFRInfo2t6M_v_: c1_InstructionPrinter.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Items.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Items.o;
|
||||
text: .text%__1cIHintItem2t6MpnJValueType_i_v_: c1_Items.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Items_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Items_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Items_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Items_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIR.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIR.o;
|
||||
text: .text%__1cLLIR_OprFactHillegal6F_pnLLIR_OprDesc__: c1_LIR.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIRAssembler.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIRAssembler.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIRAssembler_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIRAssembler_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIRAssembler_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIRAssembler_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIREmitter.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIREmitter.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIROptimizer.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIROptimizer.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Loops.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Loops.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_MacroAssembler_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_MacroAssembler_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_MacroAssembler_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_MacroAssembler_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Optimizer.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Optimizer.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_RInfo.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_RInfo.o;
|
||||
text: .text%__1cKc1_RegMask2t6M_v_: c1_RInfo.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_RInfo_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_RInfo_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_RInfo_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_RInfo_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_RegAlloc.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_RegAlloc.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_RegAlloc_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_RegAlloc_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_RegAlloc_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_RegAlloc_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Runtime1.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Runtime1.o;
|
||||
text: .text%__1cIiEntries2t6M_v_;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Runtime1_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Runtime1_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_Runtime1_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_Runtime1_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_ScanBlocks.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_ScanBlocks.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_ValueMap.o;
|
||||
@ -105,8 +105,8 @@ text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: fprofiler.o;
|
||||
text: .text%__1cMelapsedTimer2t6M_v_: fprofiler.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: frame.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: frame.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: frame_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: frame_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: frame_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: frame_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: genCollectedHeap.o;
|
||||
text: .text%__1cTAssertIsPermClosure2t6M_v_: genCollectedHeap.o;
|
||||
text: .text%__1cRAlwaysTrueClosure2t6M_v_: genCollectedHeap.o;
|
||||
@ -117,8 +117,8 @@ text: .text%__1cNCellTypeStateImake_top6F_0_: generateOopMap.o;
|
||||
text: .text%__1cMelapsedTimer2t6M_v_: generateOopMap.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: interpreter.o;
|
||||
text: .text%__1cKEntryPoint2t6M_v_;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: interpreter_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: interpreter_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: interpreter_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: interpreter_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: java.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: java.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: jvmtiEnvBase.o;
|
||||
@ -151,16 +151,16 @@ text: .text%__1cNGrowableArray4CpnKMemoryPool__2t6Mii_v_: memoryService.o;
|
||||
text: .text%__1cNGrowableArray4CpnNMemoryManager__2t6Mii_v_: memoryService.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: methodOop.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: methodOop.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: nativeInst_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: nativeInst_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: nativeInst_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: nativeInst_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: nmethod.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: nmethod.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: oopMap.o;
|
||||
text: .text%__1cQDoNothingClosure2t6M_v_: oopMap.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: os_solaris.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: os_solaris.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: os_solaris_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: os_solaris_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: os_solaris_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: os_solaris_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: parGCAllocBuffer.o;
|
||||
text: .text%__1cMarrayOopDescLheader_size6FnJBasicType__i_: parGCAllocBuffer.o;
|
||||
text: .text%__1cRalign_object_size6Fi_i_: parGCAllocBuffer.o;
|
||||
@ -181,8 +181,8 @@ text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: runtimeService.o;
|
||||
text: .text%__1cJTimeStamp2t6M_v_: runtimeService.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: safepoint.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: safepoint.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: safepoint_solaris_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: safepoint_solaris_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: safepoint_solaris_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: safepoint_solaris_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: sharedHeap.o;
|
||||
text: .text%__1cTAssertIsPermClosure2t6M_v_: sharedHeap.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: sharedRuntime.o;
|
||||
@ -197,10 +197,10 @@ text: .text%__1cFRInfo2t6M_v_: vmStructs.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: vm_version.o;
|
||||
text: .text%__1cTAbstract_VM_VersionKvm_release6F_pkc_;
|
||||
text: .text%__1cTAbstract_VM_VersionXinternal_vm_info_string6F_pkc_;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: vtableStubs_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: vtableStubs_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIROptimizer_i486.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIROptimizer_i486.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: vtableStubs_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: vtableStubs_x86.o;
|
||||
text: .text%__1cU__STATIC_CONSTRUCTOR6F_v_: c1_LIROptimizer_x86.o;
|
||||
text: .text%__1cFRInfo2t6M_v_: c1_LIROptimizer_x86.o;
|
||||
text: .text%JNI_CreateJavaVM;
|
||||
text: .text%__1cCosVatomic_xchg_bootstrap6Fipoi_i_;
|
||||
text: .text%__1cHThreadsJcreate_vm6FpnOJavaVMInitArgs_pi_i_;
|
||||
@ -279,7 +279,7 @@ text: .text%__1cSThreadLocalStorageEinit6F_v_;
|
||||
text: .text%__1cSThreadLocalStorageHpd_init6F_v_;
|
||||
text: .text%__1cCosbDallocate_thread_local_storage6F_i_;
|
||||
text: .text%__1cSThreadLocalStoragebCgenerate_code_for_get_thread6F_v_;
|
||||
text: .text%__1cRAllocateTLSOffset6F_v_: threadLS_solaris_i486.o;
|
||||
text: .text%__1cRAllocateTLSOffset6F_v_: threadLS_solaris_x86.o;
|
||||
text: .text%__1cPvm_init_globals6F_v_;
|
||||
text: .text%__1cScheck_ThreadShadow6F_v_;
|
||||
text: .text%__1cRcheck_basic_types6F_v_;
|
||||
@ -463,7 +463,7 @@ text: .text%__1cKMemoryPoolImax_size6kM_I_: memoryPool.o;
|
||||
text: .text%__1cXresource_allocate_bytes6FI_pc_;
|
||||
text: .text%__1cKCodeBuffer2t6MpCi_v_;
|
||||
text: .text%__1cRAbstractAssembler2t6MpnKCodeBuffer__v_;
|
||||
text: .text%__1cYVM_Version_StubGeneratorTgenerate_getPsrInfo6M_pC_: vm_version_i486.o;
|
||||
text: .text%__1cYVM_Version_StubGeneratorTgenerate_getPsrInfo6M_pC_: vm_version_x86.o;
|
||||
text: .text%__1cMStubCodeMark2t6MpnRStubCodeGenerator_pkc4_v_;
|
||||
text: .text%__1cRStubCodeGeneratorLstub_prolog6MpnMStubCodeDesc__v_;
|
||||
text: .text%__1cJAssemblerFpushl6MpnMRegisterImpl__v_;
|
||||
@ -497,14 +497,14 @@ text: .text%__1cFVTuneNregister_stub6FpkcpC3_v_;
|
||||
text: .text%__1cFForteNregister_stub6FpkcpC3_v_;
|
||||
text: .text%__1cKVM_VersionWget_processor_features6F_v_;
|
||||
text: .text%__1cCosMsupports_sse6F_i_;
|
||||
text: .text%__1cVcheck_for_sse_support6F_v_: os_solaris_i486.o;
|
||||
text: .text%__1cVcheck_for_sse_support6F_v_: os_solaris_x86.o;
|
||||
text: .text%jio_snprintf;
|
||||
text: .text%jio_vsnprintf;
|
||||
text: .text%__1cPlocal_vsnprintf6FpcIpkcpv_i_;
|
||||
text: .text%__1cSstubRoutines_init16F_v_;
|
||||
text: .text%__1cMStubRoutinesLinitialize16F_v_;
|
||||
text: .text%__1cWStubGenerator_generate6FpnKCodeBuffer_i_v_;
|
||||
text: .text%__1cNStubGeneratorbAgenerate_forward_exception6M_pC_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorbAgenerate_forward_exception6M_pC_: stubGenerator_x86.o;
|
||||
text: .text%__1cOMacroAssemblerMcall_VM_leaf6MpCpnMRegisterImpl__v_;
|
||||
text: .text%__1cOMacroAssemblerMcall_VM_leaf6MpCi_v_;
|
||||
text: .text%__1cOMacroAssemblerRcall_VM_leaf_base6MpCi_v_;
|
||||
@ -525,7 +525,7 @@ text: .text%__1cJAssemblerEleal6MpnMRegisterImpl_nHAddress__v_;
|
||||
text: .text%__1cJAssemblerEmovl6MnHAddress_i_v_;
|
||||
text: .text%__1cOMacroAssemblerKverify_oop6MpnMRegisterImpl_pkc_v_;
|
||||
text: .text%__1cJAssemblerDjmp6MpnMRegisterImpl_nJrelocInfoJrelocType__v_;
|
||||
text: .text%__1cNStubGeneratorSgenerate_call_stub6MrpC_1_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorSgenerate_call_stub6MrpC_1_: stubGenerator_x86.o;
|
||||
text: .text%__1cOMacroAssemblerFenter6M_v_;
|
||||
text: .text%__1cJAssemblerEsubl6MpnMRegisterImpl_i_v_;
|
||||
text: .text%__1cJAssemblerFtestl6MpnMRegisterImpl_2_v_;
|
||||
@ -534,14 +534,14 @@ text: .text%__1cJAssemblerEcall6MpnMRegisterImpl_nJrelocInfoJrelocType__v_;
|
||||
text: .text%__1cJAssemblerEcmpl6MpnMRegisterImpl_i_v_;
|
||||
text: .text%__1cJAssemblerGfstp_s6MnHAddress__v_;
|
||||
text: .text%__1cJAssemblerGfstp_d6MnHAddress__v_;
|
||||
text: .text%__1cNStubGeneratorYgenerate_catch_exception6M_pC_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorYgenerate_catch_exception6M_pC_: stubGenerator_x86.o;
|
||||
text: .text%__1cJAssemblerDjmp6MpCnJrelocInfoJrelocType__v_;
|
||||
text: .text%__1cNStubGeneratorUgenerate_atomic_xchg6M_pC_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorUgenerate_atomic_xchg6M_pC_: stubGenerator_x86.o;
|
||||
text: .text%__1cJAssemblerExchg6MpnMRegisterImpl_nHAddress__v_;
|
||||
text: .text%__1cJAssemblerGpushad6M_v_;
|
||||
text: .text%__1cJAssemblerFpopad6M_v_;
|
||||
text: .text%__1cNStubGeneratorYgenerate_get_previous_fp6M_pC_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorUgenerate_d2i_wrapper6MpC_1_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorYgenerate_get_previous_fp6M_pC_: stubGenerator_x86.o;
|
||||
text: .text%__1cNStubGeneratorUgenerate_d2i_wrapper6MpC_1_: stubGenerator_x86.o;
|
||||
text: .text%__1cOMacroAssemblerOpush_FPU_state6M_v_;
|
||||
text: .text%__1cJAssemblerGfnsave6MnHAddress__v_;
|
||||
text: .text%__1cJAssemblerFfwait6M_v_;
|
||||
@ -552,7 +552,7 @@ text: .text%__1cJAssemblerFffree6Mi_v_;
|
||||
text: .text%__1cJAssemblerLemit_farith6Miii_v_;
|
||||
text: .text%__1cOMacroAssemblerNpop_FPU_state6M_v_;
|
||||
text: .text%__1cJAssemblerGfrstor6MnHAddress__v_;
|
||||
text: .text%__1cNStubGeneratorUcreate_control_words6M_v_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorUcreate_control_words6M_v_: stubGenerator_x86.o;
|
||||
text: .text%__1cJTraceTime2T6M_v_;
|
||||
text: .text%__1cNcarSpace_init6F_v_;
|
||||
text: .text%__1cICarSpaceEinit6F_v_;
|
||||
@ -773,7 +773,7 @@ text: .text%__1cUInterpreterGeneratorVgenerate_counter_incr6MpnFLabel_22_v_;
|
||||
text: .text%__1cJAssemblerEaddl6MpnMRegisterImpl_2_v_;
|
||||
text: .text%__1cJAssemblerEcmpl6MpnMRegisterImpl_nHAddress__v_;
|
||||
text: .text%__1cbCAbstractInterpreterGeneratorXbang_stack_shadow_pages6Mi_v_;
|
||||
text: .text%__1cOMacroAssemblerWbang_stack_with_offset6Mi_v_: interp_masm_i486.o;
|
||||
text: .text%__1cOMacroAssemblerWbang_stack_with_offset6Mi_v_: interp_masm_x86.o;
|
||||
text: .text%__1cZInterpreterMacroAssemblerTnotify_method_entry6M_v_;
|
||||
text: .text%__1cUInterpreterGeneratorZgenerate_counter_overflow6MpC_v_;
|
||||
text: .text%__1cJAssemblerEnegl6MpnMRegisterImpl__v_;
|
||||
@ -785,7 +785,7 @@ text: .text%__1cJAssemblerDorl6MpnMRegisterImpl_nHAddress__v_;
|
||||
text: .text%__1cUInterpreterGeneratorUgenerate_empty_entry6M_pC_;
|
||||
text: .text%__1cUInterpreterGeneratorXgenerate_accessor_entry6M_pC_;
|
||||
text: .text%__1cJAssemblerEshrl6MpnMRegisterImpl_i_v_;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: interpreter_i486.o;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: interpreter_x86.o;
|
||||
text: .text%__1cOMacroAssemblerQload_signed_byte6MpnMRegisterImpl_nHAddress__i_;
|
||||
text: .text%__1cJAssemblerGmovsxb6MpnMRegisterImpl_nHAddress__v_;
|
||||
text: .text%__1cOMacroAssemblerQload_signed_word6MpnMRegisterImpl_nHAddress__i_;
|
||||
@ -982,7 +982,7 @@ text: .text%__1cNTemplateTableJfloat_cmp6Fii_v_;
|
||||
text: .text%__1cOMacroAssemblerIfcmp2int6MpnMRegisterImpl_i_v_;
|
||||
text: .text%__1cNTemplateTableKdouble_cmp6Fi_v_;
|
||||
text: .text%__1cNTemplateTableHif_0cmp6Fn0AJCondition__v_;
|
||||
text: .text%__1cFj_not6FnNTemplateTableJCondition__nJAssemblerJCondition__: templateTable_i486.o;
|
||||
text: .text%__1cFj_not6FnNTemplateTableJCondition__nJAssemblerJCondition__: templateTable_x86.o;
|
||||
text: .text%__1cNTemplateTableGbranch6Fii_v_;
|
||||
text: .text%__1cZInterpreterMacroAssemblerUprofile_taken_branch6MpnMRegisterImpl_2_v_;
|
||||
text: .text%__1cZInterpreterMacroAssemblerNdispatch_only6MnITosState__v_;
|
||||
@ -1488,7 +1488,7 @@ text: .text%__1cKSharedInfoLset_regName6F_v_;
|
||||
text: .text%__1cIRegAllocYinit_register_allocation6F_v_;
|
||||
text: .text%__1cIFrameMapEinit6F_v_;
|
||||
text: .text%__1cKc1_RegMaskKinit_masks6Fi_v_;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_FrameMap_i486.o;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_FrameMap_x86.o;
|
||||
text: .text%__1cNc1_AllocTableLinit_tables6F_v_;
|
||||
text: .text%__1cIFrameMapOfirst_register6F_pnMRegisterImpl__;
|
||||
text: .text%__1cIFrameMapLcpu_reg2rnr6FpnMRegisterImpl__i_;
|
||||
@ -1502,7 +1502,7 @@ text: .text%__1cKCodeBuffer2t6MiiiiiipnKBufferBlob_pnJrelocInfo_pnORelocateBuffe
|
||||
text: .text%__1cKCodeBufferQalloc_relocation6MI_v_;
|
||||
text: .text%__1cJOopMapSet2t6M_v_;
|
||||
text: .text%__1cJAssemblerEsubl6MnHAddress_i_v_;
|
||||
text: .text%__1cTsave_live_registers6FpnOMacroAssembler_i_pnGOopMap__: c1_Runtime1_i486.o;
|
||||
text: .text%__1cTsave_live_registers6FpnOMacroAssembler_i_pnGOopMap__: c1_Runtime1_x86.o;
|
||||
text: .text%__1cJAssemblerGfldenv6MnHAddress__v_;
|
||||
text: .text%__1cGOopMap2t6Mii_v_;
|
||||
text: .text%__1cGOopMapQset_callee_saved6MnHOptoRegEName_ii2_v_;
|
||||
@ -1564,10 +1564,10 @@ text: .text%__1cNStubAssemblerHcall_RT6MpnMRegisterImpl_2pCi_i_;
|
||||
text: .text%__1cJStubFrame2T6M_v_;
|
||||
text: .text%__1cIRuntime1Ygenerate_exception_throw6FpnNStubAssembler_pCpnMRegisterImpl__pnJOopMapSet__;
|
||||
text: .text%__1cOMacroAssemblerLtlab_refill6MrnFLabel_22_v_;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: assembler_i486.o;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: assembler_x86.o;
|
||||
text: .text%__1cOMacroAssemblerNeden_allocate6MpnMRegisterImpl_2i2rnFLabel__v_;
|
||||
text: .text%__1cOMacroAssemblerLverify_tlab6M_v_;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: c1_Runtime1_i486.o;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: c1_Runtime1_x86.o;
|
||||
text: .text%__1cOMacroAssemblerNtlab_allocate6MpnMRegisterImpl_2i22rnFLabel__v_;
|
||||
text: .text%__1cRC1_MacroAssemblerRinitialize_object6MpnMRegisterImpl_22i22_v_;
|
||||
text: .text%__1cRC1_MacroAssemblerRinitialize_header6MpnMRegisterImpl_22_v_;
|
||||
@ -1581,7 +1581,7 @@ text: .text%__1cIiEntries2t6Miiii_v_;
|
||||
text: .text%__1cRNativeGeneralJumpQjump_destination6kM_pC_;
|
||||
text: .text%__1cJAssemblerOlocate_operand6FpCn0AMWhichOperand__1_;
|
||||
text: .text%__1cIRuntime1Rgenerate_patching6FpnNStubAssembler_pC_pnJOopMapSet__;
|
||||
text: .text%__1cWrestore_live_registers6FpnOMacroAssembler__v_: c1_Runtime1_i486.o;
|
||||
text: .text%__1cWrestore_live_registers6FpnOMacroAssembler__v_: c1_Runtime1_x86.o;
|
||||
text: .text%__1cNSafepointBlobGcreate6FpnKCodeBuffer_pnJOopMapSet_i_p0_;
|
||||
text: .text%__1cNSafepointBlob2n6FII_pv_;
|
||||
text: .text%__1cNSafepointBlob2t6MpnKCodeBuffer_ipnJOopMapSet_i_v_;
|
||||
@ -1778,8 +1778,8 @@ text: .text%__1cYsun_reflect_ConstantPoolPcompute_offsets6F_v_;
|
||||
text: .text%__1cZsun_misc_AtomicLongCSImplPcompute_offsets6F_v_;
|
||||
text: .text%__1cSstubRoutines_init26F_v_;
|
||||
text: .text%__1cMStubRoutinesLinitialize26F_v_;
|
||||
text: .text%__1cNStubGeneratorYgenerate_throw_exception6MpkcpCi_3_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorTgenerate_verify_oop6M_pC_: stubGenerator_i486.o;
|
||||
text: .text%__1cNStubGeneratorYgenerate_throw_exception6MpkcpCi_3_: stubGenerator_x86.o;
|
||||
text: .text%__1cNStubGeneratorTgenerate_verify_oop6M_pC_: stubGenerator_x86.o;
|
||||
text: .text%__1cJAssemblerEincl6MnHAddress__v_;
|
||||
text: .text%__1cHThreadsDadd6FpnKJavaThread_i_v_;
|
||||
text: .text%__1cNThreadServiceKadd_thread6FpnKJavaThread_i_v_;
|
||||
@ -3074,11 +3074,11 @@ text: .text%__1cEItemRget_jint_constant6kM_i_;
|
||||
text: .text%__1cLLIR_EmitterRarithmetic_op_int6MnJBytecodesECode_pnLLIR_OprDesc_44nFRInfo__v_;
|
||||
text: .text%__1cLLIR_EmitterNarithmetic_op6MnJBytecodesECode_pnLLIR_OprDesc_44inFRInfo_pnMCodeEmitInfo__v_;
|
||||
text: .text%__1cLLIR_EmitterYstrength_reduce_multiply6MpnLLIR_OprDesc_i22_i_;
|
||||
text: .text%__1cILIR_ListHreg2reg6MnFRInfo_1nJBasicType__v_: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cILIR_ListHreg2reg6MnFRInfo_1nJBasicType__v_: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cILIR_ListKshift_left6MpnLLIR_OprDesc_222_v_;
|
||||
text: .text%__1cILIR_ListDsub6MpnLLIR_OprDesc_22pnMCodeEmitInfo__v_: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cILIR_ListDsub6MpnLLIR_OprDesc_22pnMCodeEmitInfo__v_: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cIValueGenWcan_inline_as_constant6MpnEItem__i_;
|
||||
text: .text%__1cIRegAllocPget_register_rc6kMnFRInfo__i_;
|
||||
text: .text%__1cLGetRefCountGdo_cpu6Mi_v_: c1_RegAlloc.o;
|
||||
@ -3098,7 +3098,7 @@ text: .text%__1cMLIR_OpBranch2t6Mn0ANLIR_Condition_pnICodeStub_pnMCodeEmitInfo__
|
||||
text: .text%__1cLLIR_EmitterMindexed_load6MnFRInfo_nJBasicType_pnLLIR_OprDesc_4pnMCodeEmitInfo__v_;
|
||||
text: .text%__1cLLIR_EmitterNarray_address6MpnLLIR_OprDesc_2inJBasicType__pnLLIR_Address__;
|
||||
text: .text%__1cLLIR_AddressFscale6FnJBasicType__n0AFScale__;
|
||||
text: .text%__1cILIR_ListEmove6MpnLLIR_Address_pnLLIR_OprDesc_pnMCodeEmitInfo__v_: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cILIR_ListEmove6MpnLLIR_Address_pnLLIR_OprDesc_pnMCodeEmitInfo__v_: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cIRegAllocNoops_in_spill6kM_pnIintStack__;
|
||||
text: .text%__1cIRegAllocRoops_in_registers6kM_pnPRInfoCollection__;
|
||||
text: .text%__1cIValueGenbDsafepoint_poll_needs_register6F_i_;
|
||||
@ -3137,9 +3137,9 @@ text: .text%__1cHLIR_Op1Fvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cPRegisterManagerElock6MnFRInfo__v_;
|
||||
text: .text%__1cHLIR_Op2Fvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cMLIR_OpBranchFvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cORangeCheckStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cQLIR_OpVisitStateGappend6MnFRInfo__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cORangeCheckStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cQLIR_OpVisitStateGappend6MnFRInfo__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNc1_AllocTableFmerge6Mp0_v_;
|
||||
text: .text%__1cGLIR_OpFvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cQLIR_LocalCachingXcache_locals_for_blocks6MpnJBlockList_pnPRegisterManager_i_pnMLocalMapping__;
|
||||
@ -3201,7 +3201,7 @@ text: .text%__1cJLabelListIindex_of6kMkpnFLabel__i_: c1_LIROptimizer.o;
|
||||
text: .text%__1cRLIR_PeepholeStateYset_disable_optimization6Mi_v_;
|
||||
text: .text%__1cLLIR_OpLabelJemit_code6MpnVLIR_AbstractAssembler__v_;
|
||||
text: .text%__1cNLIR_OptimizerMemit_opLabel6MpnLLIR_OpLabel__v_;
|
||||
text: .text%__1cNLIR_OptimizerFvisit6M_v_: c1_LIROptimizer_i486.o;
|
||||
text: .text%__1cNLIR_OptimizerFvisit6M_v_: c1_LIROptimizer_x86.o;
|
||||
text: .text%__1cHLIR_Op0Jemit_code6MpnVLIR_AbstractAssembler__v_;
|
||||
text: .text%__1cNLIR_OptimizerIemit_op06MpnHLIR_Op0__v_;
|
||||
text: .text%__1cHLIR_Op2Jemit_code6MpnVLIR_AbstractAssembler__v_;
|
||||
@ -3225,7 +3225,7 @@ text: .text%__1cNLIR_OptimizerRreplace_stack_opr6MpnLLIR_OprDesc__2_;
|
||||
text: .text%__1cNLIR_OptimizerNoptimize_move6MpnHLIR_Op1_rpnLLIR_OprDesc_5_i_;
|
||||
text: .text%__1cRLIR_PeepholeStatebFequivalent_register_or_constant6MpnLLIR_OprDesc__2_;
|
||||
text: .text%__1cRLIR_PeepholeStateOequivalent_opr6MpnLLIR_OprDesc__2_;
|
||||
text: .text%__1cNLIR_OptimizerKmaybe_opto6MpnLLIR_OprDesc_2_2_: c1_LIROptimizer_i486.o;
|
||||
text: .text%__1cNLIR_OptimizerKmaybe_opto6MpnLLIR_OprDesc_2_2_: c1_LIROptimizer_x86.o;
|
||||
text: .text%__1cNLIR_OptimizerMis_cache_reg6MpnLLIR_OprDesc__i_;
|
||||
text: .text%__1cMLocalMappingMis_cache_reg6kMpnLLIR_OprDesc__i_;
|
||||
text: .text%__1cMLocalMappingMis_cache_reg6kMnFRInfo__i_;
|
||||
@ -3294,13 +3294,13 @@ text: .text%__1cNLIR_AssemblerVsetup_locals_at_entry6M_v_;
|
||||
text: .text%__1cIFrameMapYsignature_type_array_for6FpknIciMethod__pnNBasicTypeList__;
|
||||
text: .text%__1cIFrameMapScalling_convention6FpknIciMethod_pnIintArray__pnRCallingConvention__;
|
||||
text: .text%__1cIFrameMapScalling_convention6FirknOBasicTypeArray_pnIintArray__pnRCallingConvention__;
|
||||
text: .text%__1cIintArray2t6Mki1_v_: c1_FrameMap_i486.o;
|
||||
text: .text%__1cIintArray2t6Mki1_v_: c1_FrameMap_x86.o;
|
||||
text: .text%__1cIFrameMapRname_for_argument6Fi_i_;
|
||||
text: .text%__1cIFrameMapSfp_offset_for_name6kMiii_i_;
|
||||
text: .text%__1cIFrameMapPnum_local_names6kM_i_;
|
||||
text: .text%__1cIFrameMapNlocal_to_slot6kMii_i_;
|
||||
text: .text%__1cIFrameMapSfp_offset_for_slot6kMi_i_;
|
||||
text: .text%__1cQArgumentLocation2t6Mci_v_: c1_FrameMap_i486.o;
|
||||
text: .text%__1cQArgumentLocation2t6Mci_v_: c1_FrameMap_x86.o;
|
||||
text: .text%__1cQArgumentLocationSset_stack_location6Mi_v_;
|
||||
text: .text%__1cIFrameMapQaddress_for_name6kMiii_nHAddress__;
|
||||
text: .text%__1cIFrameMapQmake_new_address6kMi_nHAddress__;
|
||||
@ -3321,12 +3321,12 @@ text: .text%__1cNLIR_AssemblerbIadd_debug_info_for_null_check_here6MpnMCodeEmitI
|
||||
text: .text%__1cNLIR_AssemblerLcode_offset6kM_i_;
|
||||
text: .text%__1cNLIR_AssemblerbDadd_debug_info_for_null_check6MipnMCodeEmitInfo__v_;
|
||||
text: .text%__1cNLIR_AssemblerOemit_code_stub6MpnICodeStub__v_;
|
||||
text: .text%__1cVImplicitNullCheckStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cVImplicitNullCheckStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerCpc6kM_pC_;
|
||||
text: .text%__1cICodeStubLset_code_pc6MpC_v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cICodeStubMis_call_stub6kM_i_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cICodeStubLset_code_pc6MpC_v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cICodeStubMis_call_stub6kM_i_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNCodeStubArrayIindex_of6kMkpnICodeStub__i_: c1_LIRAssembler.o;
|
||||
text: .text%__1cORangeCheckStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cORangeCheckStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerOsafepoint_poll6MnFRInfo_pnMCodeEmitInfo__v_;
|
||||
text: .text%__1cNLIR_AssemblerZadd_debug_info_for_branch6MpnMCodeEmitInfo__v_;
|
||||
text: .text%__1cPpoll_RelocationEtype6M_nJrelocInfoJrelocType__: codeBlob.o;
|
||||
@ -3396,7 +3396,7 @@ text: .text%__1cNLIR_AssemblerWemit_exception_handler6M_i_;
|
||||
text: .text%__1cRC1_MacroAssemblerRexception_handler6Mii_v_;
|
||||
text: .text%__1cNLIR_AssemblerPemit_call_stubs6M_v_;
|
||||
text: .text%__1cNLIR_AssemblerbCmaybe_adjust_stack_alignment6MpnIciMethod__v_;
|
||||
text: .text%__1cKreal_index6FpnIFrameMap_i_i_: c1_LIRAssembler_i486.o;
|
||||
text: .text%__1cKreal_index6FpnIFrameMap_i_i_: c1_LIRAssembler_x86.o;
|
||||
text: .text%__1cLCompilationbEgenerate_exception_range_table6M_v_;
|
||||
text: .text%__1cOExceptionScopeGequals6kMp0_i_;
|
||||
text: .text%__1cLCompilationbBadd_exception_range_entries6MiipnOExceptionScope_ip2pi_v_;
|
||||
@ -3582,10 +3582,10 @@ text: .text%__1cLNewInstanceOas_NewInstance6M_p0_: c1_Instruction.o;
|
||||
text: .text%__1cIValueGenQexceptionPcRInfo6F_nFRInfo__;
|
||||
text: .text%__1cILIR_ListPthrow_exception6MnFRInfo_1pnMCodeEmitInfo__v_: c1_CodeGenerator.o;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_CodeGenerator.o;
|
||||
text: .text%__1cPNewInstanceStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cPNewInstanceStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cOLIR_OpJavaCallFvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cQLIR_OpVisitStateGappend6MnFRInfo__v_: c1_LIR.o;
|
||||
text: .text%__1cOStaticCallStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cOStaticCallStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cIFrameMapWcaller_save_cpu_reg_at6Fi_pnLLIR_OprDesc__;
|
||||
text: .text%__1cLInstructionLas_NewArray6M_pnINewArray__: c1_Instruction.o;
|
||||
text: .text%__1cIVoidTypeDtag6kM_nIValueTag__: c1_ValueType.o;
|
||||
@ -3604,12 +3604,12 @@ text: .text%__1cOoop_RelocationJpack_data6M_i_;
|
||||
text: .text%__1cNLIR_AssemblerPpatching_epilog6MpnMPatchingStub_nHLIR_Op1NLIR_PatchCode_pnMRegisterImpl_pnMCodeEmitInfo__v_;
|
||||
text: .text%__1cMPatchingStubHinstall6MpnOMacroAssembler_nHLIR_Op1NLIR_PatchCode_pnMRegisterImpl_pnMCodeEmitInfo__v_: c1_LIRAssembler.o;
|
||||
text: .text%__1cNLIR_AssemblerUappend_patching_stub6MpnMPatchingStub__v_;
|
||||
text: .text%__1cPNewInstanceStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cPNewInstanceStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerJemit_call6MpnOLIR_OpJavaCall__v_;
|
||||
text: .text%__1cNLIR_AssemblerKalign_call6MnILIR_Code__v_;
|
||||
text: .text%__1cICodeStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cOStaticCallStubLset_code_pc6MpC_v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cOStaticCallStubMis_call_stub6kM_i_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cICodeStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cOStaticCallStubLset_code_pc6MpC_v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cOStaticCallStubMis_call_stub6kM_i_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerEcall6MpCnJrelocInfoJrelocType_pnMCodeEmitInfo__v_;
|
||||
text: .text%__1cbBopt_virtual_call_RelocationEtype6M_nJrelocInfoJrelocType__: relocInfo.o;
|
||||
text: .text%__1cKRelocationJpack_data6M_i_: relocInfo.o;
|
||||
@ -4010,15 +4010,15 @@ text: .text%__1cJTypeCheckPinput_values_do6MpFppnLInstruction__v_v_: c1_GraphBui
|
||||
text: .text%__1cQNullCheckVisitorNdo_InstanceOf6MpnKInstanceOf__v_;
|
||||
text: .text%__1cQNullCheckVisitorMdo_CheckCast6MpnJCheckCast__v_;
|
||||
text: .text%__1cIValueGenNdo_InstanceOf6MpnKInstanceOf__v_;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_CodeGenerator_i486.o;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_CodeGenerator_x86.o;
|
||||
text: .text%__1cLLIR_EmitterNinstanceof_op6MpnLLIR_OprDesc_2pnHciKlass_nFRInfo_5ipnMCodeEmitInfo__v_;
|
||||
text: .text%__1cILIR_ListKinstanceof6MpnLLIR_OprDesc_2pnHciKlass_22ipnMCodeEmitInfo__v_;
|
||||
text: .text%__1cPLIR_OpTypeCheck2t6MnILIR_Code_pnLLIR_OprDesc_3pnHciKlass_33ipnMCodeEmitInfo_7pnICodeStub__v_;
|
||||
text: .text%__1cIValueGenMdo_CheckCast6MpnJCheckCast__v_;
|
||||
text: .text%__1cILIR_ListJcheckcast6MpnLLIR_OprDesc_2pnHciKlass_22ipnMCodeEmitInfo_6pnICodeStub__v_;
|
||||
text: .text%__1cILIR_ListJsafepoint6MnFRInfo_pnMCodeEmitInfo__v_: c1_CodeGenerator_i486.o;
|
||||
text: .text%__1cILIR_ListJsafepoint6MnFRInfo_pnMCodeEmitInfo__v_: c1_CodeGenerator_x86.o;
|
||||
text: .text%__1cPLIR_OpTypeCheckFvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cTSimpleExceptionStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cTSimpleExceptionStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cPLIR_OpTypeCheckJemit_code6MpnVLIR_AbstractAssembler__v_;
|
||||
text: .text%__1cNLIR_OptimizerQemit_opTypeCheck6MpnPLIR_OpTypeCheck__v_;
|
||||
text: .text%__1cLLIR_OprDescIsize_for6FnJBasicType__n0AHOprSize__: c1_LIROptimizer.o;
|
||||
@ -4026,7 +4026,7 @@ text: .text%__1cIintArrayIindex_of6kMki_i_: c1_LIROptimizer.o;
|
||||
text: .text%__1cNLIR_AssemblerQemit_opTypeCheck6MpnPLIR_OpTypeCheck__v_;
|
||||
text: .text%__1cIciObjectIencoding6M_pnI_jobject__;
|
||||
text: .text%__1cJAssemblerEcmpl6MnHAddress_pnI_jobject__v_;
|
||||
text: .text%__1cTSimpleExceptionStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cTSimpleExceptionStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cTSimpleExceptionStubJemit_code6MpnNLIR_Assembler__v_;
|
||||
text: .text%__1cJLoadFieldIis_equal6kMpnLInstruction__i_: c1_Instruction.o;
|
||||
text: .text%__1cJLoadFieldMas_LoadField6M_p0_: c1_Instruction.o;
|
||||
@ -4194,7 +4194,7 @@ text: .text%__1cLLIR_EmitterOnew_type_array6MnFRInfo_nJBasicType_pnLLIR_OprDesc_
|
||||
text: .text%__1cQNewTypeArrayStub2t6MnFRInfo_11pnMCodeEmitInfo__v_;
|
||||
text: .text%__1cQciTypeArrayKlassEmake6FnJBasicType__p0_;
|
||||
text: .text%__1cQciTypeArrayKlassJmake_impl6FnJBasicType__p0_;
|
||||
text: .text%__1cILIR_ListHoop2reg6MpnI_jobject_nFRInfo__v_: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cILIR_ListHoop2reg6MpnI_jobject_nFRInfo__v_: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cILIR_ListOallocate_array6MnFRInfo_11111nJBasicType_1pnICodeStub__v_;
|
||||
text: .text%__1cIValueGenMdo_Intrinsic6MpnJIntrinsic__v_;
|
||||
text: .text%__1cIValueGenMdo_ArrayCopy6MpnJIntrinsic__v_;
|
||||
@ -4209,12 +4209,12 @@ text: .text%__1cLInstructionNdeclared_type6kM_pnGciType__: c1_Instruction.o;
|
||||
text: .text%__1cRpositive_constant6FpnLInstruction__i_: c1_CodeGenerator.o;
|
||||
text: .text%__1cLArrayLengthOas_ArrayLength6M_p0_: c1_GraphBuilder.o;
|
||||
text: .text%__1cQis_constant_zero6FpnLInstruction__i_: c1_CodeGenerator.o;
|
||||
text: .text%__1cILIR_ListJarraycopy6MpnLLIR_OprDesc_22222pnMciArrayKlass_ipnMCodeEmitInfo__v_: c1_CodeGenerator_i486.o;
|
||||
text: .text%__1cILIR_ListJarraycopy6MpnLLIR_OprDesc_22222pnMciArrayKlass_ipnMCodeEmitInfo__v_: c1_CodeGenerator_x86.o;
|
||||
text: .text%__1cLLIR_EmitterNwrite_barrier6MpnLLIR_OprDesc_2_v_;
|
||||
text: .text%__1cILIR_ListUunsigned_shift_right6MnFRInfo_i1_v_: c1_LIREmitter_i486.o;
|
||||
text: .text%__1cILIR_ListUunsigned_shift_right6MnFRInfo_i1_v_: c1_LIREmitter_x86.o;
|
||||
text: .text%__1cILIR_ListUunsigned_shift_right6MpnLLIR_OprDesc_222_v_;
|
||||
text: .text%__1cQLIR_OpAllocArrayFvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cQNewTypeArrayStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cQNewTypeArrayStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cPLIR_OpArrayCopyFvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cQLIR_OpAllocArrayJemit_code6MpnVLIR_AbstractAssembler__v_;
|
||||
text: .text%__1cNLIR_OptimizerQemit_alloc_array6MpnQLIR_OpAllocArray__v_;
|
||||
@ -4229,12 +4229,12 @@ text: .text%__1cNLIR_AssemblerQemit_alloc_array6MpnQLIR_OpAllocArray__v_;
|
||||
text: .text%__1cNLIR_AssemblerSarray_element_size6kMnJBasicType__nHAddressLScaleFactor__;
|
||||
text: .text%__1cRC1_MacroAssemblerOallocate_array6MpnMRegisterImpl_222inHAddressLScaleFactor_2rnFLabel__v_;
|
||||
text: .text%__1cRC1_MacroAssemblerMtry_allocate6MpnMRegisterImpl_2i22rnFLabel__v_;
|
||||
text: .text%__1cQNewTypeArrayStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cQNewTypeArrayStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerOemit_arraycopy6MpnPLIR_OpArrayCopy__v_;
|
||||
text: .text%__1cMciArrayKlassMelement_type6M_pnGciType__;
|
||||
text: .text%__1cNArrayCopyStub2t6MpnMCodeEmitInfo_pnOStaticCallStub__v_;
|
||||
text: .text%__1cFRInfoMset_word_reg6MkpnMRegisterImpl__v_;
|
||||
text: .text%__1cNArrayCopyStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cNArrayCopyStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerOpush_parameter6MpnMRegisterImpl_i_v_;
|
||||
text: .text%__1cQNewTypeArrayStubJemit_code6MpnNLIR_Assembler__v_;
|
||||
text: .text%__1cNArrayCopyStubJemit_code6MpnNLIR_Assembler__v_;
|
||||
@ -4295,14 +4295,14 @@ text: .text%__1cLLIR_EmitterIshift_op6MnJBytecodesECode_nFRInfo_pnLLIR_OprDesc_5
|
||||
text: .text%__1cILIR_ListKshift_left6MnFRInfo_i1_v_: c1_LIREmitter.o;
|
||||
text: .text%__1cILIR_ListKlogical_or6MnFRInfo_pnLLIR_OprDesc_1_v_: c1_LIREmitter.o;
|
||||
text: .text%__1cOLIR_OpAllocObjFvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cSNewObjectArrayStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cSNewObjectArrayStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cOLIR_OpAllocObjJemit_code6MpnVLIR_AbstractAssembler__v_;
|
||||
text: .text%__1cNLIR_OptimizerOemit_alloc_obj6MpnOLIR_OpAllocObj__v_;
|
||||
text: .text%__1cNLIR_AssemblerOemit_alloc_obj6MpnOLIR_OpAllocObj__v_;
|
||||
text: .text%__1cRC1_MacroAssemblerPallocate_object6MpnMRegisterImpl_22ii2rnFLabel__v_;
|
||||
text: .text%__1cNLIR_AssemblerOmembar_release6M_v_;
|
||||
text: .text%__1cNLIR_AssemblerGmembar6M_v_;
|
||||
text: .text%__1cSNewObjectArrayStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cSNewObjectArrayStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerOmembar_acquire6M_v_;
|
||||
text: .text%__1cEBaseHas_Base6M_p0_: c1_IR.o;
|
||||
text: .text%__1cNLIR_AssemblerOemit_osr_entry6MpnHIRScope_ipnFLabel_i_v_;
|
||||
@ -4708,11 +4708,11 @@ text: .text%__1cILIR_ListLshift_right6MpnLLIR_OprDesc_222_v_;
|
||||
text: .text%__1cIValueGenLdo_NegateOp6MpnINegateOp__v_;
|
||||
text: .text%__1cLLIR_EmitterGnegate6MnFRInfo_pnLLIR_OprDesc__v_;
|
||||
text: .text%__1cILIR_ListGnegate6MnFRInfo_1_v_: c1_LIREmitter.o;
|
||||
text: .text%__1cXArrayStoreExceptionStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cXArrayStoreExceptionStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cXArrayStoreExceptionStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cXArrayStoreExceptionStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerEleal6MpnLLIR_OprDesc_2_v_;
|
||||
text: .text%__1cNLIR_AssemblerGnegate6MpnLLIR_OprDesc_2_v_;
|
||||
text: .text%__1cNCodeStubArrayIindex_of6kMkpnICodeStub__i_: c1_LIRAssembler_i486.o;
|
||||
text: .text%__1cNCodeStubArrayIindex_of6kMkpnICodeStub__i_: c1_LIRAssembler_x86.o;
|
||||
text: .text%__1cXArrayStoreExceptionStubJemit_code6MpnNLIR_Assembler__v_;
|
||||
text: .text%__1cIRuntime1Tresolve_static_call6FpnKJavaThread_pnHoopDesc__pC_;
|
||||
text: .text%__1cSCompiledStaticCallNcompute_entry6FnMmethodHandle_rnOStaticCallInfo__v_;
|
||||
@ -4788,7 +4788,7 @@ text: .text%__1cNLIR_AssemblerIfpu_push6MnFRInfo__v_;
|
||||
text: .text%__1cIFrameMapLFpuStackSimEpush6Mi_v_;
|
||||
text: .text%__1cNLIR_AssemblerKfpu_on_tos6MnFRInfo__v_;
|
||||
text: .text%__1cIFrameMapLFpuStackSimPoffset_from_tos6kMi_i_;
|
||||
text: .text%__1cIintArrayIindex_of6kMki_i_: c1_FrameMap_i486.o;
|
||||
text: .text%__1cIintArrayIindex_of6kMki_i_: c1_FrameMap_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerHfpu_pop6MnFRInfo__v_;
|
||||
text: .text%__1cIFrameMapLFpuStackSimDpop6Mi_i_;
|
||||
text: .text%__1cNLIR_AssemblerKround32_op6MpnLLIR_OprDesc_2_v_;
|
||||
@ -4797,7 +4797,7 @@ text: .text%__1cNLIR_AssemblerJreset_FPU6M_v_;
|
||||
text: .text%__1cNLIR_AssemblerIemit_op36MpnHLIR_Op3__v_;
|
||||
text: .text%__1cNLIR_AssemblerParithmetic_idiv6MnILIR_Code_pnLLIR_OprDesc_333pnMCodeEmitInfo__v_;
|
||||
text: .text%__1cNLIR_AssemblerXadd_debug_info_for_div06MipnMCodeEmitInfo__v_;
|
||||
text: .text%__1cNDivByZeroStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cNDivByZeroStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cNDivByZeroStubJemit_code6MpnNLIR_Assembler__v_;
|
||||
text: .text%__1cIciObjectSis_obj_array_klass6M_i_: ciTypeArrayKlass.o;
|
||||
text: .text%__1cLInstructionOas_ArrayLength6M_pnLArrayLength__: c1_GraphBuilder.o;
|
||||
@ -4874,12 +4874,12 @@ text: .text%__1cFKlassQup_cast_abstract6M_p0_;
|
||||
text: .text%__1cRComputeEntryStackHdo_byte6M_v_: generateOopMap.o;
|
||||
text: .text%__1cNSharedRuntimeDd2i6Fd_i_;
|
||||
text: .text%__1cSInterpreterRuntimeWslow_signature_handler6FpnKJavaThread_pnNmethodOopDesc_pi5_pC_;
|
||||
text: .text%__1cXNativeSignatureIteratorJdo_object6Mii_v_: interpreterRT_i486.o;
|
||||
text: .text%__1cUSlowSignatureHandlerLpass_object6M_v_: interpreterRT_i486.o;
|
||||
text: .text%__1cXNativeSignatureIteratorIdo_array6Mii_v_: interpreterRT_i486.o;
|
||||
text: .text%__1cXNativeSignatureIteratorGdo_int6M_v_: interpreterRT_i486.o;
|
||||
text: .text%__1cUSlowSignatureHandlerIpass_int6M_v_: interpreterRT_i486.o;
|
||||
text: .text%__1cXNativeSignatureIteratorHdo_bool6M_v_: interpreterRT_i486.o;
|
||||
text: .text%__1cXNativeSignatureIteratorJdo_object6Mii_v_: interpreterRT_x86.o;
|
||||
text: .text%__1cUSlowSignatureHandlerLpass_object6M_v_: interpreterRT_x86.o;
|
||||
text: .text%__1cXNativeSignatureIteratorIdo_array6Mii_v_: interpreterRT_x86.o;
|
||||
text: .text%__1cXNativeSignatureIteratorGdo_int6M_v_: interpreterRT_x86.o;
|
||||
text: .text%__1cUSlowSignatureHandlerIpass_int6M_v_: interpreterRT_x86.o;
|
||||
text: .text%__1cXNativeSignatureIteratorHdo_bool6M_v_: interpreterRT_x86.o;
|
||||
text: .text%jni_GetFloatArrayRegion: jni.o;
|
||||
text: .text%jni_GetCharArrayRegion: jni.o;
|
||||
text: .text%jni_SetFloatField: jni.o;
|
||||
@ -4906,8 +4906,8 @@ text: .text%__1cLLIR_EmitterQreturn_op_prolog6Mi_v_;
|
||||
text: .text%__1cLLIR_EmitterMmonitor_exit6MnFRInfo_11i_v_;
|
||||
text: .text%__1cILIR_ListNunlock_object6MnFRInfo_11pnICodeStub__v_;
|
||||
text: .text%__1cKLIR_OpLockFvisit6MpnQLIR_OpVisitState__v_;
|
||||
text: .text%__1cQMonitorEnterStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cRMonitorAccessStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cQMonitorEnterStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cRMonitorAccessStubFvisit6MpnQLIR_OpVisitState__v_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cKLIR_OpLockJemit_code6MpnVLIR_AbstractAssembler__v_;
|
||||
text: .text%__1cNLIR_OptimizerJemit_lock6MpnKLIR_OpLock__v_;
|
||||
text: .text%__1cNLIR_AssemblerPmonitor_address6MinFRInfo__v_;
|
||||
@ -4915,7 +4915,7 @@ text: .text%__1cIFrameMapbEaddress_for_monitor_lock_index6kMi_nHAddress__;
|
||||
text: .text%__1cIFrameMapbAfp_offset_for_monitor_lock6kMi_i_;
|
||||
text: .text%__1cNLIR_AssemblerJemit_lock6MpnKLIR_OpLock__v_;
|
||||
text: .text%__1cRC1_MacroAssemblerLlock_object6MpnMRegisterImpl_22rnFLabel__v_;
|
||||
text: .text%__1cQMonitorEnterStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cQMonitorEnterStubEinfo6kM_pnMCodeEmitInfo__: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cIFrameMapWmonitor_object_regname6kMi_nHOptoRegEName__;
|
||||
text: .text%__1cIFrameMapbCfp_offset_for_monitor_object6kMi_i_;
|
||||
text: .text%__1cMCodeEmitInfobHlocation_for_monitor_object_index6Mi_nILocation__;
|
||||
@ -4925,7 +4925,7 @@ text: .text%__1cIFrameMapbFlocation_for_monitor_lock_index6kMipnILocation__i_;
|
||||
text: .text%__1cMMonitorValue2t6MpnKScopeValue_nILocation__v_;
|
||||
text: .text%__1cMMonitorValueIwrite_on6MpnUDebugInfoWriteStream__v_;
|
||||
text: .text%__1cRC1_MacroAssemblerNunlock_object6MpnMRegisterImpl_22rnFLabel__v_;
|
||||
text: .text%__1cPMonitorExitStubMis_call_stub6kM_i_: c1_CodeStubs_i486.o;
|
||||
text: .text%__1cPMonitorExitStubMis_call_stub6kM_i_: c1_CodeStubs_x86.o;
|
||||
text: .text%__1cQMonitorEnterStubJemit_code6MpnNLIR_Assembler__v_;
|
||||
text: .text%__1cNLIR_AssemblerRload_receiver_reg6MpnMRegisterImpl__v_;
|
||||
text: .text%__1cNLIR_AssemblerLmonitorexit6MnFRInfo_1pnMRegisterImpl_i3_v_;
|
||||
@ -5168,7 +5168,7 @@ text: .text%__1cFRInfoOas_register_lo6kM_pnMRegisterImpl__;
|
||||
text: .text%__1cCosHrealloc6FpvI_1_;
|
||||
text: .text%Unsafe_GetNativeFloat;
|
||||
text: .text%__1cIValueGenQdo_currentThread6MpnJIntrinsic__v_;
|
||||
text: .text%__1cILIR_ListKget_thread6MnFRInfo__v_: c1_CodeGenerator_i486.o;
|
||||
text: .text%__1cILIR_ListKget_thread6MnFRInfo__v_: c1_CodeGenerator_x86.o;
|
||||
text: .text%__1cNLIR_AssemblerKget_thread6MpnLLIR_OprDesc__v_;
|
||||
text: .text%__1cIValueGenSload_item_patching6MpnHIRScope_ipnEItem_pnKValueStack_pnOExceptionScope__v_;
|
||||
text: .text%__1cEItemUget_jobject_constant6kM_pnIciObject__;
|
||||
@ -5246,7 +5246,7 @@ text: .text%__1cGThreadLnmethods_do6M_v_;
|
||||
text: .text%__1cFframeLnmethods_do6M_v_;
|
||||
text: .text%__1cFframeVnmethods_code_blob_do6M_v_;
|
||||
text: .text%__1cILIR_ListEidiv6MnFRInfo_i11pnMCodeEmitInfo__v_;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: c1_LIRAssembler_i486.o;
|
||||
text: .text%__1cLlog2_intptr6Fi_i_: c1_LIRAssembler_x86.o;
|
||||
text: .text%__1cONMethodSweeperPprocess_nmethod6FpnHnmethod__v_;
|
||||
text: .text%__1cHnmethodPis_locked_by_vm6kM_i_: nmethod.o;
|
||||
text: .text%__1cHnmethodLis_unloaded6kM_i_: nmethod.o;
|
||||
@ -5423,13 +5423,13 @@ text: .text%__1cIValueGenPdo_UnsafeGetRaw6MpnMUnsafeGetRaw__v_;
|
||||
text: .text%__1cLLIR_EmitterOget_raw_unsafe6MnFRInfo_pnLLIR_OprDesc_3inJBasicType__v_;
|
||||
text: .text%__1cILIR_ListMload_mem_reg6MpnLLIR_Address_nFRInfo_nJBasicType_pnMCodeEmitInfo_nHLIR_Op1NLIR_PatchCode__v_;
|
||||
text: .text%__1cIValueGenPdo_LookupSwitch6MpnMLookupSwitch__v_;
|
||||
text: .text%__1cUcreate_lookup_ranges6FpnMLookupSwitch__pnQLookupRangeArray__: c1_CodeGenerator_i486.o;
|
||||
text: .text%__1cUcreate_lookup_ranges6FpnMLookupSwitch__pnQLookupRangeArray__: c1_CodeGenerator_x86.o;
|
||||
text: .text%__1cLLIR_EmitterVlookupswitch_range_op6MpnLLIR_OprDesc_iipnKBlockBegin__v_;
|
||||
text: .text%__1cNSharedRuntimeEldiv6Fxx_x_;
|
||||
text: .text%Unsafe_GetObjectVolatile;
|
||||
text: .text%signalHandler;
|
||||
text: .text%JVM_handle_solaris_signal;
|
||||
text: .text%__1cKJavaThreadUin_stack_yellow_zone6MpC_i_: os_solaris_i486.o;
|
||||
text: .text%__1cKJavaThreadUin_stack_yellow_zone6MpC_i_: os_solaris_x86.o;
|
||||
text: .text%__1cICodeBlobRis_at_poll_return6MpC_i_;
|
||||
text: .text%__1cUSafepointSynchronizebDhandle_polling_page_exception6FpnKJavaThread__pC_;
|
||||
text: .text%__1cbCCompiledCodeSafepointHandlerbDhandle_polling_page_exception6M_pC_;
|
||||
|
@ -37,8 +37,9 @@ GENERATED = ../generated
|
||||
SA_CLASSPATH = $(BOOT_JAVA_HOME)/lib/tools.jar
|
||||
|
||||
# gnumake 3.78.1 does not accept the *s that
|
||||
# are in AGENT_ALLFILES, so use the shell to expand them
|
||||
AGENT_ALLFILES := $(shell /usr/bin/test -d $(AGENT_DIR) && /bin/ls $(AGENT_ALLFILES))
|
||||
# are in AGENT_FILES1 and AGENT_FILES2, so use the shell to expand them
|
||||
AGENT_FILES1 := $(shell /usr/bin/test -d $(AGENT_DIR) && /bin/ls $(AGENT_FILES1))
|
||||
AGENT_FILES2 := $(shell /usr/bin/test -d $(AGENT_DIR) && /bin/ls $(AGENT_FILES2))
|
||||
|
||||
SA_CLASSDIR = $(GENERATED)/saclasses
|
||||
|
||||
@ -52,7 +53,7 @@ all:
|
||||
$(MAKE) -f sa.make $(GENERATED)/sa-jdi.jar; \
|
||||
fi
|
||||
|
||||
$(GENERATED)/sa-jdi.jar: $(AGENT_ALLFILES)
|
||||
$(GENERATED)/sa-jdi.jar: $(AGENT_FILES1) $(AGENT_FILES2)
|
||||
$(QUIETLY) echo "Making $@";
|
||||
$(QUIETLY) if [ "$(BOOT_JAVA_HOME)" = "" ]; then \
|
||||
echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"; \
|
||||
@ -66,9 +67,17 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_ALLFILES)
|
||||
$(QUIETLY) if [ ! -d $(SA_CLASSDIR) ] ; then \
|
||||
mkdir -p $(SA_CLASSDIR); \
|
||||
fi
|
||||
$(QUIETLY) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -g -d $(SA_CLASSDIR) $(AGENT_ALLFILES)
|
||||
$(QUIETLY) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES1)
|
||||
$(QUIETLY) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES2)
|
||||
|
||||
$(QUIETLY) $(COMPILE.RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||
$(QUIETLY) echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
|
||||
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
||||
$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql
|
||||
$(QUIETLY) mkdir -p $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
|
||||
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/*
|
||||
$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/
|
||||
$(QUIETLY) cp -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR)/
|
||||
$(QUIETLY) $(RUN.JAR) cf $@ -C $(SA_CLASSDIR)/ .
|
||||
$(QUIETLY) $(RUN.JAR) uf $@ -C $(AGENT_SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
|
||||
$(QUIETLY) $(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
|
||||
|
@ -51,12 +51,9 @@ ifeq ($(JDK_MINOR_VERSION),6)
|
||||
VALIDATED_COMPILER_REV := 5.8
|
||||
VALIDATED_C_COMPILER_REV := 5.8
|
||||
else
|
||||
# FIXUP: Change to SS12 (5.9) once it has been validated.
|
||||
# Validated compiler for JDK7 is SS12 (5.9)
|
||||
#VALIDATED_COMPILER_REV := 5.9
|
||||
#VALIDATED_C_COMPILER_REV := 5.9
|
||||
VALIDATED_COMPILER_REV := 5.8
|
||||
VALIDATED_C_COMPILER_REV := 5.8
|
||||
VALIDATED_COMPILER_REV := 5.9
|
||||
VALIDATED_C_COMPILER_REV := 5.9
|
||||
endif
|
||||
|
||||
# Warning messages about not using the above validated version
|
||||
|
@ -107,7 +107,7 @@ ifeq ($(USING_CYGWIN), true)
|
||||
ABS_OUTPUTDIR := $(subst /,\\,$(shell /bin/cygpath -m -a "$(OUTPUTDIR)"))
|
||||
ABS_BOOTDIR := $(subst /,\\,$(shell /bin/cygpath -m -a "$(BOOTDIR)"))
|
||||
ABS_GAMMADIR := $(subst /,\\,$(shell /bin/cygpath -m -a "$(GAMMADIR)"))
|
||||
ABS_OS_MAKEFILE := $(shell /bin/cygpath -m -a "$(HS_BUILD_DIR)/$(OSNAME)")/build.make
|
||||
ABS_OS_MAKEFILE := $(shell /bin/cygpath -m -a "$(HS_MAKE_DIR)/$(OSNAME)")/build.make
|
||||
else
|
||||
ABS_OUTPUTDIR := $(subst /,\\,$(shell $(CD) $(OUTPUTDIR);$(PWD)))
|
||||
ABS_BOOTDIR := $(subst /,\\,$(shell $(CD) $(BOOTDIR);$(PWD)))
|
||||
|
@ -49,15 +49,22 @@ SA_PROPERTIES = $(SA_CLASSDIR)\sa.properties
|
||||
|
||||
default:: $(GENERATED)\sa-jdi.jar
|
||||
|
||||
$(GENERATED)\sa-jdi.jar: $(AGENT_ALLFILES:/=\)
|
||||
$(GENERATED)\sa-jdi.jar: $(AGENT_FILES1:/=\) $(AGENT_FILES2:/=\)
|
||||
@if not exist $(SA_CLASSDIR) mkdir $(SA_CLASSDIR)
|
||||
@echo ...Building sa-jdi.jar
|
||||
@echo ...$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -g -d $(SA_CLASSDIR) ....
|
||||
@$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -g -d $(SA_CLASSDIR) $(AGENT_ALLFILES:/=\)
|
||||
@$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES1:/=\)
|
||||
@$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES2:/=\)
|
||||
$(COMPILE_RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||
$(QUIETLY) echo $(SA_BUILD_VERSION_PROP) > $(SA_PROPERTIES)
|
||||
$(RUN_JAR) cf $@ -C saclasses .
|
||||
$(RUN_JAR) uf $@ -C $(AGENT_SRC_DIR:/=\) META-INF\services\com.sun.jdi.connect.Connector
|
||||
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
||||
$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql
|
||||
$(QUIETLY) mkdir -p $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources
|
||||
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/*
|
||||
$(QUIETLY) cp $(AGENT_SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(SA_CLASSDIR)/sun/jvm/hotspot/ui/resources/
|
||||
$(QUIETLY) cp -r $(AGENT_SRC_DIR)/images/* $(SA_CLASSDIR)/
|
||||
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal
|
||||
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
|
||||
$(RUN_JAVAH) -classpath $(SA_CLASSDIR) -jni sun.jvm.hotspot.debugger.ia64.IA64ThreadContext
|
||||
|
@ -956,7 +956,8 @@ void LIRGenerator::do_NewMultiArray(NewMultiArray* x) {
|
||||
size->load_item();
|
||||
store_stack_parameter (size->result(),
|
||||
in_ByteSize(STACK_BIAS +
|
||||
(i + frame::memory_parameter_word_sp_offset) * wordSize));
|
||||
frame::memory_parameter_word_sp_offset * wordSize +
|
||||
i * sizeof(jint)));
|
||||
}
|
||||
|
||||
// This instruction can be deoptimized in the slow path : use
|
||||
|
@ -204,3 +204,9 @@ void Relocation::pd_swap_out_breakpoint(address x, short* instrs, int instrlen)
|
||||
NativeInstruction* ni = nativeInstruction_at(x);
|
||||
ni->set_long_at(0, u.l);
|
||||
}
|
||||
|
||||
void poll_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) {
|
||||
}
|
||||
|
||||
void poll_return_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) {
|
||||
}
|
||||
|
@ -465,9 +465,7 @@ int SharedRuntime::java_calling_convention(const BasicType *sig_bt,
|
||||
|
||||
case T_LONG:
|
||||
assert(sig_bt[i+1] == T_VOID, "expecting VOID in other half");
|
||||
#ifdef COMPILER2
|
||||
#ifdef _LP64
|
||||
// Can't be tiered (yet)
|
||||
if (int_reg < int_reg_max) {
|
||||
Register r = is_outgoing ? as_oRegister(int_reg++) : as_iRegister(int_reg++);
|
||||
regs[i].set2(r->as_VMReg());
|
||||
@ -476,11 +474,12 @@ int SharedRuntime::java_calling_convention(const BasicType *sig_bt,
|
||||
stk_reg_pairs += 2;
|
||||
}
|
||||
#else
|
||||
#ifdef COMPILER2
|
||||
// For 32-bit build, can't pass longs in O-regs because they become
|
||||
// I-regs and get trashed. Use G-regs instead. G1 and G4 are almost
|
||||
// spare and available. This convention isn't used by the Sparc ABI or
|
||||
// anywhere else. If we're tiered then we don't use G-regs because c1
|
||||
// can't deal with them as a "pair".
|
||||
// can't deal with them as a "pair". (Tiered makes this code think g's are filled)
|
||||
// G0: zero
|
||||
// G1: 1st Long arg
|
||||
// G2: global allocated to TLS
|
||||
@ -500,7 +499,6 @@ int SharedRuntime::java_calling_convention(const BasicType *sig_bt,
|
||||
regs[i].set2(VMRegImpl::stack2reg(stk_reg_pairs));
|
||||
stk_reg_pairs += 2;
|
||||
}
|
||||
#endif // _LP64
|
||||
#else // COMPILER2
|
||||
if (int_reg_pairs + 1 < int_reg_max) {
|
||||
if (is_outgoing) {
|
||||
@ -514,6 +512,7 @@ int SharedRuntime::java_calling_convention(const BasicType *sig_bt,
|
||||
stk_reg_pairs += 2;
|
||||
}
|
||||
#endif // COMPILER2
|
||||
#endif // _LP64
|
||||
break;
|
||||
|
||||
case T_FLOAT:
|
||||
@ -699,17 +698,16 @@ Register AdapterGenerator::next_arg_slot(const int st_off){
|
||||
// Stores long into offset pointed to by base
|
||||
void AdapterGenerator::store_c2i_long(Register r, Register base,
|
||||
const int st_off, bool is_stack) {
|
||||
#ifdef COMPILER2
|
||||
#ifdef _LP64
|
||||
// In V9, longs are given 2 64-bit slots in the interpreter, but the
|
||||
// data is passed in only 1 slot.
|
||||
__ stx(r, base, next_arg_slot(st_off));
|
||||
#else
|
||||
#ifdef COMPILER2
|
||||
// Misaligned store of 64-bit data
|
||||
__ stw(r, base, arg_slot(st_off)); // lo bits
|
||||
__ srlx(r, 32, r);
|
||||
__ stw(r, base, next_arg_slot(st_off)); // hi bits
|
||||
#endif // _LP64
|
||||
#else
|
||||
if (is_stack) {
|
||||
// Misaligned store of 64-bit data
|
||||
@ -721,6 +719,7 @@ void AdapterGenerator::store_c2i_long(Register r, Register base,
|
||||
__ stw(r , base, next_arg_slot(st_off)); // hi bits
|
||||
}
|
||||
#endif // COMPILER2
|
||||
#endif // _LP64
|
||||
tag_c2i_arg(frame::TagCategory2, base, st_off, r);
|
||||
}
|
||||
|
||||
@ -1637,7 +1636,7 @@ static void long_move(MacroAssembler* masm, VMRegPair src, VMRegPair dst) {
|
||||
}
|
||||
} else if (dst.is_single_phys_reg()) {
|
||||
if (src.is_adjacent_aligned_on_stack(2)) {
|
||||
__ ld_long(FP, reg2offset(src.first()) + STACK_BIAS, dst.first()->as_Register());
|
||||
__ ldx(FP, reg2offset(src.first()) + STACK_BIAS, dst.first()->as_Register());
|
||||
} else {
|
||||
// dst is a single reg.
|
||||
// Remember lo is low address not msb for stack slots
|
||||
@ -1811,7 +1810,6 @@ nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
|
||||
VMRegPair *in_regs,
|
||||
BasicType ret_type) {
|
||||
|
||||
|
||||
// Native nmethod wrappers never take possesion of the oop arguments.
|
||||
// So the caller will gc the arguments. The only thing we need an
|
||||
// oopMap for is if the call is static
|
||||
|