| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
* tools/toolwrapper.c (main): Set bootclasspath, not classpath.
Add ASM_JAR to bootclasspath.
|
|
|
|
|
|
|
|
| |
Don't use mangled class name for .h file.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
Don't use mangled class name for .c file.
* tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
Handle classes from the default package.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
Rename file...
* resource/gnu/classpath/tools/appletviewer/messages.properties:
New file.
* resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
Remove file.
* tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
Remove file.
* tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
* tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
Retrieve user-visible strings through Messages.getString.
* tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
* tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
Likewise.
|
|
|
|
| |
method.
|
|
|
|
|
| |
* tools/gnu/classpath/tools/rmic/RMICException.java:
javadoc corrections, reformatted.
|
|
|
|
|
|
|
| |
call mkdirs in output-directory case.
(getPrintStream): Create output directory.
* tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
Don't call mkdirs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
Accept three additional arguments.
(writePreambleImpl): New method.
(getPrintStreamImpl): Likewise.
(printClass): Adapted to use new methods in Printer superclass.
* tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
(force): Likewise.
(getParser): Add support for -o option.
Check that only one of -d or -o is defined.
Add support for -jni option.
Add support for -force option.
(makeOutputFile): New method.
(writeHeaders): Removed File argument from signature.
(run): Take into account newly added fields.
Invoke concrete PrintStream implementations with augmented constructors.
* tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
(isDirectory): Likewise.
(force): Likewise.
(wrotePreamble): Likewise.
(Printer): Changed ctor to accept three additional arguments.
(printClass): Changed signature to accept one ClassWrapper argument.
(writePreambleImpl): New abstract method.
(getPrintStreamImpl): Likewise.
(getPrintStream): New method.
(writePreamble): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* resource/gnu/classpath/tools/orbd: New directory.
* resource/gnu/classpath/tools/rmic: Likewise.
* resource/gnu/classpath/tools/rmid: Likewise.
* resource/gnu/classpath/tools/rmiregistry: Likewise.
* resource/gnu/classpath/tools/tnameserv: Likewise.
* tools/gnu/classpath/tools/giop: Move contents to...
* tools/gnu/classpath/tools/orbd,
tools/gnu/classpath/tools/tnameserv: New directories.
* tools/gnu/classpath/tools/rmi/rmic: Move contents to...
* tools/gnu/classpath/tools/rmic: New directory.
* tools/gnu/classpath/tools/rmi/rmid: Move contents to...
* tools/gnu/classpath/tools/rmid: New directory.
* tools/gnu/classpath/tools/rmi/registry: Move contents to...
* tools/gnu/classpath/tools/rmiregistry: New directory.
* resource/gnu/classpath/tools/orbd/messages.properties: New file.
* resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
* resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
* resource/gnu/classpath/tools/rmiregistry/messages.properties:
Likewise.
* resource/gnu/classpath/tools/tnameserv/messages.properties:
Likewise.
* tools/gnu/classpath/tools/orbd/Main.java,
tools/gnu/classpath/tools/orbd/Messages.java,
tools/gnu/classpath/tools/orbd/PersistentContext.java,
tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
tools/gnu/classpath/tools/orbd/PersistentMap.java,
tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
tools/gnu/classpath/tools/rmic/CompilationError.java,
tools/gnu/classpath/tools/rmic/Generator.java,
tools/gnu/classpath/tools/rmic/GiopIo.java,
tools/gnu/classpath/tools/rmic/HashFinder.java,
tools/gnu/classpath/tools/rmic/Main.java,
tools/gnu/classpath/tools/rmic/Messages.java,
tools/gnu/classpath/tools/rmic/MethodGenerator.java,
tools/gnu/classpath/tools/rmic/RMICException.java,
tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
tools/gnu/classpath/tools/rmic/RmicBackend.java,
tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
tools/gnu/classpath/tools/rmic/Variables.java,
tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
tools/gnu/classpath/tools/rmic/templates,
tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
tools/gnu/classpath/tools/rmid/Main.java,
tools/gnu/classpath/tools/rmid/Messages.java,
tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
tools/gnu/classpath/tools/rmiregistry/Main.java,
tools/gnu/classpath/tools/rmiregistry/Messages.java,
tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
tools/gnu/classpath/tools/tnameserv/Main.java,
tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
* tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
RMIC.java from cp-tools.
* configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
(AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
and grmic.
* examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
* gnu/CORBA/NamingService/NamingServiceTransient.java (main):
Rename...
(start): New method.
* tools/Makefile.am: Add build support for new tool wrappers.
* tools/gorbd.in: New file.
* tools/grmic.in: Likewise.
* tools/grmid.in: Likewise.
* tools/grmiregistry.in: Likewise.
* tools/gtnameserv.in: Likewise.
* tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
* tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
file.
* tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
* tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
* tools/gnu/classpath/tools/common/Persistent.java: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(PathOptionGroup): Make -I a joined option.
* tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
* tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
* tools/gnu/classpath/tools/jar/Main.java: Updated.
* tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
* tools/gnu/classpath/tools/javah/Main.java: Updated.
* tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
* tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
* resource/gnu/classpath/tools/getopt/Messages.properties: Removed
unused entries.
* resource/gnu/classpath/tools/common/Messages.properties: New file.
* tools/gnu/classpath/tools/common/Messages.java: New file.
* tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
* tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
from getopt.
(ClasspathToolParser): Add -J option here.
(ClasspathToolParser): Call other constructor in this class.
* tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
Handle joined options.
(handleShortOptions): Likewise.
(handleShortOption): Removed.
(finalGroup): New field.
(Parser): Initialize new field. Don't add -J option.
(addFinal): New method.
* tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
isJoined.
* tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
(Option): Check short option for validity.
(Option): New constructors.
(joined): New field.
|
|
|
|
| |
"volatile" when needed.
|
|
|
|
|
| |
* tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
missing security manager when run in standalone mode.
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (tool-wrappers): Check for ltdl support when tool
wrapper binaries are enabled.
* tools/Makefile.am (LIBJVM): Remove variable.
(AM_CPPFLAGS): Add LIBJVM define.
(gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
gjavah_LDFLAGS): Remove variables.
* tools/toolwrapper.c (main): Use dlopen to load libjvm library.
|
|
|
|
|
|
|
| |
handle arrays.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
(writeFields): Print "L" after int constant. Don't mangle the field
name. Only print int/long fields.
|
|
|
|
| |
"javah".
|
|
|
|
| |
* tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
(getCallbackHandler): Fully qualify linked class in javadoc.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
* tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
* tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .classpath: Updated.
* tools/.cvsignore: Added gjavah.
* tools/Makefile.am ($(TOOLS_ZIP)): Only build javah if ASM is
available.
(GLIBJ_CLASSPATH): Add asm jar.
(javah): New macro.
(bin_PROGRAMS, bin_SCRIPTS): Added $(javah).
(gjavah_SOURCES, gjavah_CFLAGS, gjavah_LDFLAGS): new macros.
* tools/gjavah.in: New file.
* configure.ac: Added --with-asm option.
* tools/gnu/classpath/tools/javah/ClassWrapper.java: New file.
* tools/gnu/classpath/tools/javah/CniIncludePrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/CniPrintStream.java: Likewise.
* tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/FieldHelper.java: Likewise.
* tools/gnu/classpath/tools/javah/JniHelper.java: Likewise.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/Keywords.java: Likewise.
* tools/gnu/classpath/tools/javah/Main.java: Likewise.
* tools/gnu/classpath/tools/javah/MethodHelper.java: Likewise.
* tools/gnu/classpath/tools/javah/PackageWrapper.java: Likewise.
* tools/gnu/classpath/tools/javah/PathOptionGroup.java: Likewise.
* tools/gnu/classpath/tools/javah/Printer.java: Likewise.
* tools/gnu/classpath/tools/javah/Text.java: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR Classpath/27205
* tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
certificate validity.
(getIssuerName): New method.
(getSubjectName): Likewise.
(getNotAfterDate): Likewise.
(getNotBeforeDate): Likewise.
* resource/gnu/classpath/tools/jarsigner/messages.properties: Added
messages for newly added messages in SFHelper.
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
Condition the creation of .keystore (a default keystore) based on the
createIfNotFound argument as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR Classpath/28391
* tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
New method.
(setKeyStoreParams(4)): Call the above method with false as its 1st arg.
(setProviderClassNameParam): Made private.
(setKeystoreTypeParam): Likewise.
(setKeyPasswordParam): Likewise
(setKeystorePasswordParam): Likewise.
(setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
create or not the keystore if it's not there, and the second is the store's
password to process before loading the keystore. Amended the code
accordingly.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
setKeyStoreParams(5) with true as its first argument.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gappletviewer.in: Quote $@.
* tools/gkeytool.in: Likewise.
* tools/gjarsigner.in: Likewise.
* tools/gjar.in: New file.
* tools/gnative2ascii.in: Likewise.
* tools/gserialver.in: Likewise.
* tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
gserialver.
(bin_SCRIPTS): Likewise.
|
|
|
|
| |
Also handle short options.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Rename appletviewer to gappletviewer, jarsigner to
gjarsigner and keytool to gkeytool.
* doc/tools.texinfo: Add note about tool exectable names.
* tools/Makefile.am: Rename appletviewer to gappletviewer,
jarsigner to gjarsigner and keytool to gkeytool.
* tools/appletviewer.in: Rename ...
* tools/gappletviewer.in: New file.
* tools/jarsigner.in: Rename ...
* tools/gjarsigner.in: New file.
* tools/keytool.in: Rename ...
* tools/gkeytool.in: New file.
* tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
|
|
|
|
|
| |
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
(StandaloneAppletWindow): Changed title of standalone window.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Condition all
trace/debug code based on Configuration.DEBUG.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
* tools/gnu/classpath/tools/keytool/Main.java: Likewise.
* tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/Command.java: Likewise.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/CACertCmd.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/HashUtils.java: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/tools.texinfo: Added text for new -cacert command.
Re-structured sections.
* resource/gnu/classpath/tools/keytool/messages.properties: Added messages
for -cacert command.
* tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
(_CACERT): Likewise.
(shutdownThread): New field.
(Main): Install shutdown thread.
(main): Uninstall shutdown thread.
(start): Handle new -cacert command.
(getParser): Likewise.
(teardown): Increased visibility.
(ShutdownHook): New inner class.
* tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
(Command): Add the shutdown hook.
(doCommand): Remove the shutdown hook.
(ShutdownHook): New class.
|
|
|
|
|
| |
* tools/jarsigner.in: Use @VM_BINARY@.
* tools/keytool.in: Likewise.
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/appletviewer/AppletTag.java
(prependCodebase): Fixed check. No dirname was ever considered to
be a file, so every applet fell into the if-statement causing a lot
of classloading problems with the applets.
|
|
|
|
| |
* tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
(JKS): Likewise.
(LIB): Likewise.
(SECURITY): Likewise.
(CACERTS): Likewise.
(CACERTS_GKR): Likewise.
(gkrCaCertsPathName): New field.
(jksCaCertsPathName): Likewise.
(selfSignedCertificate): Likewise.
(start): Initialize trusted certificate key stores if -trustcacerts is
specified.
(ensureReplyIsOurs): Initialize selfSignedCertificate.
(orderChain): Implemented.
(findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
certificate key stores if -trustcacerts option is specified.
(findTrustInCACerts): Removed.
(getCertPathParameters): New method.
(validate): New method.
* resource/gnu/classpath/tools/keytool/messages.properties: Added message.
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (FOUND_CACAO): New automake conditional.
Add --enable-tool-wrappers.
* NEWS: Introduce the --enable-tool-wrappers option.
* tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
* tools/appletviewer.c: Remove file. Make tool-indepedent and
rename ...
* tools/toolwrapper.c: New file.
|
|
|
|
| |
* tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/appletviewer/AppletTag.java
(prependCodeBase): Added check to determine if the documentbase
points to a directory or a file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
file.
* tools/gnu/classpath/tools/serialver/Messages.java: New file.
* tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
field.
(classpath): Likewise.
(run): New method.
(main): Use it.
(addFileURL): New method.
(getClassLoader): Likewise.
(printMessage): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
a WorkSet.
(initSet): Removed.
(shouldExtract): Removed.
(run): Updated.
* tools/gnu/classpath/tools/jar/WorkSet.java: New file.
* tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
method.
(listJar): Use it.
(allItems): New field.
(run): Initialize it.
(listJar): Use it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/tools.texinfo: Replaced references to MessageBundle.properties
to messages.properties.
* resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
Renamed to messages.properties.
* resource/gnu/classpath/tools/keytool/MessageBundle.properties:
Likewise.
* resource/gnu/classpath/tools/jarsigner/messages.properties:
Renamed from MessageBundle.properties.
Added copyright notice.
* resource/gnu/classpath/tools/keytool/messages.properties:
Likewise.
* tools/gnu/classpath/tools/jarsigner/Messages.java
(BUNDLE_NAME): Use messages instead of MessageBundle properties file.
(getFormattedString): Fixed a spelling mistake.
* tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* resource/gnu/classpath/tools/native2ascii/messages.properties: New
file.
* tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
(HandleFile): New class.
(input, output, encoding, reversed): New fields.
(createParser): New method.
(run): Likewise.
(main): Use 'run'.
* tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
(notifyFile): Throws OptionException.
|
|
|
|
| |
from cp-tools.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
Increased visibility.
(setup): Do not trace/log passwords.
(parsed): Was not setting correct (rfc) field; fixed.
(print1Chain): Formatting.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
Do not trace/log passwords.
* tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
(orderChain): Added FIXME.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
Do not trace/log passwords.
Removed commented out code.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
(setKeystoreURLParam): Likewise.
(setKeystorePasswordParam): Do not trace/log passwords.
(saveKeyStore): Likewise.
|
|
|
|
| |
LinkedHashSet.
|
|
|
|
|
|
|
|
|
|
|
| |
MessageFormat.
* tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
MessageFormat.
* tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
(run): Use MessageFormat.
* resource/gnu/classpath/tools/jar/messages.properties: New file.
* tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
(writeFile): Use MessageFormat.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed old comment.
* tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
Externalized strings.
(getVersionString): Use MessageFormat.
* tools/gnu/classpath/tools/getopt/Messages.java: New file.
* resource/gnu/classpath/tools/getopt/Messages.properties: New file.
* tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
(getArgument): Use a MessageFormat.
(handleLongOption): Likewise.
(parse): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/jarsigner/Main.java:
Increased visibility of fields used by parser anonymous classes.
(KEYTOOL_TOOL): New constant.
(cmdLineParser): Changed type to ToolParser.
(fileAndAlias): new field.
(main): Don't catch OptionException.
(processArgs): Removed validation checks; now handled by ToolParser.
(getParser): Removed.
(ToolParserCallback): New inner class.
(ToolParser): Likewise.
|