gcc/libjava/classpath/tools
Andrew Haley 3ad1aba1f8 re PR java/40590 (namespace namespace broken in CNI)
2009-06-29  Andrew Haley  <aph@redhat.com>

	PR java/40590	
	* tools/gnu/classpath/tools/javah/FieldHelper.java (print):
	Use printName().
	* tools/gnu/classpath/tools/javah/MethodHelper.java (print):
	Use printName().
	* tools/gnu/classpath/tools/javah/CniStubPrinter.java (printDecl):
	Use printName().
	* tools/gnu/classpath/tools/javah/Keywords.java (words): Replace
	with keywords list from  gcc/java/mangle.c.
	* tools/gnu/classpath/tools/javah/ClassWrapper.java (printMethods):
	Don't pre-convert a C++ keyword.
	(print(CniPrintStream)): Call CniPrintStream.printName().
	(printContents): Likewise.
	* tools/gnu/classpath/tools/javah/CniPrintStream.java
	(getClassName): Don't call replaceAll("/", "::").
	(print(Type)): Add ""::" befor name, " *" after.  Use printName(), not
	print.
	(printName(PrintStream, String), printName(String), printlnName):
	New methods.
	(moveToPackage): Use printName().

2009-06-29  Andrew Haley  <aph@redhat.com>

	PR java/40590
	* java-tree.h (cxx_keyword_p): New declaration.
	* mangle_name.c (utf8_cmp): Move here from mangle.c.
	(cxx_keywords): Likewise.
	(cxx_keyword_p): Likewise.
	(MANGLE_CXX_KEYWORDS): New macro.
	(append_gpp_mangled_name): Use MANGLE_CXX_KEYWORDS.
	(append_gpp_mangled_name): Likewise.
	* mangle.c: Move code to mangle_name.c.
	(mangle_member_name): Don't call cxx_keyword_p.

From-SVN: r149059
2009-06-29 17:50:59 +00:00
..
asm/org/objectweb/asm * Rebuild .class files with new ecj. 2007-07-27 21:14:19 +00:00
classes re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
com/sun re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
external/asm/org/objectweb/asm Import GNU Classpath (classpath-0_97_2-release). 2008-06-28 13:29:13 +00:00
generated/gnu/classpath/tools/gjdoc/expr re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gnu/classpath/tools re PR java/40590 (namespace namespace broken in CNI) 2009-06-29 17:50:59 +00:00
resource re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
sun/rmi/rmic
.cvsignore
Makefile.am re PR libgcj/33764 (gij is built as 32-bit binary when building multilib gcc) 2008-11-12 21:55:13 +01:00
Makefile.in re PR libgcj/33764 (gij is built as 32-bit binary when building multilib gcc) 2008-11-12 21:55:13 +01:00
README
appletviewer.in
gappletviewer.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gjar.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gjarsigner.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gjavah.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gjdoc.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gkeytool.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gnative2ascii.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gorbd.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
grmic.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
grmid.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
grmiregistry.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gserialver.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
gtnameserv.in re PR libgcj/37636 (java tools are unable to find resource files) 2008-10-21 17:55:01 +00:00
jarsigner.in
keytool.in
toolwrapper.c

README

The GNU Classpath tools are stored in the tools.zip. They can be invoked by
putting this archive into classpath and specifying the tool main class as the
class to run (parameters usually follow). The current release contains the
following tools:

== GIOP tools ==

GIOP tools are used for creating the applications that use GIOP communication
protocol. It provides necessary support for org.omg.* and javax.rmi.* 
packages.

All GIOP tools support the --help option, for instance:
  java -cp tools.zip gnu.classpath.tools.giop.IorParser --help

The list of the currently available GIOP tools (name matches the main
class in gnu.classpath.tools.giop package):

* GRMIC -                RMI-IIOP stub and tie generator.
* NameService  -         GIOP transient naming service (this tool is called 
                         tnameserv in Sun's package).
* NameServicePersistent
               -         GIOP persistent naming service (this tool is called 
                         orbd in Sun's package).
* IorParser -            Parses the stringified form of the interoperable 
                         object references (IOR's).
                         
== RMI tools ==

RMI tools provide support for java.rmi package. All tools support 
the --help key by printing more information, for instance:
  java -cp tools.zip gnu.classpath.tools.rmi.RMIC --help

The list of the currently available RMI tools (name matches the main tool class
in gnu.classpath.tools.rmi package):
  
* RMIC -                 RMI stub and tie source code generator (complements
                         the ASM based bytecode generator in the separate
                         cp-tools project). This tool is only needed for 
                         research and backward-compatibile applications, as
                         Classpath supports the 1.5 feature to replace such 
                         stubs by proxy classes.
* REGISTRY -             The persistent RMI naming service.                                                   
* RMID -                 The persistent RMI activation daemon, supports the
                         java.rmi.activation package.
  
== Security tools ==

Security tools (currently) are used for signing and verifying JAR files
as well as (planned) generating and managing cryptographic tokens and
credentials.

The list of individual tools, the name of their main class that should be
invoked by the Java launcher, and a summary of what they provide follows:

* jarsigner              gnu.classpath.tools.jarsigner.Main
                         A drop-in replacement for the "jarsigner" tool.