summaryrefslogtreecommitdiff
path: root/gnu/java
Commit message (Collapse)AuthorAgeFilesLines
* Mention PR66376.Andrew John Hughes2015-06-194-96/+179
| | | | | | 2015-06-19 Andrew John Hughes <gnu_andrew@member.fsf.org> * NEWS: Mention PR66376.
* Cleanup the majority of the warnings in the gnu.java.security, ↵Andrew John Hughes2015-03-1196-357/+733
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java.security, javax.security and gnu.javax.security classes. 2015-03-11 Andrew John Hughes <gnu_andrew@member.fsf.org> * configure.ac: (ECJ_WARNINGS): Turn off parameter assignment, autoboxing and overridding without a super method call warnings for now. * gnu/java/security/OID.java: (OID(int[],boolean)): Remove unnecessary cast on clone() call. (getIDs()): Likewise. (getDER()): Likewise. (clone()): Add @Override. (toString()): Add @Override. Remove unncessary else clause. (hashCode()): Add @Override. (equals(Object)): Likewise. (compareTo(OID)): Likewise. * gnu/java/security/PolicyFile.java: (getPermissions(CodeSource)): Add @Override. (refresh()): Likewise and on anonymous inner class run() method. (toString()): Add @Override. (parse(URL)): Throw exception if p is null, and suppress associated warning, as exception is thrown via error method. Add default empty case to switch method. Call error method with the exception, not the result of its toString() method. Remove unneeded else block. (expand(String)): Avoid shadowing the prop variable. (error(URL,StreamTokenizer,Throwable)): Add new variant that allows the cause to be included. * gnu/java/security/Properties.java: (init()): Avoid unnecessary casts. (handleBooleanProperty(String)): Make static. * gnu/java/security/action/GetPropertyAction.java: (run()): Add @Override. * gnu/java/security/action/GetSecurityPropertyAction.java: (run()): Add @Override. * gnu/java/security/ber/BERReader.java: (read()): Add @Override. Remove unnecessary else clause. * gnu/java/security/ber/BERValue.java: (getLength()): Add @Override. * gnu/java/security/der/BitString.java: (toByteArray()): Remove unnecessary cast on clone() call. (getShiftedByteArray()): Likewise. (toBooleanArray()): Likewise. (clone(): Add @Override. (hashCode()): Likewise. (equals(Object)): Likewise. (toString()): Likewise. * gnu/java/security/der/DERReader.java: (makeTime(int,byte[])): Make static. Mark fall-through cases in switch statement. Add default case which throws an exception. * gnu/java/security/der/DERValue.java: (DERValue(int,int,Object,byte[])): Remove unnecessary cast on clone() call. (getValueAs(int)): Avoid shadowing of encoded variable. (getEncoded()): Remove unnecessary cast on clone() call. (toString()): Add @Override. * gnu/java/security/hash/BaseHash.java: (name()): Add @Override. (hashSize()): Likewise. (blockSize()): Likewise. (update(byte)): Likewise. (update(byte[])): Likewise. (update(byte[],int,int)): Likewise. (digest()): Likewise. (reset()): Likewise. (clone()): Likewise. (selfTest()): Likewise. * gnu/java/security/hash/Haval.java: (Haval(Haval)): Remove unnecessary cast on clone() call. (clone()): Add @Override. (transform(byte[],int)): Likewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest()): Likewise. (tailorDigestBits()): Add empty default case to switch statement. (FF5(int,int,int,int,int,int,int,int,int,int)): Make static. (f1(int,int,int,int,int,int,int)): Likewise. (f2(int,int,int,int,int,int,int)): Likewise. (f3(int,int,int,int,int,int,int)): Likewise. (f4(int,int,int,int,int,int,int)): Likewise. (f5(int,int,int,int,int,int,int)): Likewise. * gnu/java/security/hash/MD2.java: (MD2(MD2)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. (padBuffer()): Likewise. (transform(byte[],int)): LIkewise. * gnu/java/security/hash/MD4.java: (MD4(MD4)): Remove unncessary casts on clone() call. (clone()): Add @Override. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. Avoid shadowing d variable. (padBuffer()): Likewise. (transform(byte[],int)): LIkewise. * gnu/java/security/hash/MD5.java: (MD5(MD5)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (transform(byte[],int)): LIkewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. * gnu/java/security/hash/RipeMD128.java: (RipeMD128(RipeMD128)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (transform(byte[],int)): LIkewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. * gnu/java/security/hash/RipeMD160.java: (RipeMD160(RipeMD160)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (transform(byte[],int)): LIkewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. * gnu/java/security/hash/Sha160.java: (Sha160(Sha160)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (transform(byte[],int)): LIkewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. * gnu/java/security/hash/Sha256.java: (Sha256(Sha256)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (transform(byte[],int)): LIkewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. * gnu/java/security/hash/Sha384.java: (Sha384(Sha384)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (transform(byte[],int)): LIkewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. * gnu/java/security/hash/Sha512.java: (Sha512(Sha512)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (transform(byte[],int)): LIkewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. * gnu/java/security/hash/Tiger.java: (Tiger(Tiger)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (selfTest())): Likewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (transform(byte[],int)): LIkewise. * gnu/java/security/hash/Whirlpool.java, (Whirlpool(Whirlpool)): Remove unnecessary casts on clone() call. (clone()): Add @Override. (transform(byte[],int)): LIkewise. (padBuffer()): Likewise. (getResult()): Likewise. (resetContext()): Likewise. (selfTest())): Likewise. * gnu/java/security/jce/hash/MessageDigestAdapter.java: (clone()): Add @Override. (engineGetDigestLength()): Likewise. (engineUpdate(byte)): Likewise. (engineUpdate(byte[],int,int)): Likewise. (engineDigest()): Likewise. (engineDigest(byte[],int,int)): Likewise. (engineReset()): Likewise. * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: (initialize(int,SecureRandom)): Add @Override. (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise. * gnu/java/security/jce/sig/DSSParametersGenerator.java: (engineInit(int,SecureRandom)): Add @Override. (engineInit(AlgorithmParameterSpec,SecureRandom)): Likewise. (engineGenerateParameters()): Likewise. * gnu/java/security/jce/sig/EncodedKeyFactory.java: (decodeDSSPublicKey(DSAPublicKeySpec)): Make static. (decodeRSAPublicKey(RSAPublicKeySpec)): Likewise. (decodeDHPublicKey(DHPublicKeySpec)): Likewise. (decodeDHPublicKey(byte[]]): Likewise. (decodeDSSPrivateKey(DSAPrivateKeySpec)): Likewise. (decodeRSAPrivateKey(RSAPrivateCrtKeySpec)): Likewise. (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise. (decodeDHPrivateKey(byte[])): Likewise. * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: (initialize(int,SecureRandom)): Add Override. (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise. (generateKeyPair()): Likewise. (localiseName(String)): Uncomment conversion. * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: (initialize(int,SecureRandom)): Add Override. (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise. * gnu/java/security/jce/sig/SignatureAdapter.java: Drop unneeded import of BaseSignature. (clone()): Add @Override. (engineInitVerify(PublicKey)): Reference VERIFIER_KEY via interface ISignature where it is defined. (engineInitSign(PrivateKey)): Likewise for SIGNER_KEY. (engineInitSign(PrivateKey,SecureRandom)): Likewise for SIGNER_KEY and SOURCE_OF_RANDOMNESS. * gnu/java/security/key/KeyPairCodecFactory.java: (getInstance(String,int)): Add default case which returns null. (getInstance(Key)): Likewise and fix typo in documentation. * gnu/java/security/key/dss/DSSKey.java: (getParams()): Add @Override. (getAlgorithm()): Likewise. (getEncoded()): Likewise. (getFormat()): LIkewise. (equals(Object)): Likewise. (hashCode()): Add implementation using java.util.Objects.hash (toString()): Remove unneeded cast. * gnu/java/security/key/dss/DSSKeyPairGenerator.java: (setup(MAp)): Remove unnecessary else clause. (generate()): Remove left-over debug statement. * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: (getFormatID()): Add @Override. (encodePublicKey(PublicKey)): Likewise. (decodePublicKey(byte[])): Likewise. (encodePrivateKey(PrivateKey)): Likewise. (decodePrivateKey(byte[])): Likewise. * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: (getFormatID()): Add @Override. (encodePublicKey(PublicKey)): Likewise. (encodePrivateKey(PrivateKey)): Likewise. (decodePublicKey(byte[])): Likewise. (decodePrivateKey(byte[])): Likewise. * gnu/java/security/key/dss/DSSPrivateKey.java: Drop unneeded reference to PrivateKey. (getX()): Add @Override. (getEncoded(int)): Likewise. (equals(Object)): Likewise. (hashCode()): Implemented. (toString()): Add @Override and remove unneeded cast. * gnu/java/security/key/dss/DSSPublicKey.java: Drop unneeded reference to PublicKey. (getY()): Add @Override. (getEncoded(int)): Likewise. (equals(Object)): Likewise. (hashCode()): Implemented. (toString()): Add @Override and remove unneeded cast. * gnu/java/security/key/rsa/GnuRSAKey.java: (getModulus()): Add @Override. (getAlgorithm()): Likewise. (getEncoded()): Likewise. (getFormat()): Likewise. (equals(Object)): Likewise. (hashCode()): Implemented using java.util.Objects.hash (toString()): Add @Override and remove unneeded cast. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Drop unneeded reference to PrivateKey. (getPrimeP()): Add @Override. (getPrimeQ()): Likewise. (getPrimeExponentP()): Likewise. (getPrimeExponentQ()): Likewise. (getCrtCoefficient()): Likewise. (getPrivateExponent()): Likewise. (getEncoded(int)): Likewise. (equals(Object)): Likewise. (hashCode()): Implemented using java.util.Objects.hash. (toString()): Add @Override and remove unneeded cast. * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Drop unneeded reference to PublicKey. (getEncoded()): Add @Override. (equals(Object)): Likewise. (hashCode()): Implemented. (toString()): Add @Override and remove unneeded cast. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: (getFormatID()): Add @Override. (encodePublicKey(PublicKey)): Likewise. (encodePrivateKey(PrivateKey)): Likewise. (decodePublicKey(byte[])): Likewise. (decodePrivateKey(byte[])): Likewise. * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: (getFormatID()): Add @Override. (encodePublicKey(PublicKey)): Likewise. (decodePublicKey(byte[])): Likewise. (encodePrivateKey(PrivateKey)): Likewise. (decodePrivateKey(byte[])): Likewise. * gnu/java/security/pkcs/PKCS7SignedData.java: (PKCS7SignedData(BERReader)): Refer to constants by the interface where they are defined. Rename crls to avoid shadowing the class variable. * gnu/java/security/pkcs/SignerInfo.java: (SignerInfo(BERReader)): Refer to constants by the interface where they are defined. * gnu/java/security/prng/BasePRNG.java: (addRandomBytes(byte[])): Add @Override. (addRandomBytes(byte[],int,int)): Likewise. Rename buffer to buf to avoid shadowing. (clone()): Remove unnecessary cast and this references. * gnu/java/security/prng/MDGenerator.java: Remove unneeded reference to Cloneable. * gnu/java/security/prng/RandomEvent.java: (RandomEvent(Object,byte,byte,byte[])): Remove unnecessary cast. * gnu/java/security/provider/DefaultPolicy.java: (getPermissions(CodeSource)): Add @Override. (refresh()): Likewise. * gnu/java/security/provider/Gnu.java: (Gnu()): Add @Override to run implementation in anonymous inner class. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: (engineValidate(CertPath,CertPathParameters)): Add @Override. Remove unneeded cast and else clause. (checkExplicitPolicy(int,List)): Make static. * gnu/java/security/provider/X509CertificateFactory.java: (generateCert(InputStream)): Make static. Remove unnecessary else clause. (generateCRL(InputStream)): Likewise. * gnu/java/security/sig/SignatureCodecFactory.java: (getInstance(String,int)): Add default case to switch statement. * gnu/java/security/sig/dss/DSSSignature.java: (encodeSignature(BigInteger,BigInteger)): Make static. (decodeSignature(Object)): Likewise. * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: (getFormatID()): Add @Override. (encodeSignature(Object)): Likewise. (decodeSignature(byte[])): Likewise. * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: (getFormatID()): Add @Override. (encodeSignature(Object)): Likewise. (decodeSignature(byte[])): Likewise. * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: (clone()): Add @Override. * gnu/java/security/sig/rsa/EMSA_PSS.java: (clone()): Add @Override. * gnu/java/security/sig/rsa/RSA.java: (RSADP(RSAPrivateKey, BigInteger)): Suppress null warning as r is always non-null if rsaBlinding is true. * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: (clone()): Add @Override. (setupForVerification(PublicKey)): Likewise. (setupForSigning(PrivateKey)): Likewise. (generateSignature()): Likewise. (verifySignature(Object)): Likewise. * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: (getFormatID()): Add @Override. (encodeSignature(Object)): Likewise. (decodeSignature(byte[])): Likewise. * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java: (getFormatID()): Add @Override. (encodeSignature(Object)): Likewise. (decodeSignature(byte[])): Likewise. * gnu/java/security/sig/rsa/RSAPSSSignature.java: (clone()): Add @Override. (setupForVerification(PublicKey)): Likewise. Remove unnecessary cast. (setupForSigning(PrivateKey)): Likewise. (generateSignature()): Add @Override. (verifySignature(Object)): Likewise. * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: (getFormatID()): Add @Override. (encodeSignature(Object)): Likewise. (decodeSignature(byte[])): Likewise. * gnu/java/security/util/ByteArray.java: (toString()): Add @Override. * gnu/java/security/util/ByteBufferOutputStream.java: (toString()): Add @Override. * gnu/java/security/util/ExpirableObject.java: (destroy()): Add @Override. (Destroyer.run()): Likewise. * gnu/java/security/util/FormatUtil.java: (getEncodingName(int)): Add default case for switch statement. (getEncodingShortName(int)): Likewise. * gnu/java/security/util/Sequence.java: (size()): Add @Override. (toArray()): Likewise. Remove unnecessary cast. * gnu/java/security/util/SimpleList.java: (size()): Add @Override. (get(int)): Likewise. (toString()): Likewise. * gnu/java/security/util/Util.java: (toBase64(byte[])): Add default case to switch statement which does nothing. Remove unnecessary else clause. * gnu/java/security/x509/PolicyNodeImpl.java: (addExpectedPolicy(String)): Rename variable to expectedPolicy to avoid shadowing policy variable. (addAllPolicyQualifiers(Collection)): Rename variable to policyQualifiers to avoid shadowing qualifiers variable. Rewrite collection check to catch ClassCastException as, if it.next() returns normally, it will always be an instance of PolicyQualifierInfo. (toString()): Add @Override. * gnu/java/security/x509/X500DistinguishedName.java: (X500DistinguishedName(String)): Throw IOException rather than catching it as calling methods in X509CRLSelector implementations, addIssuerName(String), expect an IOException to be thrown if there is a parsing error. (getName()): Add @Override. (hashCode()): Likewise. (equals(Object)): Likewise. (toString()): Likewise. (getDer()): Remove unnecessary casts. (readAttributeType(Reader)): Make static. * gnu/java/security/x509/X509CRL.java: (equals(Object)): Add @Override. (hashCode()): Likewise. (getEncoded()): Remove unnecessary cast. (getIssuerX500Principal()): Add @Override. (getTBSCertList()): Remove unnecessary cast. (getSignature()): Likewise. (getSigAlgParams()): Likewise. (hasUnsupportedCriticalExtension()): Add @Override. (getCriticialExtensionOIDs()): Likewise. (getNonCriticalExtensionOIDs()): Likewise. (getExtensionValue(String)): Likewise. (isRevoked(Certificate)): Likewise. Remove unnecessary cast. (parse(InputStream)): Remove unnecessary cast. * gnu/java/security/x509/X509CRLEntry.java: (getEncoded()): Remove unncessary cast. (hasUnsupportedCriticalExtension()): Add @Override. (getCriticialExtensionOIDs()): Likewise. (getNonCriticalExtensionOIDs()): Likewise. (getExtensionValue(String)): Likewise. * gnu/java/security/x509/X509CRLSelectorImpl.java: (addIssuerName(String)): Throw IOException as specified. * gnu/java/security/x509/X509CertPath.java: (getCertificates()): Add @Override. (getEncoded()): Likewise. Remove unnecessary casts. (getEncodings()): Add @Override. (parse(InputStream, String)): Rename path to parsedPath to avoid shadowing. * gnu/java/security/x509/X509CertSelectorImpl.java: (addIssuerName(String)): Throw IOException as specified. * gnu/java/security/x509/X509Certificate.java: Remove unneeded Serializable reference. (checkValidity()): Add @Override. (checkValidity(Date)): Likewise. (getVersion()): Likewise. (getSerialNumber()): Likewise. (getIssuerDN()): Likewise. (getIssuerX500Principal()): Likewise. (getSubjectDN()): Likewise. (getSubjectX500Principal()): Likewise. (getNotBefore()): Likewise. (getNotAfter()): Likewise. (getTBSCertificate()): Likewise. Remove unnecessary cast. (getSignature()): Likewise. (getSigAlgName()): Add @Override. (getSigAlgOID()): Likewise. (getSigAlgParams()): Likewise. Remove unnecessary cast. (getIssuerUniqueID()): Add @Override. (getSubjectUniqueID()): Likewise. (getKeyUsage()): Likewise. (getExtendedKeyUsage()): Likewise. (getBasicConstraints()): Likewise. (getSubjectAlternativeNames()): Likewise. Make conversion from int to Integer explicit. (getIssuerAlternativeNames()): Likewise. (hasUnsupportedCriticalExtension()): Add @Override. (getCriticialExtensionOIDs()): Likewise. (getNonCriticalExtensionOIDs()): Likewise. (getExtensionValue(String)): Likewise. (getEncoded()): Likewise. Remove unnecessary cast. (verify(PublicKey)): Add @Override. (verify(PublicKey, String)): Likewise. (toString()): Likewise. (getPublicKey()): Likewise. (parse(InputStream)): Rename encoded to enc to avoid shadowing. Avoid unnecessary cast. * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java: (toString()): Add @Override. * gnu/java/security/x509/ext/BasicConstraints.java: (getEncoded()): Add @Override. Remove unncessary casts. (toString()): Add @Override. * gnu/java/security/x509/ext/CRLNumber.java: (getEncoded()): Add @Override. Remove unncessary casts. (toString()): Add @Override. * gnu/java/security/x509/ext/CertificatePolicies.java: (CertificatePolicies(List,Map)): Swap empty for-loop for a while loop. (getEncoded()): Add @Override. Remove unnecessary cast. (toString()): Add @Override. * gnu/java/security/x509/ext/ExtendedKeyUsage.java: (toString()): Add @Override. * gnu/java/security/x509/ext/Extension.java: (Extension(byte[])): Remove unnecessary cast. (getEncoded()): Likewise. (toString()): Add @Override. (Value.Value(byte[])): Remove unnecessary cast. (Value.getEncoded()): Likewise. (hashCode()): Add @Override. (equals(Object)): Likewise. (toString()): Likewise. * gnu/java/security/x509/ext/GeneralName.java: (Kind.forTag(int)): Add default case. (Kind): Remove unnecessary ; on closing brace. (GeneralName(Kind,byte[])): Remove unnecessary cast. (name()): Likewise. (encoded()): Check for null rather than catching exception. Remove unnecessary cast. (equals(Object)): Add @Override. Avoid unnecessary method call. (hashCode()): Implemented using java.util.Objects.hash. (toString()): Add @Override. * gnu/java/security/x509/ext/GeneralNames.java: (toString()): Add @Override. * gnu/java/security/x509/ext/GeneralSubtree.java: (toString()): Add @Override. * gnu/java/security/x509/ext/IssuerAlternativeNames.java: (toString()): Add @Override. * gnu/java/security/x509/ext/KeyUsage.java: (toString()): Add @Override. * gnu/java/security/x509/ext/NameConstraints.java: (toString()): Add @Override. * gnu/java/security/x509/ext/PolicyConstraint.java: (toString()): Add @Override. * gnu/java/security/x509/ext/PolicyMappings.java: (toString()): Add @Override. * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java: (toString()): Add @Override. * gnu/java/security/x509/ext/ReasonCode.java: (toString()): Add @Override. * gnu/java/security/x509/ext/SubjectAlternativeNames.java: (toString()): Add @Override. * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: (getKeyIdentifier()): Remove unnecessary cast. (toString()): Add @Override. * gnu/javax/security/auth/Password.java: (doDestroy): Add @Override. Remove unneeded else block. (isDestroyed): Add @Override. * gnu/javax/security/auth/callback/AWTCallbackHandler.java: (handleChoice(ChoiceCallback)): Add @Override. (handleConfirmation(ConfirmationCallback)): Likewise. (handleLanguage(LanguageCallback)): Likewise. (handleName(NameCallback)): Likewise. (handlePassword(PasswordCallback)): Likewise. (handleTextInput(TextInputCallback)): Likewise. (handleTextOutput(TextOutputCallback)): Likewise. (actionPerformed(ActionEvent)): Likewise. (windowClosing(WindowEvent)): Likewise. (windowOpened(WindowEvent)): Likewise. (windowClosed(WindowEvent)): Likewise. (windowIconified(WindowEvent)): Likewise. (windowDeiconified(WindowEvent)): Likewise. (windowActivated(WindowEvent)): Likewise. (windowDeactivated(WindowEvent)): Likewise. * gnu/javax/security/auth/callback/AbstractCallbackHandler.java: (AbstractCallbackHandler(String)): Reference getBundle by class where it is implemented (ResourceBundle). (handle(Callback[])): Add @Override. (handleChoice(ChoiceCallback)): Allow and document an UnsupportedCallbackException being thrown. (handleConfirmation(ConfirmationCallback)): Likewise. (handleLanguage(LanguageCallback)): Likewise. (handleName(NameCallback)): Likewise. (handlePassword(PasswordCallback)): Likewise. (handleTextInput(TextInputCallback)): Likewise. (handleTextOutput(TextOutputCallback)): Likewise. (handleOther(Callback)): Suppress warnings resulting from unused variables, unthrown exceptions and lack of IOException being thrown. They are necessary for subclasses. * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: (handleChoice(ChoiceCallback)): Add @Override. Drop unnecessary cast. (handleConfirmation(ConfirmationCallback)): Add @Override. (handleLanguage(LanguageCallback)): Likewise. (handleName(NameCallback)): Likewise. (handlePassword(PasswordCallback)): Likewise. (handleTextInput(TextInputCallback)): Likewise. (handleTextOutput(TextOutputCallback)): Likewise. * gnu/javax/security/auth/callback/DefaultCallbackHandler.java: (handleChoice(ChoiceCallback)): Add @Override. (handleConfirmation(ConfirmationCallback)): Likewise. (handleLanguage(LanguageCallback)): Likewise. (handleName(NameCallback)): Likewise. (handlePassword(PasswordCallback)): Likewise. (handleTextInput(TextInputCallback)): Likewise. (handleTextOutput(TextOutputCallback)): Likewise. * gnu/javax/security/auth/callback/GnuCallbacks.java: (GnuCallbacks()): Add @Override to run() implementation in anonymous inner class. * gnu/javax/security/auth/callback/SwingCallbackHandler.java: (handleChoice(ChoiceCallback)): Add @Override to method and methods of anonymous inner classes. Refer to constants using interface where they appear. (handleConfirmation(ConfirmationCallback)): Add @Override to method and methods of anonymous inner class. Declare UnsupportedCallbackException as thrown and add default cases and fall-through markers to switch statements. (handleLanguage(LanguageCallback)): Add @Override. Remove unused variable defaultIndex. (handleName(NameCallback)): Add @Override to method and method of anonymous inner class. (handlePassword(PasswordCallback)): Likewise. (handleTextInput(TextInputCallback)): Likewise. Refer to constants using interface where they appear. (handleTextOutput(TextOutputCallback)): Likewise. Declare UnsupportedCallbackException as thrown and add default case to switch statement. (waitForInput(JDialog, Callback)): Make static. * gnu/javax/security/auth/login/ConfigFileParser.java: (initParser(Reader)): Don't declare IOException as thrown as one is never thrown. (expandParamValue(String)): Make static. * gnu/javax/security/auth/login/GnuConfiguration.java: (getAppConfigurationEntry(String)): Add @Override. (refresh()): Likewise. (getInputStreamFromURL(String)): Make static. (parseConfig(InputStream)): Remove unneeded variable. (getUserName()): Make static. (getConfigFromUserName(File,String)): Likewise. * java/security/AccessControlContext.java: (equals(Object)): Add @Override. (hashCode()): Likewise. * java/security/AlgorithmParameters.java: (toString()): Add @Override. * java/security/AllPermission.java: (AllPermission(String,String)): Suppress warning about actions variable being unused. (implies(Permission)): Add @Override. (equals(Object)): Likewise. (hashCode()): Likewise. (getActions()): Likewise. (newPermissionCollection()): Likewise. (AllPermissionCollection()): Add public constructor to avoid generating a synthetic accessor method. * java/security/BasicPermission.java: Remove unneeded Serializable reference. (BasicPermission(String,String)): Suppress warnings about actions variable being unused. (getActions()): Add @Override. (newPermissionCollection()): Likewise. * java/security/Certificate.java: Mark with @Deprecated. Fix typo in documentation. * java/security/DigestInputStream.java: (read()): Add @Override. (read(byte[],int,int)): Likewise. (toString()): Likewise. * java/security/DigestOutputStream.java: (write(int)): Add @Override. (write(byte[],int,int)): Likewise. (toString()): Likewise. * java/security/DummyKeyPairGenerator.java: (clone()): Add @Override. (initialize(int,SecureRandom)): Likewise. (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise. (generateKeyPair()): Likewise. * java/security/DummyMessageDigest.java: (clone()): Add @Override. (engineDigest()): Likewise. (engineDigest(byte[],int,int)): Likewise. (engineGetDigestLength()): Likewise. (engineReset()): Likewise. (engineUpdate(byte)): Likewise. (engineUpdate(byte[],int,int)): Likewise. * java/security/Identity.java: Mark as @Deprecated. Fix typo in documentation. (getName()): Add @Override. (equals(Object)): Likewise. (toString()): Likewise. (toString(boolean)): Remove unnecessary else clause. (hashCode()): Add @Override. * java/security/IdentityScope.java: Mark as @Deprecated. (toString()): Add @Override. * java/security/IntersectingDomainCombiner.java: (combine(ProtectionDomain[],ProtectionDomain[])): Add @Override. * java/security/KeyPairGenerator.java: (generateKeyPair()): Add @Override. * java/security/KeyPairGeneratorSpi.java: (initialize(AlgorithmParameterSpec,SecureRandom)): Suppress warning about making this method static. Intended to be overridden by subclasses. (clone()): Add @Override. * java/security/KeyStore.java: (getInstance(String,Provider)): Fix typo in documentation. (getDefaultType()): Add @Override to run() in anonymous inner class. * java/security/MessageDigest.java: (toString()): Add @Override. (clone()): Likewise. * java/security/MessageDigestSpi.java: (engineGetDigestLength()): Suppress warning about making this method static. Intended to be overridden by subclasses. (clone()): Add @Override. * java/security/Permission.java: (checkGuard(Object)): Add @Override. (equals(Object)): Likewise. (hashCode()): Likewise. (newPermissionCollection()): Likewise. (toString()): Likewise. * java/security/PermissionCollection.java: (toString()): Add @Override. * java/security/Permissions.java: Remove unneeded Serializable reference. (elements()): Add @Override to hasMoreElements and nextElement methods in anonymous inner class. (PermissionsHash.PermissionsHash()): Add explicit constructor to avoid a synthetic accessor method. (add(Permission)): Mark synchronized. (implies(Permission)): Likewise. * java/security/Policy.java: (implies(ProtectionDomain,Permission)): Remove unnecessary cast. * java/security/Principal.java: (equals(Object)): Add @Override. (toString()): Likewise. (hashCode()): Likewise. * java/security/PrivilegedActionException.java: (getCause()): Add @Override. (toString()): Removed; pointless as it just calls superclass version. * java/security/ProtectionDomain.java: (ProtectionDomain(CodeSource,PermissionCollection, ClassLoader,Principal[],boolean)): Remove unnecessary cast. (getPrincipals()): Add @Override. (toString()): Likewise. * java/security/Provider.java: Remove unneeded Serializable reference. (put(Object,Object)): Add @Override. Suppress warnings about overridding a synchronized method as all collection modifications are made in synchronized superclass method. (get(Object)): Likewise. (remove(Object)): Likewise. (clear()): Likewise. (toString()): Add @Override. Suppress warning about overridding a synchronized method as the collection isn't used. (toCanonicalKey(Object)): Make static. * java/security/SecureClassLoader.java: (getPermissions(CodeSource)): Suppress warning about making this method static; may potentially be overridden by subclasses. Avoid unnecessary variable policy. * java/security/SecureRandom.java: (setSeed(byte[])): Make synchronized to prevent concurrent access to secureRandomSpi. (setSeed(long)): Add @Override and make synchronized. (nextBytes(byte[])): Likewise. (next(int)): Likewise. (generateSeed(byte[])): Make synchronized. * java/security/Security.java: (getAlgorithmProperty(String,String)): Add @Deprecated. (getProvider(String)): Remove unnecessary else clause. (getAlgorithm(String)): Use provs instead of providers to avoid shadowing class variable. (provides(Provider,String,String,String,String)): Set serviceDotAlgorithm to the empty string to avoid null pointer issues. * java/security/SecurityPermission.java: (SecurityPermission(String,String)): Suppress warning due to nothing being done with actions. * java/security/Signature.java: (sign()): Remove unnecessary else clause. (sign(byte[],int,int)): Likewise. (verify(byte[])): Likewise. (toString()): Mark @Override. (setParameter(String,Object)): Add @Deprecated. (getParameter(String)): Likewise. (clone()): Add @Override. * java/security/SignatureSpi.java: (engineSetParameter(String,Object)): Add @Deprecated. (engineSetParameter(AlgorithmParameterSpec)): Suppress warnings about unused variables, unthrown exceptions and ability to be a static method. Subclasses override this. (engineGetParameters()): Suppress warnings about making this method static. (engineGetParameter(String)): Add @Deprecated. * java/security/SignedObject.java: (getSignature()): Remove unnecessary cast. (readObject(ObjectInputStream)): Likewise x 2. * java/security/Signer.java: Mark as @Deprecated. (toString()): Add @Override. * java/security/UnresolvedPermission.java: (getUnresolvedCerts()): Remove unnecessaary cast. (UnresolvedPermissionCollection.elements()): Add @Override to hasMoreElements and nextElement. * java/security/acl/Acl.java: (toString()): Add @Override. * java/security/acl/AclEntry.java: (setPrincipal(Principal)): Fix formatting of documentation. (addPermission(Permission)): Likewise. (removePermission(Permission)): Likewise. (checkPermission(Permission)): Likewise. (toString()): Add @Override. * java/security/acl/Permission.java: (equals(Object)): Add @Override. (toString()): Likewise. * java/security/cert/CRL.java: (toString()): Add @Override. * java/security/cert/CertPath.java: (equals(Object)): Add @Override. (hashCode()): Likewise. (toString()): Likewise. * java/security/cert/CertPathBuilderException.java: (CertPathBuilderException(Throwable)): Just call superclass constructor. (CertPathBuilderException(String,Throwable)): Likewise. (getMessage()): Removed; provided by superclass. (getCause()): Likewise. (toString()): Likewise. (printStackTrace()): Likewise. (printStackTrace(PrintStream)): Likewise. (printStackTrace(PrintWriter)): Likewise. * java/security/cert/CertPathValidatorException.java: (CertPathValidatorException(String,Throwable)): Just call superclass with both arguments, rather than initCause. (getMessage()): Removed; provided by superclass. (getCause()): Likewise. (toString()): Likewise. (printStackTrace()): Likewise. (printStackTrace(PrintStream)): Likewise. (printStackTrace(PrintWriter)): Likewise. * java/security/cert/CertStoreException.java: (CertStoreException(Throwable)): Just call superclass constructor. (CertStoreException(String,Throwable)): Likewise. (getMessage()): Removed; provided by superclass. (getCause()): Likewise. (toString()): Likewise. (printStackTrace()): Likewise. (printStackTrace(PrintStream)): Likewise. (printStackTrace(PrintWriter)): Likewise. * java/security/cert/CertStoreSpi.java: (CertStoreSpi(CertStoreParameters)): Suppress warnings about exception not being thrown. Present for subclasses. * java/security/cert/Certificate.java: (equals(Object)): Add @Override. (hashCode()): Likewise. (toString()): Likewise. * java/security/cert/CertificateFactorySpi.java: (engineGenerateCertPath(InputStream)): Suppress warnings about unused arguments, exceptions not being thrown and method can be static. Provided for subclass implementations. (engineGenerateCertPath(InputStream,String)): Likewise. (engineGenerateCertPath(List)): Likewise. (engineGetCertPathEncodings()): Likewise. * java/security/cert/CollectionCertStoreParameters.java: (toString()): Add @Override. * java/security/cert/LDAPCertStoreParameters.java: (clone()): Add @Override. (toString()): Likewise. * java/security/cert/PKIXBuilderParameters.java: (toString()): Likewise. * java/security/cert/PKIXCertPathBuilderResult.java: (getCertPath()): Add @Override. (toString()): Likewise. * java/security/cert/PKIXCertPathChecker.java: (clone()): Add @Override. * java/security/cert/PKIXCertPathValidatorResult.java: (clone()): Add @Override. (toString()): Likewise. * java/security/cert/PKIXParameters.java: (clone()): Add @Overrride. (toString()): Likewise. * java/security/cert/PolicyQualifierInfo.java: (PolicyQualifierInfo(byte[])): Remove unnecessary cast. (getEncoded()): Likewise. (toString()): Add @Override. * java/security/cert/TrustAnchor.java: (TrustAnchor(X509Certificate,byte[])): Remove unnecessary cast. (TrustAnchor(String,PublicKey,byte[])): Document exceptions. Catch IOException and throw as IllegalArgumentException. Remove unnecessary casts. (toString()): Add @Override. * java/security/cert/X509CRL.java: (equals(Object)): Add @Override. (hashCode()): Likewise. (getIssuerX500Principal()): Suppress warning about making this static. Should be overridden by subclasses. * java/security/cert/X509CRLEntry.java: (equals(Object):: Add @Override. (hashCode()): Likewise. (toString()): Likewise. * java/security/cert/X509CRLSelector.java: Remove unneeded Cloneable reference. (getIssuerNames()): Remove unneeded else block. (toString()): Add @Override. (match(CRL)): Likewise. (clone()): LIkewise. * java/security/cert/X509CertSelector.java: Remove unneeded Cloneable reference. (makeName(int,String)): Re-use earlier result of Kind.forTag(id). Add default case. (clone()): Add @Override. (getAuthorityKeyIdentifier()): Remove unneeded else block and cast. (getCertificateValid()): Remove unneeded else block. (getExtendedKeyUsage()): Likewise. (getIssuerAsBytes()): Likewise. (getIssuerAsString()): Likewise. (getKeyUsage()): Likewise and remove unneeded cast. (getNameConstraints()): Likewise. (getPathToNames()): Explicitly convert int to Integer. (getPrivateKeyValid()): Suppress static method warning. Method is deliberately useless. (getSubjectAlternativeNames()): Explicitly convert int to Integer. (getSubjectAsBytes()): Remove unneeded else block. (getSubjectAsString()): Likewise. (getSubjectKeyIdentifier()): Likewise and remove unneeded cast. (match(Certificate)): Add @Override. Rename cert to other to avoid shadowing. (setNameConstraints(byte[])): Remove unnecessary cast. Suppress warnings about NameConstraints instance being unused. (setPrivateKeyValid()): Suppress unused variable warning. Method is deliberately useless. (setSubjectPublicKey(PublicKey)): Remove unneeded cast. (toString()): Add @Override. * java/security/cert/X509Certificate.java: (getExtendedKeyUsage()): Suppress unthrown exception warning and static method suggestion. Overridden by subclasses. (getSubjectAlternativeNames()): Likewise. (getIssuerAlternativeNames()): Likewise. (getSubjectX500Principal()): Suppress static method suggestion. Overridden by subclasses. (getIssuerX500Principal()): Likewise. * java/security/spec/DSAParameterSpec.java: (getP()): Add @Override. (getQ()): Likewise. (getG()): Likewise. * java/security/spec/PKCS8EncodedKeySpec.java: (getEncoded()): Add @Override. (getFormat()): Likewise. * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: (RSAMultiPrimePrivateCrtKeySpec(BigInteger,BigInteger,BigInteger, BigInteger,BigInteger,BigInteger,BigInteger,BigInteger, RSAOtherPrimeInfo[])): Remove unneeded else block. * java/security/spec/X509EncodedKeySpec.java: (getEncoded()): Add @Override. (getFormat()): Likewise. * javax/security/auth/Policy.java: Add @Deprecated. * javax/security/auth/PrivateCredentialPermission.java: Remove unneeded Serializable reference. (equals(Object)): Add @Override. Rename principals to thisPrincipals to avoid shadowing. (getActions()): Add @Override. (hashCode()): Likewise. (implies(Permission)): Likewise. Rename principals to thisPrincipals to avoid shadowing. (newPermissionCollection()): Add @Override to method and anonymous inner class implementations of equals(Object) & hashCode(). * javax/security/auth/SubjectDomainCombiner.java: (combine(ProtectionDomain[],ProtectionDomain[])): Add @Override. * javax/security/auth/callback/ConfirmationCallback.java: (setOptions(String[],int)): Move reference to options.length to after options null check. * javax/security/auth/kerberos/KerberosKey.java: Remove unneeded Serializable reference. (getAlgorithm()): Add @Override. (getFormat()): Likewise. (getEncoded()): Likewise and remove unnecessary cast. (destroy()): Add @Override. (isDestroyed()): Likewise. (toString()): Likewise. * javax/security/auth/kerberos/KerberosPrincipal.java: (getName()): Add @Override. (hashCode()): Likewise. (equals(Object)): Likewise. (toString()): Likewise. * javax/security/auth/kerberos/KerberosTicket.java: (asn1Encoding): Remove @SuppressWarnings. (KerberosTicket(byte[],KerberosPrincipal,KerberosPrincipal, byte[],int,boolean[],Date,Date,Date,Date,InetAddress[])): Remove unnecessary cast. Remove duplicate assignment to flags. (destroy()): Add @Override. (isDestroyed()): Likewise. (isCurrent()): Likewise. (refresh()): Likewise. (getFlags()): Remove unnecessary cast. (getEncoded()): Likewise. (toString()): Add @Override. * javax/security/auth/kerberos/KeyImpl.java: Remove unneeded Serializable reference. (KeyImpl(byte[],int)): Remove unnecessary cast. (getAlgorithm()): Add @Override. (getEncoded()): Likewise. (getFormat()): Likewise. (toString()): Likewise. * javax/security/auth/login/AppConfigurationEntry.java: (toString()): Add @Override. (LoginModuleControlFlag.toString()): Likewise. * javax/security/auth/login/Configuration.java: (getConfig()): Use GetSecurityPropertyAction rather than a bespoke PrivilegedAction implementation. * javax/security/auth/login/LoginContext.java: (LoginContext(String,Subject,CallbackHandler,Configuration)): Rename entries to appEntries to avoid shadowing. (lookupModule(AppConfigurationEntry,Subject,Map)): Rename subject to subj to avoid shadowing. Check module is null rather than cause is non-null. * javax/security/auth/login/NullConfiguration.java: (getAppConfigurationEntry(String)): Add @Override. (refresh()): Likewise. * javax/security/auth/x500/X500Principal.java: (hashCode()): Add @Override. (equals(Object)): Likewise. (getEncoded()): Remove unnecessary cast. (getName()): Add @Override. (toString()): Likewise. (readAttributeType(Reader)): Make static. (parseDer(InputStream)): Rename encoded to encodedStream to avoid shadowing. * javax/security/auth/x500/X500PrivateCredential.java: (destroy()): Add @Override. (isDestroyed()): Likewise. * javax/security/cert/Certificate.java: (equals(Object)): Add @Override. (hashCode()): Likewise. (toString()): Likewise. * javax/security/cert/X509CertBridge.java: (getEncoded()): Add @Override. (verify(PublicKey)): Likewise. (verify(PublicKey,String)): Likewise. (toString()): Likewise. (getPublicKey()): Likewise. (checkValidity()): Likewise. (checkValidity(Date)): Likewise. (getVersion()): Likewise. (getSerialNumber()): Likewise. (getIssuerDN()): Likewise. (getSubjectDN()): Likewise. (getNotBefore()): Likewise. (getNotAfter()): Likewise. (getSigAlgName()): Likewise. (getSigAlgOID()): Likewise. (getSigAlgParams()): Likewise. * javax/security/sasl/Sasl.java: (createSaslClient(String[],String,String,String,Map,CallbackHandler)): Remove unnecessary else clause and pointless result assignment. (createSaslServer(String,String,String,Map,CallbackHandler)): Likewise. * javax/security/sasl/SaslException.java: Remove unneeded Serializable reference. (SaslException(String,Throwable)): Add cause to superclass call. (getCause()): Add @Override. (printStackTrace()): Removed; provided by superclass. (printStackTrace(PrintStream)): Likewise. (printStackTrace(PrintWriter)): Likewise. (initCause(Throwable)): Call superclass version, then sync the local copy. (toString()): Add @Override.
* PR64902: Keys returned by KeyPairGenerator don't use standardised algorithm ↵Andrew John Hughes2015-02-106-92/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | names PR64904: KeyPairGenerator.genKeyPair() fails if not explicitly initialised 2015-02-02 Andrew John Hughes <gnu_andrew@member.fsf.org> PR classpath/64902 PR classpath/64904 * NEWS: Updated. * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: (KeyPairGeneratorAdapter(String)): Filter incoming generator names so all standardised names are handled (e.g. the DiffieHellman alias for DH. (generateKeyPair()): Check whether the generator has been initialized and initialize it with defaults if not. (getAlgorithm()): Return the standardised name, not the internal one. (localiseName(String)): Convert requested standardised name to the internal equivalent. * gnu/java/security/key/IKeyPairGenerator.java: (isInitialized()): New method to check whether the generator has been initialized. (getDefaultKeySize()): Return the default key size used by the generator. * gnu/java/security/key/dss/DSSKey.java: (getAlgorithm()): Return standard "DSA" rather than "dsa". * gnu/java/security/key/dss/DSSKeyPairGenerator.java: (initialized): Flag to indicate whether the generator has been initialized or not. (initLock): Lock to prevent multiple concurrent initializations. (setup(Map)): Wrap initialization in a lock and set initialized flag when done. (isInitialized()): Returns the value of the initialized flag. (getDefaultKeySize()): Returns the default key size. * gnu/java/security/key/rsa/GnuRSAKey.java: (getAlgorithm()): Return standard "RSA" rather than "rsa". * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: (initialized): Flag to indicate whether the generator has been initialized or not. (initLock): Lock to prevent multiple concurrent initializations. (setup(Map)): Wrap initialization in a lock and set initialized flag when done. (isInitialized()): Returns the value of the initialized flag. (getDefaultKeySize()): Returns the default key size. * gnu/javax/crypto/key/dh/GnuDHKey.java: (getAlgorithm()): Return standard "DH" rather than "dh". * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: (initialized): Flag to indicate whether the generator has been initialized or not. (initLock): Lock to prevent multiple concurrent initializations. (setup(Map)): Wrap initialization in a lock and set initialized flag when done. (isInitialized()): Returns the value of the initialized flag. (getDefaultKeySize()): Returns the default key size. * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: (initialized): Flag to indicate whether the generator has been initialized or not. (initLock): Lock to prevent multiple concurrent initializations. (setup(Map)): Wrap initialization in a lock and set initialized flag when done. (isInitialized()): Returns the value of the initialized flag. (getDefaultKeySize()): Returns the default key size.
* Fix majority of warnings in gnu.java.security.* and java.security.*.Andrew John Hughes2014-10-1381-619/+712
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes PR58688 as a consequence. 2014-10-09 Andrew John Hughes <gnu_andrew@member.fsf.org> * NEWS: Updated. * gnu/java/security/util/IntegerUtil.java: Removed. Methods are available in java.lang.Integer. * gnu/java/security/Engine.java: Add missing type parameters to Class, Constructor and Enumeration. * gnu/java/security/OID.java: Add type parameter to Comparable implementation. (compareTo(OID)): Changed from compareTo(Object). Remove now redundant cast. * gnu/java/security/Properties.java: Add type parameters to HashMap. (getProperty(String)): Remove redundant cast. (init()): Use generic implementation of PrivilegedAction. Add properties in a for-each loop to get correct types. * gnu/java/security/action/SetAccessibleAction.java: Use generic implementation of PrivilegedAction. * gnu/java/security/ber/BEREncodingException.java: Add explicit serialVersionUID. * gnu/java/security/der/BitString.java: Add type parameter to Comparable implementation. (compareTo(BitString)): Changed from compareTo(Object). Remove now redundant cast. * gnu/java/security/der/DEREncodingException.java: Add explicit serialVersionUID. * gnu/java/security/der/DERWriter.java: (write(OutputStream,DERValue)): Cast List and Set to correct generic versions. (writeSequence(OutputStream,List)): Add type parameters. Drop now redundant cast. (writeSet(OutputStream,Set)): Likewise. * gnu/java/security/hash/HashFactory.java: (getNames()): Add type parameters. * gnu/java/security/hash/Whirlpool.java: Drop unused byte array. * gnu/java/security/jce/prng/HavalRandomSpi.java: Add explicit serialVersionUID. * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise. * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise. * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise. * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise. * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise. * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise. Drop unused mdName variable. Remove redundant casts. Add Override annotation to interface implementation. * gnu/java/security/jce/prng/Sha160RandomSpi.java: Add explicit serialVersionUID. * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise. * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise. * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise. * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise. * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise. * gnu/java/security/jce/sig/DSSKeyFactory.java: Add Override annotation to interface implementation. (engineGetKeySpec(Key,Class)): Update return type. Use keySpec.cast to cast newly created instances to the correct type. * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Add missing type parameters and Override annotations. * gnu/java/security/jce/sig/DSSParameters.java: Add Override annotation to interface implementation. (engineGetParameterSpec(Class)): Update return type. Use paramSpec.cast to cast new instances to correct type. (engineGetEncoded()): Add missing type parameter to list. * gnu/java/security/jce/sig/EncodedKeyFactory.java: Add type parameters and Override annotations. (engineGetKeySpec(Key,Class)): Update return type. Use keySpec.cast to cast new instances to correct type. * gnu/java/security/jce/sig/RSAKeyFactory.java: Add @Override annotation. Drop unused variables. (engineGetKeySpec(Key,Class)): Update return type. Use keySpec.cast to cast new instances to correct type. * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Add type parameters. * gnu/java/security/jce/sig/SignatureAdapter.java: Add type parameters and Override annotation. * gnu/java/security/key/IKeyPairGenerator.java: (setup(Map)): Add type parameters. * gnu/java/security/key/KeyPairCodecFactory.java: Add type parameters. * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise. * gnu/java/security/key/dss/DSSKey.java: Add explicit serialVersionUID. * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Add type parameters and Override annotations. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Add type parameters. * gnu/java/security/key/dss/DSSPrivateKey.java: Add explicit serialVersionUID. * gnu/java/security/key/dss/DSSPublicKey.java: Likewise. * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise. * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise. * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Add Override annotations and type parameters. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Add missing type parameters on ArrayList instances. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Add Override annotations and type parameters. * gnu/java/security/pkcs/PKCS7SignedData.java: (PKCS7SignedData(BERReader)): Add a type parameter to the algId list and ensure all additions are homogenous. Add other missing type parameters. (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): Add missing type parameters. (getDigestAlgorithms()): Do a deep copy of the set. (getSignerInfos()): Add type parameters. (encode(OutputStream)): Likewise. * gnu/java/security/pkcs/SignerInfo.java: Drop unused variable, count. Add type parameters. (encode(OutputStream)): Include derAuthenticatedAttributes and derUnauthenticatedAttributes in signerInfo. * gnu/java/security/prng/BasePRNG.java: Add type parameters and Override annotations. * gnu/java/security/prng/IRandom.java: Add type parameters. * gnu/java/security/prng/LimitReachedException.java: Add explicit serialVersionUID. * gnu/java/security/prng/MDGenerator.java: Add type parameters and Override annotations. * gnu/java/security/prng/PRNGFactory.java: Add missing type parameters. * gnu/java/security/prng/RandomEvent.java: Add explicit serialVersionUID. * gnu/java/security/provider/CollectionCertStoreImpl.java: Add Override annotation and missing type parameters. * gnu/java/security/provider/Gnu.java: Add explicit serialVersionUID. Parameterise implementation of PrivilegedAction. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Add missing type parameters. Remove unused qualifierInfos variable. * gnu/java/security/provider/X509CertificateFactory.java: Add Override annotations and type parameters. * gnu/java/security/sig/BaseSignature.java: Likewise. * gnu/java/security/sig/ISignature.java: Add type parameters. * gnu/java/security/sig/SignatureCodecFactory.java: Likewise. * gnu/java/security/sig/SignatureFactory.java: Likewise. * gnu/java/security/sig/dss/DSSSignature.java: Add Override annotations and type parameters. * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Add type parameter to ArrayList instance. * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Remove unused hLen variable. * gnu/java/security/sig/rsa/RSASignatureFactory.java: Add type parameters. * gnu/java/security/util/PRNG.java: (getInstance()): Move initialisation code to shared method, initialiseDelegate. (nextBytes(byte[],int,int)): Call out to initialiseDelegate to re-initialise. (initialiseDelegate(IRandom)): New common method for shared code. * gnu/java/security/util/Sequence.java: Add Override annotation and type parameters. * gnu/java/security/util/SimpleList.java: Add type parameters. * gnu/java/security/x509/GnuPKIExtension.java: Likewise. * gnu/java/security/x509/PolicyNodeImpl.java: Add type parameters and Override annotations. (addAllPolicyQualifiers(Collection)): Qualify reference to addAll. * gnu/java/security/x509/X500DistinguishedName.java: Add type parameters. * gnu/java/security/x509/X509CRL.java: Remove unused variable algParams. Add type parameters and Override annotations. * gnu/java/security/x509/X509CRLEntry.java: Add type parameters and Override annotations. * gnu/java/security/x509/X509CRLSelectorImpl.java: Likewise. * gnu/java/security/x509/X509CertPath.java: Add type parameters. (pkcsEncoded): Renamed from pkcs_encoded. (pkiEncoded): Renamed from pki_encoded. * gnu/java/security/x509/X509CertSelectorImpl.java: Add type parameters and Override annotations. * gnu/java/security/x509/X509Certificate.java: Likewise. * gnu/java/security/x509/ext/BasicConstraints.java: Add type parameters. * gnu/java/security/x509/ext/CertificatePolicies.java: Likewise. * gnu/java/security/x509/ext/PolicyMappings.java: Likewise. * gnu/javax/crypto/cipher/IBlockCipher.java: Add type parameters. * gnu/javax/crypto/jce/prng/FortunaImpl.java: (engineSetSeed(byte[])): Add cast for singletonMap invocation. * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Add type parameters. * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: Likewise. * gnu/javax/crypto/mac/IMac.java: Likewise. * gnu/javax/crypto/mode/BaseMode.java: Add Override annotations and type parameters. * gnu/javax/crypto/mode/EAX.java: Add Override annotations, type parameters and casts for singletonMap invocations. * gnu/javax/crypto/prng/Fortuna.java: Likewise. * gnu/javax/net/ssl/Session.java: Add Override annotations and type parameters. * gnu/javax/net/ssl/provider/AbstractHandshake.java: Fix type parameters. * gnu/javax/net/ssl/provider/SSLRandom.java: Add Override annotations and type parameters. * gnu/javax/net/ssl/provider/TLSRandom.java: Likewise. (hmacSHA): Renamed from hmac_sha. (hmacMD5): Renamed from hmac_md5. * gnu/javax/net/ssl/provider/Util.java: (transform(Object,Class,String,Object[])): Use a type parameter T rather than Object. * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java: Add type parameters. * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java: Likewise. * gnu/javax/security/auth/callback/AWTCallbackHandler.java: Replace calls to deprecated show() with setVisible(true). (ACTION_NO): Remove unused variable. (ACTION_YES): Likewise. * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Add type parameters. * gnu/javax/security/auth/callback/GnuCallbacks.java: Add explicit serialVersionUID. Convert PrivilegedAction implementation to parameterised version. * gnu/javax/security/auth/login/ConfigFileParser.java: Add type parameters. * gnu/javax/security/auth/login/GnuConfiguration.java: Likewise. Fix typo. * java/security/AccessControlContext.java: Add type parameters. * java/security/AllPermission.java: Add Override annotations. (AllPermissionCollection.elements()): Add type parameter to return type and return appropriately typed enumerations. * java/security/BasicPermission.java: Add type parameters and Override annotations. * java/security/CodeSource.java: Likewise. * java/security/DummySignature.java: Add Override annotations. * java/security/Identity.java: Add type parameters. * java/security/IntersectingDomainCombiner.java: Likewise. * java/security/KeyPairGenerator.java: Add Override annotations. * java/security/Permissions.java: Add type parameters and Override annotations. (elements()): Rename main_enum and sub_enum to mainEnum and subEnum respectively. * java/security/Policy.java: Add type parameters. * java/security/SecureRandom.java: Add missing type parameter. Remove unused imports. * java/security/Security.java: Add type parameters. Fix mis-spelling of 'query'. * java/security/SignatureSpi.java: Add Override annotation. * java/security/UnresolvedPermission.java: Add Override annotations and type parameters. (elements()): Rename main_enum and sub_enum to mainEnum and subEnum respectively. * java/security/cert/CertPath.java: Add type parameters. * java/security/cert/CertPathValidator.java: (getDefaultType()): Use GetSecurityPropertyAction rather than implementing PrivilegedAction locally. * java/security/cert/CertStore.java: (getDefaultType()): Use GetSecurityPropertyAction rather than implementing PrivilegedAction locally. * java/security/cert/CollectionCertStoreParameters.java: Add type parameters and Override annotations. * java/security/cert/PKIXParameters.java: Add type parameters. * java/security/cert/X509CRLSelector.java: Add type parameters. (getIssuerNames()): Return a deep copy. * java/security/cert/X509CertSelector.java: Add type parameters. * java/util/Properties.java: Add type parameters. (stringPropertyNames()): Implemented. * javax/naming/directory/BasicAttribute.java: Add Override annotations and missing type parameter. * javax/security/auth/AuthPermission.java: Add explicit serialVersionUID. * javax/security/auth/DestroyFailedException.java: Likewise. * javax/security/auth/PrivateCredentialPermission.java: Add type parameters. (equals(Object)): Use thatPrincipals instead of that_principals. (implies(Permission)): Likewise. (CredOwner): Add explicit serialVersionUID. * javax/security/auth/RefreshFailedException.java: Add explicit serialVersionUID. * javax/security/auth/Subject.java: Add type parameters and Override annotations. * javax/security/auth/SubjectDomainCombiner.java: Add type parameters. * javax/security/auth/callback/ChoiceCallback.java: Add explicit serialVersionUID. * javax/security/auth/callback/ConfirmationCallback.java: Likewise. * javax/security/auth/callback/LanguageCallback.java: Likewise. * javax/security/auth/callback/NameCallback.java: Likewise. * javax/security/auth/callback/PasswordCallback.java: Likewise. * javax/security/auth/callback/TextInputCallback.java: Likewise. * javax/security/auth/callback/TextOutputCallback.java: Likewise. * javax/security/auth/callback/UnsupportedCallbackException.java: Likewise. * javax/security/auth/kerberos/DelegationPermission.java: Re-enable explicit serialVersionUID. Add Override annotations and type parameters. * javax/security/auth/kerberos/KerberosPrincipal.java: Re-enable explicit serialVersionUID. * javax/security/auth/kerberos/KerberosTicket.java: Suppress warning about unused asn1Encoding variable. * javax/security/auth/kerberos/KeyImpl.java: Re-enable explicit serialVersionUID. * javax/security/auth/kerberos/ServicePermission.java: Re-enable explicit serialVersionUID. Add Override annotations and type parameters. * javax/security/auth/login/AppConfigurationEntry.java: Add type parameters. * javax/security/auth/login/Configuration.java: Likewise. * javax/security/auth/login/LoginContext.java: Likewise. * javax/security/auth/x500/X500Principal.java: Likewise. (fixed): Remove unused variable. * javax/security/cert/CertificateEncodingException.java: Add explicit serialVersionUID. * javax/security/cert/CertificateException.java: Likewise. * javax/security/cert/CertificateExpiredException.java: Likewise. * javax/security/cert/CertificateNotYetValidException.java: Likewise. * javax/security/cert/CertificateParsingException.java: Likewise. * javax/security/sasl/AuthenticationException.java: Likewise. * javax/security/sasl/RealmCallback.java: Likewise. * javax/security/sasl/RealmChoiceCallback.java: Likewise. * javax/security/sasl/Sasl.java: Add type parameters. * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise. Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
* Fix missing bracket.Andrew John Hughes2013-06-041-1/+1
| | | | | | | | | 2013-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org> * gnu/java/security/PolicyFile.java: (parse(URL)): Fix missing bracket. Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
* Fix warnings in gnu.java.security.PolicyFileAndrew John Hughes2013-05-311-34/+33
| | | | | | | | | | | | | | | | | 2013-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> * gnu/java/security/PolicyFile.java: (fs): Remove unnecessary cast. (DEFAULT_POLICY): Likewise. (DEFAULT_USER_POLICY): Likewise. (cs2pc): Add type parameters. (PolicyFile): Likewise. (getPermissions(CodeSource)): Use for-each loops and remove unnecessary casts. (refresh()): Add missing type parameters. (parse(URL)): Likewise and remove unnecessary casts. Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
* Fix warnings in gnu.java.net classes.Andrew John Hughes2013-05-263-11/+9
| | | | | | | | | | | | | | | | | | | | | 2013-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> * gnu/java/net/loader/JarURLLoader.java: (indexSet): Add type parameter. (JarURLLoader(URLClassLoader,URLStreamHandlerCache, URLStreamHandlerFactory,URL,URL,Set)): Add type parameter to Set. * gnu/java/net/loader/URLLoader.java: (getClass(String)): Add type parameter to return type. * gnu/java/net/protocol/http/HTTPConnection.java: (run()): Remove redundant cast. (get(String,int,boolean,int,int)): Add type parameter to ListIterator and drop cast. (removeOldest()): Remove redundant cast. (getSocket()): Add type parameter to Iterator and drop cast. Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
* Replace all .cvsignore files with .gitignoreIvan Maidanski2012-10-152-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-06-10 Ivan Maidanski <ivmai@mail.ru> * compat/.gitignore, * compat/java.net/.gitignore, * doc/.gitignore, * doc/api/.gitignore, * doc/www.gnu.org/.gitignore, * doc/www.gnu.org/announce/.gitignore, * doc/www.gnu.org/cp-tools/.gitignore, * doc/www.gnu.org/docs/.gitignore, * doc/www.gnu.org/downloads/.gitignore, * doc/www.gnu.org/events/.gitignore, * doc/www.gnu.org/faq/.gitignore, * examples/.gitignore, * external/.gitignore, * external/jsr166/.gitignore, * external/relaxngDatatype/.gitignore, * external/sax/.gitignore, * external/w3c_dom/.gitignore, * gnu/classpath/.gitignore, * gnu/java/locale/.gitignore, * gnu/java/security/.gitignore, * gnu/test/.gitignore, * include/.gitignore, * java/util/.gitignore, * lib/.gitignore, * native/.gitignore, * native/fdlibm/.gitignore, * native/jawt/.gitignore, * native/jni/.gitignore, * native/jni/classpath/.gitignore, * native/jni/gconf-peer/.gitignore, * native/jni/gstreamer-peer/.gitignore, * native/jni/gtk-peer/.gitignore, * native/jni/java-io/.gitignore, * native/jni/java-lang/.gitignore, * native/jni/java-math/.gitignore, * native/jni/java-net/.gitignore, * native/jni/java-nio/.gitignore, * native/jni/java-util/.gitignore, * native/jni/midi-alsa/.gitignore, * native/jni/midi-dssi/.gitignore, * native/jni/native-lib/.gitignore, * native/jni/qt-peer/.gitignore, * native/jni/xmlj/.gitignore, * native/plugin/.gitignore, * native/testsuite/.gitignore, * native/vmi/.gitignore, * resource/.gitignore, * resource/META-INF/services/.gitignore, * scripts/.gitignore, * test/.gitignore, * test/gnu.java.lang.reflect/.gitignore, * test/java.io/.gitignore, * test/java.lang.reflect/.gitignore, * test/java.net/.gitignore, * test/java.util/.gitignore, * tools/.gitignore, * tools/gnu/classpath/tools/doclets/.gitignore, * tools/gnu/classpath/tools/doclets/debugdoclet/.gitignore, * tools/gnu/classpath/tools/doclets/htmldoclet/.gitignore, * tools/gnu/classpath/tools/doclets/xmldoclet/.gitignore, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/.gitignore, * tools/gnu/classpath/tools/gjdoc/.gitignore, * tools/gnu/classpath/tools/gjdoc/expr/.gitignore, * tools/gnu/classpath/tools/java2xhtml/.gitignore, * tools/gnu/classpath/tools/taglets/.gitignore, * vm/.gitignore, * vm/reference/.gitignore: Renamed from .cvsignore. Signed-off-by: Pekka Enberg <penberg@kernel.org>
* Fix warnings in java.text.* and gnu.java.text.*Andrew John Hughes2012-07-314-146/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org> Update copyright headers throughout. * gnu/java/text/AttributedFormatBuffer.java: (ranges): Add generic type information. (attributes): Likewise. (aRanges): Rename from a_ranges. (aAttributes): Add generic type information and rename from a_attributes. Convert to a list of maps rather than an array for type safety. (defaultAttr): Replace prefix with static import. (AttributedFormatBuffer(CPStringBuilder): Add generic typing. (addAttribute(int,Attribute)): Drop prefix, rename new_range to newRange. Add generic types. Use Integer.valueOf in place of new Integer. (append(String,Attribute)): Drop prefix. (append(String,int[],List)): Replace array with list. Use Integer.valueOf instead of new Integer. (append(char,Attribute)): Drop prefix. (setDefaultAttribute(Attribute)): Likewise. (getDefaultAttribute()): Likewise. (sync()): Rename a_ranges to aRanges. Drop unneeded casts. Replace array with list. (getRanges()): Rename a_ranges to aRanges. (getAttributes()): Replace map with list. Rename a_attributes to aAttributes. * gnu/java/text/FormatBuffer.java: Add static import for Attribute. * gnu/java/text/FormatCharacterIterator.java: (attributes): Replace array with list. (FormatCharacterIterator()): Likewise. (FormatCharacterIterator(String,int,List)): Switch from array to list. Update documentation. (getAllAttributeKeys()): Add generic type. Switch from array to list. (getAttributes()): Likewise. (getAttribute(Attribute)): Likewise. (getRunLimit(Set)): Likewise. (getRunLimit(Attribute)): Likewise. (getRunStart(Set)): Likewise. (getRunStart(Attribute)): Likewise. (mergeAttributes(List,int[])): Likewise. Use List in preference to Vector. Use newRanges & newAttributes rather than new_ranges and new_attributes. (append(AttributedCharacterIterator)): Likewise. (append(String,HashMap)): Likewise. (addAttributes(Map,int,int)): Likewise. (dumpTable()): Use startRange instead of start_range. Add generic types. * gnu/java/text/StringFormatBuffer.java, Add static import for Attribute. * java/text/AttributedString.java: Add static import for Attribute. (attribs): Add generic type. (AttributeRange(Map,int,int)): Likewise. (AttributedString(String,Map)): Likewise. (AttributedString(AttributedCharacterIterator, int, int, Attribute)): Drop prefix, add generic types. (addAttribute(Attribute,Object)): Drop prefix. (addAttribute(Attribute,Object,int,int)): Likewise and add generic types. (addAttributes(Map,int,int)): Add generic types. (getIterator(Attribute)): Drop prefix. (getIterator(Attribute[])): Likewise. * java/text/AttributedStringIterator.java: Add static import for Attribute. (getAllAttributeKeys()): Add generic type. (getRunLimit(Attribute)): Add generic type, drop prefix. (getRunLimit(Set)): Add generic types. (getRunStart(Attribute)): Add generic type, drop prefix. (getRunStart(Set)): Add generic types. (getAttributes()): Likewise. * java/text/Bidi.java: (formatterIndices): Add generic type. (reinsertFormattingCodes()): Drop redundant cast. * java/text/BreakIterator.java: (getInstance(String,Locale)): Add generic type to Class. * java/text/ChoiceFormat.java: (stringVec): Add generic type. (limitVec): Likewise. (applyPattern(String)): Remove redundant cast. * java/text/CollationElementIterator.java: (textDecomposition): Renamed from text_decomposition. (textIndexes): Renamed from text_indexes. (setText(String)): Add generic types. Rename a_element to aElement. Rename a_idx to aIdx. Rename key_old to keyOld. Use Integer.valueOf rather than new Integer. * java/text/DecimalFormat.java: (attributes): Add generic type. (formatToCharacterIterator(Object)): Remove redundant cast. * java/text/MessageFormat.java: (Field()): Remove unneeded warning suppression. * java/text/NumberFormat.java: (Field()): Likewise. Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
* Update copyright notices.Jakub Jelinek2012-04-031-3/+3
| | | | | | | | | | 2012-01-01 Jakub Jelinek <jakub@redhat.com> * gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * tools/gnu/classpath/tools/orbd/Main.java (run): Likewise. Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
* Add missing Java 1.7 AutoCloseable interfacePekka Enberg2012-03-141-0/+5
| | | | Signed-off-by: Pekka Enberg <penberg@kernel.org>
* Only initialise loggers when Configuration.DEBUG is true.Andrew John Hughes2010-09-0218-39/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid floating point arithmetic when computing 1.5 * length. Cast instance generated by reflection to correct type. Remove redundant super() calls and initialisations. Drop unused variable. 2010-05-09 Ivan Maidanski <ivmai@mail.ru> * gnu/java/security/Properties.java: Only initialise log if Configuration.DEBUG is true. * gnu/java/security/der/DERWriter.java: (toUtf8(String)): Calculate 1.5 * len using len + (len >> 1) to avoid multiplication by a floating-point number. * gnu/java/security/hash/Whirlpool.java: Only initialise log if Configuration.DEBUG is true. * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise. * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise. * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise. * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise. * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise. * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise. * gnu/java/security/pkcs/SignerInfo.java: Likewise. (SignerInfo(BERReader)): Only print version if Configuration.DEBUG is true, as with other output. * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Only initialise log if Configuration.DEBUG is true. * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise. * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise. * gnu/java/security/x509/X509CRL.java: Likewise. * gnu/java/security/x509/X509CRLEntry.java: Likewise. * gnu/java/security/x509/ext/Extension.java: Likewise. * gnu/javax/crypto/cipher/Anubis.java: Likewise. * gnu/javax/crypto/cipher/BaseCipher.java: Likewise. * gnu/javax/crypto/cipher/Khazad.java: Likewise. * gnu/javax/crypto/cipher/Rijndael.java: Likewise. * gnu/javax/crypto/cipher/Twofish.java: Likewise. * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: Likewise. * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise. * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise. * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise. (sha): Drop unused variable. (rnd): Use implicit initialisation to null as with other variables. * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Only initialise log if Configuration.DEBUG is true. * gnu/javax/crypto/keyring/Entry.java: Likewise. * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise. * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise. * gnu/javax/crypto/mac/OMAC.java: Likewise. * gnu/javax/crypto/pad/BasePad.java: Likewise. * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise. * gnu/javax/crypto/pad/PKCS7.java: Likewise. * gnu/javax/crypto/pad/TBC.java: Likewise. * gnu/javax/crypto/prng/CSPRNG.java: Likewise. (getSystemInstance()): Clarify bracketing of for loop and ignorance of exceptions in the OTHER case. * gnu/javax/crypto/sasl/SaslInputStream.java: Only initialise log if Configuration.DEBUG is true. * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise. * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise. * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise. * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise. (map): Make final. * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Only initialise log if Configuration.DEBUG is true. (br): Make final. (ConfigFileTokenizer(Reader)): Remove explicit initialisation of initialised and call to superclass when superclass is Object. * gnu/javax/security/auth/login/GnuConfiguration.java: Only iniialise log if Configuration.DEBUG is true. * java/math/BigInteger.java: Likewise.
* Normalise whitespace.Andrew John Hughes2010-06-03631-13608/+13480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-06-03 Andrew John Hughes <ahughes@redhat.com> * examples/gnu/classpath/examples/CORBA/NamingService/Demo.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPass.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturn.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNode.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisException.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterImplBase.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterStub.java, * examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java, * examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java, * examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java, * examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java, * examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java, * examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java, * examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java, * examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java, * examples/gnu/classpath/examples/CORBA/swing/x5/Player.java, * examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java, * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java, * examples/gnu/classpath/examples/CORBA/swing/x5/State.java, * examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java, * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java, * examples/gnu/classpath/examples/awt/Demo.java, * examples/gnu/classpath/examples/awt/HintingDemo.java, * examples/gnu/classpath/examples/datatransfer/Demo.java, * examples/gnu/classpath/examples/html/Demo.java, * examples/gnu/classpath/examples/java2d/J2dBenchmark.java, * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java, * examples/gnu/classpath/examples/java2d/JNIOverhead.java, * examples/gnu/classpath/examples/jawt/DemoJAWT.java, * examples/gnu/classpath/examples/management/TestClassLoading.java, * examples/gnu/classpath/examples/management/TestCompilation.java, * examples/gnu/classpath/examples/management/TestGarbageCollector.java, * examples/gnu/classpath/examples/management/TestMemory.java, * examples/gnu/classpath/examples/management/TestMemoryManager.java, * examples/gnu/classpath/examples/management/TestMemoryPool.java, * examples/gnu/classpath/examples/management/TestThread.java, * examples/gnu/classpath/examples/midi/Demo.java, * examples/gnu/classpath/examples/print/Demo.java, * examples/gnu/classpath/examples/sound/AudioPlayerSample.java, * examples/gnu/classpath/examples/swing/BrowserEditorKit.java, * examples/gnu/classpath/examples/swing/ButtonDemo.java, * examples/gnu/classpath/examples/swing/ComboBoxDemo.java, * examples/gnu/classpath/examples/swing/Demo.java, * examples/gnu/classpath/examples/swing/DemoFactory.java, * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java, * examples/gnu/classpath/examples/swing/FileChooserDemo.java, * examples/gnu/classpath/examples/swing/HtmlDemo.java, * examples/gnu/classpath/examples/swing/ListDemo.java, * examples/gnu/classpath/examples/swing/MetalThemeEditor.java, * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java, * examples/gnu/classpath/examples/swing/ScrollBarDemo.java, * examples/gnu/classpath/examples/swing/SliderDemo.java, * examples/gnu/classpath/examples/swing/SpinnerDemo.java, * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java, * examples/gnu/classpath/examples/swing/TableDemo.java, * examples/gnu/classpath/examples/swing/TextAreaDemo.java, * examples/gnu/classpath/examples/swing/TextFieldDemo.java, * examples/gnu/classpath/examples/swing/TreeDemo.java, * gnu/CORBA/BigDecimalHelper.java, * gnu/CORBA/CDR/AbstractCdrInput.java, * gnu/CORBA/CDR/AbstractCdrOutput.java, * gnu/CORBA/CDR/AbstractDataInput.java, * gnu/CORBA/CDR/AbstractDataOutput.java, * gnu/CORBA/CDR/AligningInput.java, * gnu/CORBA/CDR/AligningOutput.java, * gnu/CORBA/CDR/ArrayValueHelper.java, * gnu/CORBA/CDR/BigEndianInputStream.java, * gnu/CORBA/CDR/BigEndianOutputStream.java, * gnu/CORBA/CDR/BufferedCdrOutput.java, * gnu/CORBA/CDR/BufferredCdrInput.java, * gnu/CORBA/CDR/HeadlessInput.java, * gnu/CORBA/CDR/IDLTypeHelper.java, * gnu/CORBA/CDR/LittleEndianOutputStream.java, * gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, * gnu/CORBA/CDR/VMVio.java, * gnu/CORBA/CDR/Vio.java, * gnu/CORBA/CDR/gnuRuntime.java, * gnu/CORBA/CDR/gnuValueStream.java, * gnu/CORBA/CdrEncapsCodecImpl.java, * gnu/CORBA/CollocatedOrbs.java, * gnu/CORBA/Connected_objects.java, * gnu/CORBA/DefaultSocketFactory.java, * gnu/CORBA/DuplicateNameHolder.java, * gnu/CORBA/DynAn/AbstractAny.java, * gnu/CORBA/DynAn/DivideableAny.java, * gnu/CORBA/DynAn/NameValuePairHolder.java, * gnu/CORBA/DynAn/RecordAny.java, * gnu/CORBA/DynAn/ValueChangeListener.java, * gnu/CORBA/DynAn/gnuDynAny.java, * gnu/CORBA/DynAn/gnuDynAnyFactory.java, * gnu/CORBA/DynAn/gnuDynArray.java, * gnu/CORBA/DynAn/gnuDynEnum.java, * gnu/CORBA/DynAn/gnuDynFixed.java, * gnu/CORBA/DynAn/gnuDynSequence.java, * gnu/CORBA/DynAn/gnuDynUnion.java, * gnu/CORBA/DynAn/gnuDynValue.java, * gnu/CORBA/DynAn/gnuDynValueBox.java, * gnu/CORBA/DynAnySeqHolder.java, * gnu/CORBA/EmptyExceptionHolder.java, * gnu/CORBA/ForwardRequestHelper.java, * gnu/CORBA/GIOP/CharSets_OSF.java, * gnu/CORBA/GIOP/CloseMessage.java, * gnu/CORBA/GIOP/ErrorMessage.java, * gnu/CORBA/GIOP/MessageHeader.java, * gnu/CORBA/GIOP/ServiceContext.java, * gnu/CORBA/GIOP/v1_2/RequestHeader.java, * gnu/CORBA/GeneralHolder.java, * gnu/CORBA/IOR.java, * gnu/CORBA/Interceptor/ClientRequestInterceptors.java, * gnu/CORBA/Interceptor/ForwardRequestHolder.java, * gnu/CORBA/Interceptor/IORInterceptors.java, * gnu/CORBA/Interceptor/Registrator.java, * gnu/CORBA/Interceptor/ServerRequestInterceptors.java, * gnu/CORBA/Interceptor/gnuClientRequestInfo.java, * gnu/CORBA/Interceptor/gnuIcCurrent.java, * gnu/CORBA/Interceptor/gnuIorInfo.java, * gnu/CORBA/Interceptor/gnuServerRequestInfo.java, * gnu/CORBA/IorDelegate.java, * gnu/CORBA/IorObject.java, * gnu/CORBA/Minor.java, * gnu/CORBA/NameDynAnyPairHolder.java, * gnu/CORBA/NameDynAnyPairSeqHolder.java, * gnu/CORBA/NameValuePairHolder.java, * gnu/CORBA/NameValuePairSeqHolder.java, * gnu/CORBA/NamingService/NameParser.java, * gnu/CORBA/NamingService/NamingMap.java, * gnu/CORBA/NamingService/NamingServiceTransient.java, * gnu/CORBA/NamingService/TransientContext.java, * gnu/CORBA/ObjectCreator.java, * gnu/CORBA/OrbFocused.java, * gnu/CORBA/OrbFunctional.java, * gnu/CORBA/OrbRestricted.java, * gnu/CORBA/Poa/AOM.java, * gnu/CORBA/Poa/AccessiblePolicy.java, * gnu/CORBA/Poa/DynamicImpHandler.java, * gnu/CORBA/Poa/ForwardRequestHolder.java, * gnu/CORBA/Poa/ForwardedServant.java, * gnu/CORBA/Poa/InvalidPolicyHolder.java, * gnu/CORBA/Poa/LocalDelegate.java, * gnu/CORBA/Poa/LocalRequest.java, * gnu/CORBA/Poa/LocalServerRequest.java, * gnu/CORBA/Poa/ORB_1_4.java, * gnu/CORBA/Poa/ServantDelegateImpl.java, * gnu/CORBA/Poa/StandardPolicies.java, * gnu/CORBA/Poa/gnuAdapterActivator.java, * gnu/CORBA/Poa/gnuForwardRequest.java, * gnu/CORBA/Poa/gnuIdAssignmentPolicy.java, * gnu/CORBA/Poa/gnuIdUniquenessPolicy.java, * gnu/CORBA/Poa/gnuImplicitActivationPolicy.java, * gnu/CORBA/Poa/gnuLifespanPolicy.java, * gnu/CORBA/Poa/gnuPOA.java, * gnu/CORBA/Poa/gnuPOAManager.java, * gnu/CORBA/Poa/gnuPoaCurrent.java, * gnu/CORBA/Poa/gnuRequestProcessingPolicy.java, * gnu/CORBA/Poa/gnuServantObject.java, * gnu/CORBA/Poa/gnuServantRetentionPolicy.java, * gnu/CORBA/Poa/gnuThreadPolicy.java, * gnu/CORBA/ServiceRequestAdapter.java, * gnu/CORBA/SetOverrideTypeHolder.java, * gnu/CORBA/SimpleDelegate.java, * gnu/CORBA/SocketRepository.java, * gnu/CORBA/StreamHolder.java, * gnu/CORBA/TypeCodeHelper.java, * gnu/CORBA/TypeKindNamer.java, * gnu/CORBA/Version.java, * gnu/CORBA/_PolicyImplBase.java, * gnu/CORBA/gnuAny.java, * gnu/CORBA/gnuCodecFactory.java, * gnu/CORBA/gnuEnvironment.java, * gnu/CORBA/gnuRequest.java, * gnu/CORBA/gnuValueHolder.java, * gnu/CORBA/interfaces/SocketFactory.java, * gnu/CORBA/typecodes/AliasTypeCode.java, * gnu/CORBA/typecodes/ArrayTypeCode.java, * gnu/CORBA/typecodes/FixedTypeCode.java, * gnu/CORBA/typecodes/GeneralTypeCode.java, * gnu/CORBA/typecodes/PrimitiveTypeCode.java, * gnu/CORBA/typecodes/RecordTypeCode.java, * gnu/CORBA/typecodes/RecursiveTypeCode.java, * gnu/CORBA/typecodes/StringTypeCode.java, * gnu/classpath/Pair.java, * gnu/classpath/Pointer.java, * gnu/classpath/Pointer32.java, * gnu/classpath/Pointer64.java, * gnu/classpath/ServiceFactory.java, * gnu/classpath/ServiceProviderLoadingAction.java, * gnu/classpath/SystemProperties.java, * gnu/classpath/debug/Component.java, * gnu/classpath/debug/PreciseFilter.java, * gnu/classpath/debug/SystemLogger.java, * gnu/classpath/debug/TeeInputStream.java, * gnu/classpath/debug/TeeReader.java, * gnu/classpath/jdwp/Jdwp.java, * gnu/classpath/jdwp/JdwpConstants.java, * gnu/classpath/jdwp/event/BreakpointEvent.java, * gnu/classpath/jdwp/event/ClassPrepareEvent.java, * gnu/classpath/jdwp/event/ClassUnloadEvent.java, * gnu/classpath/jdwp/event/Event.java, * gnu/classpath/jdwp/event/EventManager.java, * gnu/classpath/jdwp/event/EventRequest.java, * gnu/classpath/jdwp/event/ExceptionEvent.java, * gnu/classpath/jdwp/event/MethodEntryEvent.java, * gnu/classpath/jdwp/event/MethodExitEvent.java, * gnu/classpath/jdwp/event/SingleStepEvent.java, * gnu/classpath/jdwp/event/ThreadEndEvent.java, * gnu/classpath/jdwp/event/VmDeathEvent.java, * gnu/classpath/jdwp/event/VmInitEvent.java, * gnu/classpath/jdwp/event/filters/ClassExcludeFilter.java, * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java, * gnu/classpath/jdwp/event/filters/ClassOnlyFilter.java, * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java, * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java, * gnu/classpath/jdwp/event/filters/InstanceOnlyFilter.java, * gnu/classpath/jdwp/event/filters/StepFilter.java, * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java, * gnu/classpath/jdwp/exception/InvalidClassException.java, * gnu/classpath/jdwp/exception/InvalidClassLoaderException.java, * gnu/classpath/jdwp/exception/InvalidEventTypeException.java, * gnu/classpath/jdwp/exception/InvalidFieldException.java, * gnu/classpath/jdwp/exception/InvalidFrameException.java, * gnu/classpath/jdwp/exception/InvalidLocationException.java, * gnu/classpath/jdwp/exception/InvalidMethodException.java, * gnu/classpath/jdwp/exception/InvalidObjectException.java, * gnu/classpath/jdwp/exception/InvalidSlotException.java, * gnu/classpath/jdwp/exception/InvalidStringException.java, * gnu/classpath/jdwp/exception/InvalidThreadException.java, * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java, * gnu/classpath/jdwp/exception/NativeMethodException.java, * gnu/classpath/jdwp/exception/NotImplementedException.java, * gnu/classpath/jdwp/id/JdwpId.java, * gnu/classpath/jdwp/id/NullObjectId.java, * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java, * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java, * gnu/classpath/jdwp/processor/CommandSet.java, * gnu/classpath/jdwp/processor/EventRequestCommandSet.java, * gnu/classpath/jdwp/processor/FieldCommandSet.java, * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java, * gnu/classpath/jdwp/processor/MethodCommandSet.java, * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java, * gnu/classpath/jdwp/processor/PacketProcessor.java, * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java, * gnu/classpath/jdwp/processor/StackFrameCommandSet.java, * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java, * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java, * gnu/classpath/jdwp/transport/JdwpCommandPacket.java, * gnu/classpath/jdwp/transport/JdwpConnection.java, * gnu/classpath/jdwp/transport/JdwpPacket.java, * gnu/classpath/jdwp/transport/JdwpReplyPacket.java, * gnu/classpath/jdwp/transport/SocketTransport.java, * gnu/classpath/jdwp/transport/TransportFactory.java, * gnu/classpath/jdwp/util/JdwpString.java, * gnu/classpath/jdwp/util/LineTable.java, * gnu/classpath/jdwp/util/Location.java, * gnu/classpath/jdwp/util/MethodResult.java, * gnu/classpath/jdwp/util/MonitorInfo.java, * gnu/classpath/jdwp/util/Signature.java, * gnu/classpath/jdwp/util/VariableTable.java, * gnu/classpath/jdwp/value/ArrayValue.java, * gnu/classpath/jdwp/value/BooleanValue.java, * gnu/classpath/jdwp/value/ByteValue.java, * gnu/classpath/jdwp/value/CharValue.java, * gnu/classpath/jdwp/value/DoubleValue.java, * gnu/classpath/jdwp/value/FloatValue.java, * gnu/classpath/jdwp/value/IntValue.java, * gnu/classpath/jdwp/value/LongValue.java, * gnu/classpath/jdwp/value/ObjectValue.java, * gnu/classpath/jdwp/value/ShortValue.java, * gnu/classpath/jdwp/value/StringValue.java, * gnu/classpath/jdwp/value/Value.java, * gnu/classpath/jdwp/value/ValueFactory.java, * gnu/classpath/jdwp/value/VoidValue.java, * gnu/classpath/toolkit/DefaultDaemonThreadFactory.java, * gnu/java/awt/AWTUtilities.java, * gnu/java/awt/BitMaskExtent.java, * gnu/java/awt/BitwiseXORComposite.java, * gnu/java/awt/Buffers.java, * gnu/java/awt/ClasspathGraphicsEnvironment.java, * gnu/java/awt/ClasspathToolkit.java, * gnu/java/awt/ComponentDataBlitOp.java, * gnu/java/awt/EmbeddedWindow.java, * gnu/java/awt/GradientPaintContext.java, * gnu/java/awt/color/CieXyzConverter.java, * gnu/java/awt/color/ClutProfileConverter.java, * gnu/java/awt/color/ColorLookUpTable.java, * gnu/java/awt/color/GrayProfileConverter.java, * gnu/java/awt/color/GrayScaleConverter.java, * gnu/java/awt/color/LinearRGBConverter.java, * gnu/java/awt/color/ProfileHeader.java, * gnu/java/awt/color/RgbProfileConverter.java, * gnu/java/awt/color/SrgbConverter.java, * gnu/java/awt/color/ToneReproductionCurve.java, * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java, * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java, * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java, * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java, * gnu/java/awt/font/FontDelegate.java, * gnu/java/awt/font/FontFactory.java, * gnu/java/awt/font/GNUGlyphVector.java, * gnu/java/awt/font/OpenTypeFontPeer.java, * gnu/java/awt/font/autofit/GlyphHints.java, * gnu/java/awt/font/autofit/Latin.java, * gnu/java/awt/font/autofit/Utils.java, * gnu/java/awt/font/opentype/CharGlyphMap.java, * gnu/java/awt/font/opentype/GlyphNamer.java, * gnu/java/awt/font/opentype/MacResourceFork.java, * gnu/java/awt/font/opentype/NameDecoder.java, * gnu/java/awt/font/opentype/OpenTypeFont.java, * gnu/java/awt/font/opentype/OpenTypeFontFactory.java, * gnu/java/awt/font/opentype/truetype/GlyphLoader.java, * gnu/java/awt/font/opentype/truetype/GlyphLocator.java, * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java, * gnu/java/awt/font/opentype/truetype/Point.java, * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java, * gnu/java/awt/font/opentype/truetype/VirtualMachine.java, * gnu/java/awt/font/opentype/truetype/Zone.java, * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java, * gnu/java/awt/image/AsyncImage.java, * gnu/java/awt/image/ImageConverter.java, * gnu/java/awt/image/ImageDecoder.java, * gnu/java/awt/image/XBMDecoder.java, * gnu/java/awt/java2d/AbstractGraphics2D.java, * gnu/java/awt/java2d/AlphaCompositeContext.java, * gnu/java/awt/java2d/CubicSegment.java, * gnu/java/awt/java2d/LineSegment.java, * gnu/java/awt/java2d/PixelCoverage.java, * gnu/java/awt/java2d/QuadSegment.java, * gnu/java/awt/java2d/RasterGraphics.java, * gnu/java/awt/java2d/ScanlineConverter.java, * gnu/java/awt/java2d/ScanlineCoverage.java, * gnu/java/awt/java2d/Segment.java, * gnu/java/awt/java2d/TexturePaintContext.java, * gnu/java/awt/peer/ClasspathDesktopPeer.java, * gnu/java/awt/peer/ClasspathFontPeer.java, * gnu/java/awt/peer/GLightweightPeer.java, * gnu/java/awt/peer/GnomeDesktopPeer.java, * gnu/java/awt/peer/KDEDesktopPeer.java, * gnu/java/awt/peer/gtk/AsyncImage.java, * gnu/java/awt/peer/gtk/BufferedImageGraphics.java, * gnu/java/awt/peer/gtk/CairoGraphics2D.java, * gnu/java/awt/peer/gtk/CairoSurface.java, * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java, * gnu/java/awt/peer/gtk/ComponentGraphics.java, * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java, * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java, * gnu/java/awt/peer/gtk/GdkFontPeer.java, * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java, * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, * gnu/java/awt/peer/gtk/GdkRobotPeer.java, * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, * gnu/java/awt/peer/gtk/GtkButtonPeer.java, * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, * gnu/java/awt/peer/gtk/GtkChoicePeer.java, * gnu/java/awt/peer/gtk/GtkClipboard.java, * gnu/java/awt/peer/gtk/GtkComponentPeer.java, * gnu/java/awt/peer/gtk/GtkContainerPeer.java, * gnu/java/awt/peer/gtk/GtkCursor.java, * gnu/java/awt/peer/gtk/GtkDialogPeer.java, * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, * gnu/java/awt/peer/gtk/GtkFramePeer.java, * gnu/java/awt/peer/gtk/GtkGenericPeer.java, * gnu/java/awt/peer/gtk/GtkImage.java, * gnu/java/awt/peer/gtk/GtkImageConsumer.java, * gnu/java/awt/peer/gtk/GtkLabelPeer.java, * gnu/java/awt/peer/gtk/GtkListPeer.java, * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, * gnu/java/awt/peer/gtk/GtkMenuPeer.java, * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java, * gnu/java/awt/peer/gtk/GtkPanelPeer.java, * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, * gnu/java/awt/peer/gtk/GtkSelection.java, * gnu/java/awt/peer/gtk/GtkToolkit.java, * gnu/java/awt/peer/gtk/GtkVolatileImage.java, * gnu/java/awt/peer/gtk/GtkWindowPeer.java, * gnu/java/awt/peer/gtk/VolatileImageGraphics.java, * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java, * gnu/java/awt/peer/qt/MainQtThread.java, * gnu/java/awt/peer/qt/QMatrix.java, * gnu/java/awt/peer/qt/QPainterPath.java, * gnu/java/awt/peer/qt/QPen.java, * gnu/java/awt/peer/qt/QtAudioClip.java, * gnu/java/awt/peer/qt/QtButtonPeer.java, * gnu/java/awt/peer/qt/QtCheckboxPeer.java, * gnu/java/awt/peer/qt/QtChoicePeer.java, * gnu/java/awt/peer/qt/QtComponentGraphics.java, * gnu/java/awt/peer/qt/QtComponentPeer.java, * gnu/java/awt/peer/qt/QtContainerPeer.java, * gnu/java/awt/peer/qt/QtDialogPeer.java, * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java, * gnu/java/awt/peer/qt/QtFileDialogPeer.java, * gnu/java/awt/peer/qt/QtFontMetrics.java, * gnu/java/awt/peer/qt/QtFontPeer.java, * gnu/java/awt/peer/qt/QtFramePeer.java, * gnu/java/awt/peer/qt/QtGraphics.java, * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java, * gnu/java/awt/peer/qt/QtImage.java, * gnu/java/awt/peer/qt/QtImageConsumer.java, * gnu/java/awt/peer/qt/QtImageDirectGraphics.java, * gnu/java/awt/peer/qt/QtImageGraphics.java, * gnu/java/awt/peer/qt/QtLabelPeer.java, * gnu/java/awt/peer/qt/QtListPeer.java, * gnu/java/awt/peer/qt/QtMenuBarPeer.java, * gnu/java/awt/peer/qt/QtMenuComponentPeer.java, * gnu/java/awt/peer/qt/QtMenuItemPeer.java, * gnu/java/awt/peer/qt/QtMenuPeer.java, * gnu/java/awt/peer/qt/QtPanelPeer.java, * gnu/java/awt/peer/qt/QtPopupMenuPeer.java, * gnu/java/awt/peer/qt/QtRepaintThread.java, * gnu/java/awt/peer/qt/QtScreenDevice.java, * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java, * gnu/java/awt/peer/qt/QtScrollPanePeer.java, * gnu/java/awt/peer/qt/QtScrollbarPeer.java, * gnu/java/awt/peer/qt/QtTextAreaPeer.java, * gnu/java/awt/peer/qt/QtTextFieldPeer.java, * gnu/java/awt/peer/qt/QtToolkit.java, * gnu/java/awt/peer/qt/QtVolatileImage.java, * gnu/java/awt/peer/qt/QtWindowPeer.java, * gnu/java/awt/peer/swing/SwingButtonPeer.java, * gnu/java/awt/peer/swing/SwingCheckboxPeer.java, * gnu/java/awt/peer/swing/SwingComponent.java, * gnu/java/awt/peer/swing/SwingComponentPeer.java, * gnu/java/awt/peer/swing/SwingContainerPeer.java, * gnu/java/awt/peer/swing/SwingLabelPeer.java, * gnu/java/awt/peer/swing/SwingListPeer.java, * gnu/java/awt/peer/swing/SwingMenuItemPeer.java, * gnu/java/awt/peer/swing/SwingMenuPeer.java, * gnu/java/awt/peer/swing/SwingTextAreaPeer.java, * gnu/java/awt/peer/swing/SwingTextFieldPeer.java, * gnu/java/awt/peer/x/GLGraphics.java, * gnu/java/awt/peer/x/KeyboardMapping.java, * gnu/java/awt/peer/x/XEventPump.java, * gnu/java/awt/peer/x/XFontPeer.java, * gnu/java/awt/peer/x/XFramePeer.java, * gnu/java/awt/peer/x/XGraphics2D.java, * gnu/java/awt/peer/x/XGraphicsConfiguration.java, * gnu/java/awt/peer/x/XGraphicsDevice.java, * gnu/java/awt/peer/x/XGraphicsEnvironment.java, * gnu/java/awt/peer/x/XImage.java, * gnu/java/awt/peer/x/XToolkit.java, * gnu/java/awt/peer/x/XWindowPeer.java, * gnu/java/awt/print/JavaPrinterGraphics.java, * gnu/java/awt/print/JavaPrinterJob.java, * gnu/java/awt/print/PostScriptGraphics2D.java, * gnu/java/awt/print/SpooledDocument.java, * gnu/java/beans/BeanInfoEmbryo.java, * gnu/java/beans/DefaultExceptionListener.java, * gnu/java/beans/ExplicitBeanInfo.java, * gnu/java/beans/IntrospectionIncubator.java, * gnu/java/beans/decoder/AbstractContext.java, * gnu/java/beans/decoder/AbstractCreatableObjectContext.java, * gnu/java/beans/decoder/AbstractElementHandler.java, * gnu/java/beans/decoder/AbstractObjectContext.java, * gnu/java/beans/decoder/ArrayContext.java, * gnu/java/beans/decoder/ArrayHandler.java, * gnu/java/beans/decoder/AssemblyException.java, * gnu/java/beans/decoder/BooleanHandler.java, * gnu/java/beans/decoder/ByteHandler.java, * gnu/java/beans/decoder/CharHandler.java, * gnu/java/beans/decoder/ClassHandler.java, * gnu/java/beans/decoder/ConstructorContext.java, * gnu/java/beans/decoder/Context.java, * gnu/java/beans/decoder/DecoderContext.java, * gnu/java/beans/decoder/DoubleHandler.java, * gnu/java/beans/decoder/DummyContext.java, * gnu/java/beans/decoder/DummyHandler.java, * gnu/java/beans/decoder/ElementHandler.java, * gnu/java/beans/decoder/FloatHandler.java, * gnu/java/beans/decoder/GrowableArrayContext.java, * gnu/java/beans/decoder/IndexContext.java, * gnu/java/beans/decoder/IntHandler.java, * gnu/java/beans/decoder/JavaHandler.java, * gnu/java/beans/decoder/LongHandler.java, * gnu/java/beans/decoder/MethodContext.java, * gnu/java/beans/decoder/MethodFinder.java, * gnu/java/beans/decoder/NullHandler.java, * gnu/java/beans/decoder/ObjectContext.java, * gnu/java/beans/decoder/ObjectHandler.java, * gnu/java/beans/decoder/PersistenceParser.java, * gnu/java/beans/decoder/PropertyContext.java, * gnu/java/beans/decoder/ShortHandler.java, * gnu/java/beans/decoder/SimpleHandler.java, * gnu/java/beans/decoder/StaticMethodContext.java, * gnu/java/beans/decoder/StringHandler.java, * gnu/java/beans/decoder/VoidHandler.java, * gnu/java/beans/editors/ColorEditor.java, * gnu/java/beans/editors/FontEditor.java, * gnu/java/beans/editors/NativeBooleanEditor.java, * gnu/java/beans/editors/NativeByteEditor.java, * gnu/java/beans/editors/NativeDoubleEditor.java, * gnu/java/beans/editors/NativeFloatEditor.java, * gnu/java/beans/editors/NativeIntEditor.java, * gnu/java/beans/editors/NativeLongEditor.java, * gnu/java/beans/editors/NativeShortEditor.java, * gnu/java/beans/editors/StringEditor.java, * gnu/java/beans/encoder/ArrayPersistenceDelegate.java, * gnu/java/beans/encoder/ClassPersistenceDelegate.java, * gnu/java/beans/encoder/CollectionPersistenceDelegate.java, * gnu/java/beans/encoder/Context.java, * gnu/java/beans/encoder/GenericScannerState.java, * gnu/java/beans/encoder/IgnoringScannerState.java, * gnu/java/beans/encoder/MapPersistenceDelegate.java, * gnu/java/beans/encoder/ObjectId.java, * gnu/java/beans/encoder/PrimitivePersistenceDelegate.java, * gnu/java/beans/encoder/ReportingScannerState.java, * gnu/java/beans/encoder/Root.java, * gnu/java/beans/encoder/ScanEngine.java, * gnu/java/beans/encoder/ScannerState.java, * gnu/java/beans/encoder/StAXWriter.java, * gnu/java/beans/encoder/Writer.java, * gnu/java/beans/encoder/elements/ArrayInstantiation.java, * gnu/java/beans/encoder/elements/Array_Get.java, * gnu/java/beans/encoder/elements/ClassResolution.java, * gnu/java/beans/encoder/elements/Element.java, * gnu/java/beans/encoder/elements/List_Get.java, * gnu/java/beans/encoder/elements/List_Set.java, * gnu/java/beans/encoder/elements/MethodInvocation.java, * gnu/java/beans/encoder/elements/NullObject.java, * gnu/java/beans/encoder/elements/ObjectInstantiation.java, * gnu/java/beans/encoder/elements/ObjectReference.java, * gnu/java/beans/encoder/elements/PrimitiveInstantiation.java, * gnu/java/beans/encoder/elements/StaticFieldAccess.java, * gnu/java/beans/encoder/elements/StaticMethodInvocation.java, * gnu/java/beans/encoder/elements/StringReference.java, * gnu/java/io/ASN1ParsingException.java, * gnu/java/io/Base64InputStream.java, * gnu/java/io/ClassLoaderObjectInputStream.java, * gnu/java/io/NullOutputStream.java, * gnu/java/io/ObjectIdentityMap2Int.java, * gnu/java/io/ObjectIdentityWrapper.java, * gnu/java/io/PlatformHelper.java, * gnu/java/lang/CPStringBuilder.java, * gnu/java/lang/CharData.java, * gnu/java/lang/InstrumentationImpl.java, * gnu/java/lang/MainThread.java, * gnu/java/lang/management/BeanImpl.java, * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, * gnu/java/lang/management/CompilationMXBeanImpl.java, * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, * gnu/java/lang/management/MemoryMXBeanImpl.java, * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, * gnu/java/lang/management/OperatingSystemMXBeanImpl.java, * gnu/java/lang/management/RuntimeMXBeanImpl.java, * gnu/java/lang/management/ThreadMXBeanImpl.java, * gnu/java/lang/reflect/TypeSignature.java, * gnu/java/locale/LocaleHelper.java, * gnu/java/math/Fixed.java, * gnu/java/math/GMP.java, * gnu/java/math/MPN.java, * gnu/java/net/CRLFInputStream.java, * gnu/java/net/CRLFOutputStream.java, * gnu/java/net/DefaultContentHandlerFactory.java, * gnu/java/net/DefaultProxySelector.java, * gnu/java/net/EmptyX509TrustManager.java, * gnu/java/net/GetLocalHostAction.java, * gnu/java/net/HeaderFieldHelper.java, * gnu/java/net/IndexListParser.java, * gnu/java/net/LineInputStream.java, * gnu/java/net/PlainDatagramSocketImpl.java, * gnu/java/net/PlainSocketImpl.java, * gnu/java/net/loader/FileResource.java, * gnu/java/net/loader/FileURLLoader.java, * gnu/java/net/loader/JarURLLoader.java, * gnu/java/net/loader/JarURLResource.java, * gnu/java/net/loader/RemoteResource.java, * gnu/java/net/loader/RemoteURLLoader.java, * gnu/java/net/loader/Resource.java, * gnu/java/net/loader/URLLoader.java, * gnu/java/net/protocol/file/Connection.java, * gnu/java/net/protocol/file/Handler.java, * gnu/java/net/protocol/ftp/ActiveModeDTP.java, * gnu/java/net/protocol/ftp/BlockInputStream.java, * gnu/java/net/protocol/ftp/BlockOutputStream.java, * gnu/java/net/protocol/ftp/CompressedInputStream.java, * gnu/java/net/protocol/ftp/CompressedOutputStream.java, * gnu/java/net/protocol/ftp/DTP.java, * gnu/java/net/protocol/ftp/DTPInputStream.java, * gnu/java/net/protocol/ftp/DTPOutputStream.java, * gnu/java/net/protocol/ftp/FTPConnection.java, * gnu/java/net/protocol/ftp/FTPException.java, * gnu/java/net/protocol/ftp/FTPResponse.java, * gnu/java/net/protocol/ftp/FTPURLConnection.java, * gnu/java/net/protocol/ftp/Handler.java, * gnu/java/net/protocol/ftp/PassiveModeDTP.java, * gnu/java/net/protocol/ftp/StreamInputStream.java, * gnu/java/net/protocol/ftp/StreamOutputStream.java, * gnu/java/net/protocol/http/Authenticator.java, * gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java, * gnu/java/net/protocol/http/ChunkedInputStream.java, * gnu/java/net/protocol/http/Cookie.java, * gnu/java/net/protocol/http/CookieManager.java, * gnu/java/net/protocol/http/Credentials.java, * gnu/java/net/protocol/http/HTTPConnection.java, * gnu/java/net/protocol/http/HTTPDateFormat.java, * gnu/java/net/protocol/http/HTTPURLConnection.java, * gnu/java/net/protocol/http/Handler.java, * gnu/java/net/protocol/http/Headers.java, * gnu/java/net/protocol/http/Request.java, * gnu/java/net/protocol/http/RequestBodyWriter.java, * gnu/java/net/protocol/http/Response.java, * gnu/java/net/protocol/http/ResponseHeaderHandler.java, * gnu/java/net/protocol/http/SimpleCookieManager.java, * gnu/java/net/protocol/https/Handler.java, * gnu/java/net/protocol/jar/Connection.java, * gnu/java/net/protocol/jar/Handler.java, * gnu/java/nio/ChannelInputStream.java, * gnu/java/nio/ChannelOutputStream.java, * gnu/java/nio/ChannelReader.java, * gnu/java/nio/ChannelWriter.java, * gnu/java/nio/DatagramChannelImpl.java, * gnu/java/nio/DatagramChannelSelectionKey.java, * gnu/java/nio/EpollSelectionKeyImpl.java, * gnu/java/nio/EpollSelectorImpl.java, * gnu/java/nio/FileChannelImpl.java, * gnu/java/nio/FileLockImpl.java, * gnu/java/nio/InputStreamChannel.java, * gnu/java/nio/KqueueSelectionKeyImpl.java, * gnu/java/nio/KqueueSelectorImpl.java, * gnu/java/nio/NIODatagramSocket.java, * gnu/java/nio/NIOServerSocket.java, * gnu/java/nio/NIOSocket.java, * gnu/java/nio/NIOSocketImpl.java, * gnu/java/nio/OutputStreamChannel.java, * gnu/java/nio/PipeImpl.java, * gnu/java/nio/SelectionKeyImpl.java, * gnu/java/nio/SelectorImpl.java, * gnu/java/nio/SelectorProviderImpl.java, * gnu/java/nio/ServerSocketChannelImpl.java, * gnu/java/nio/ServerSocketChannelSelectionKey.java, * gnu/java/nio/SocketChannelImpl.java, * gnu/java/nio/SocketChannelSelectionKey.java, * gnu/java/nio/SocketChannelSelectionKeyImpl.java, * gnu/java/nio/VMChannelOwner.java, * gnu/java/nio/charset/ByteCharset.java, * gnu/java/nio/charset/ByteDecodeLoopHelper.java, * gnu/java/nio/charset/ByteEncodeLoopHelper.java, * gnu/java/nio/charset/Cp424.java, * gnu/java/nio/charset/Cp437.java, * gnu/java/nio/charset/Cp737.java, * gnu/java/nio/charset/Cp775.java, * gnu/java/nio/charset/Cp850.java, * gnu/java/nio/charset/Cp852.java, * gnu/java/nio/charset/Cp855.java, * gnu/java/nio/charset/Cp857.java, * gnu/java/nio/charset/Cp860.java, * gnu/java/nio/charset/Cp861.java, * gnu/java/nio/charset/Cp862.java, * gnu/java/nio/charset/Cp863.java, * gnu/java/nio/charset/Cp864.java, * gnu/java/nio/charset/Cp865.java, * gnu/java/nio/charset/Cp866.java, * gnu/java/nio/charset/Cp869.java, * gnu/java/nio/charset/Cp874.java, * gnu/java/nio/charset/EncodingHelper.java, * gnu/java/nio/charset/ISO_8859_1.java, * gnu/java/nio/charset/ISO_8859_13.java, * gnu/java/nio/charset/ISO_8859_15.java, * gnu/java/nio/charset/ISO_8859_2.java, * gnu/java/nio/charset/ISO_8859_3.java, * gnu/java/nio/charset/ISO_8859_4.java, * gnu/java/nio/charset/ISO_8859_5.java, * gnu/java/nio/charset/ISO_8859_6.java, * gnu/java/nio/charset/ISO_8859_7.java, * gnu/java/nio/charset/ISO_8859_8.java, * gnu/java/nio/charset/ISO_8859_9.java, * gnu/java/nio/charset/KOI_8.java, * gnu/java/nio/charset/MS874.java, * gnu/java/nio/charset/MacCentralEurope.java, * gnu/java/nio/charset/MacCroatian.java, * gnu/java/nio/charset/MacCyrillic.java, * gnu/java/nio/charset/MacDingbat.java, * gnu/java/nio/charset/MacGreek.java, * gnu/java/nio/charset/MacIceland.java, * gnu/java/nio/charset/MacRoman.java, * gnu/java/nio/charset/MacRomania.java, * gnu/java/nio/charset/MacSymbol.java, * gnu/java/nio/charset/MacThai.java, * gnu/java/nio/charset/MacTurkish.java, * gnu/java/
* Fix typo and access to VMSecureRandom.Andrew John Hughes2009-02-031-2/+1
| | | | | | | | | | | | | | | | 2009-02-03 Andrew John Hughes <ahughes@redhat.com> PR classpath/38417: * gnu/java/security/jce/prng/SecureRandomAdapter.java: Remove unneeded import. * gnu/javax/crypto/jce/prng/FortunaImpl.java: Fix typo. * java/security/SecureRandom.java: Remove duplicate use of VMSecureRandom, call SecureRandomAdapter instead. * vm/reference/gnu/java/security/jce/prng/VMSecureRandom.java: Moved from java/security so SecureRandomAdapter can access it.
* 2009-01-22 Mario Torre <neugens@aicas.com>Andrew John Hughes2009-02-031-22/+100
| | | | | | | | | | | | | | | | | | | | | | | | | PR classpath/38417: * gnu/java/security/jce/prng/SecureRandomAdapter.java: (getSeed(int)): New; retrieve seed from source specified by securerandom.source property or failing that, use VMSecureRandom. * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: (engineGenerateSeed(int)): Use SecureRandomAdapter. (engineNextBytes(byte[])): Initialise using new seed. * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: (engineGenerateSeed(int)): Use SecureRandomAdapter. (engineNextBytes(byte[])): Initialise using new seed. * gnu/javax/crypto/jce/prng/FortunaImpl.java: (engineSetSeed(byte[])): Initialise with new seed if unused. (engineGenerateSeed(int)): Use SecureRandomAdapter. * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: (engineGenerateSeed(int)): Use SecureRandomAdapter. (engineNextBytes(byte[])): Initialise using new seed. * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: (engineGenerateSeed(int)): Use SecureRandomAdapter. (engineNextBytes(byte[])): Initialise using new seed. * gnu/javax/crypto/prng/ICMGenerator.java: (setup(Map)): Call fillBlock().
* Fixes PR #34991Robert Schuster2009-01-061-2/+4
| | | | | | | 2009-01-05 Robert Schuster <robertschuster@fsfe.org> * gnu/java/awt/peer/gtk/CairoGraphics2D.java: (drawPolyline): Rewritten.
* 2008-11-05 Andrew Haley <aph@redhat.com>Andrew Haley2008-11-051-4/+6
| | | | | | | | * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (getKerning): Return result in a float[], not a Point2D. (performDefaultLayout): Call getKerning with a float[]. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c (getKerning): Return result in a float[], not a Point2D.
* 2008-09-04 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2008-09-042-4/+8
| | | | | | | * gnu/java/nio/charset/ByteDecodeLoopHelper: (arrayDecodeLoop): Added new break label, escape to that label. * gnu/java/nio/charset/ByteEncodeLoopHelper: (arrayDecodeLoop): Added new break label, escape to that label.
* 2008-09-01 Mario Torre <neugens@aicas.com>Mario Torre2008-09-011-5/+0
| | | | | * gnu/java/awt/peer/x/XImage.java (XImageProducer): remove @Override annotation to allow compilation on javac < 1.5
* 2008-09-01 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-09-0131-3571/+4690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/util/regex/BacktrackStack.java, * gnu/java/util/regex/CharIndexed.java, * gnu/java/util/regex/CharIndexedCharArray.java, * gnu/java/util/regex/CharIndexedCharSequence.java, * gnu/java/util/regex/CharIndexedInputStream.java, * gnu/java/util/regex/CharIndexedString.java, * gnu/java/util/regex/CharIndexedStringBuffer.java, * gnu/java/util/regex/RE.java, * gnu/java/util/regex/REException.java, * gnu/java/util/regex/REFilterInputStream.java, * gnu/java/util/regex/REMatch.java, * gnu/java/util/regex/REMatchEnumeration.java, * gnu/java/util/regex/RESyntax.java, * gnu/java/util/regex/REToken.java, * gnu/java/util/regex/RETokenAny.java, * gnu/java/util/regex/RETokenBackRef.java, * gnu/java/util/regex/RETokenChar.java, * gnu/java/util/regex/RETokenEnd.java, * gnu/java/util/regex/RETokenEndOfPreviousMatch.java, * gnu/java/util/regex/RETokenEndSub.java, * gnu/java/util/regex/RETokenIndependent.java, * gnu/java/util/regex/RETokenLookAhead.java, * gnu/java/util/regex/RETokenLookBehind.java, * gnu/java/util/regex/RETokenNamedProperty.java, * gnu/java/util/regex/RETokenOneOf.java, * gnu/java/util/regex/RETokenPOSIX.java, * gnu/java/util/regex/RETokenRange.java, * gnu/java/util/regex/RETokenRepeated.java, * gnu/java/util/regex/RETokenStart.java, * gnu/java/util/regex/RETokenWordBoundary.java, * gnu/java/util/regex/UncheckedRE.java: Fix indentation.
* 2008-09-01 Mario Torre <neugens@aicas.com>Mario Torre2008-09-012-7/+96
| | | | | | | | * gnu/java/awt/peer/x/XGraphicsDevice.java (getDisplay): fix to support new Escher API. * gnu/java/awt/peer/x/XImage.java (getSource): method implemented. * gnu/java/awt/peer/x/XImage.java (XImageProducer): implement ImageProducer for getSource.
* Fix FindBugs issues.Andrew John Hughes2008-09-011-3/+8
| | | | | | | | | | | | | | | | | | | | | | | 2008-09-01 Andrew John Hughes <gnu_andrew@member.fsf.org> * gnu/java/util/regex/RETokenStart.java: (getMaximumLength()): Add Override annotation. (matchThis(CharIndexed, REMatch)): Likewise. (returnsFixedLengthMatches()): Renamed from returnsFixedLengthmatches and added Override annotation. (findFixedLengthMatches(CharIndexed,REMatch,int)): Add Override annotation. (dump(CPStringBuilder)): Likewise. * gnu/javax/print/ipp/IppRequest.java: (RequestWriter.writeOperationAttributes(AttributeSet)): Throw exception, don't just create and drop it. * javax/management/MBeanServerPermission.java: (MBeanServerPermissionCollection.add(Permission)): Compare against individual Strings not the entire array, and store the result of replace. * javax/swing/text/html/StyleSheet.java: (setBaseFontSize(size)): Store result of trim().
* * gnu/java/net/protocol/http/LimitedLengthInputStream.java: Clean upDavid Daney2008-07-121-19/+15
| | | | | white space in entire file. (handleClose): Remove redundant braces from if statement.
* 2008-06-22 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-06-221-0/+474
| | | | | | | | | | | | | | | | | | | PR classpath/28664: * gnu/java/math/GMP.java: Renamed from VMBigInteger.java and fixed to use GMP instances directly. * include/Makefile.am: Generate GMP.h not VMBigInteger.h. * java/math/BigInteger.java: Send instances of GMP in calls to GMP rather than the wrapping BigInteger class. * native/jni/java-math/Makefile.am: Fix filename of source code file. * native/jni/java-math/gnu_java_math_GMP.c: Renamed from java_math_VMBigInteger.c. * native/jni/java-math/java_math_VMBigInteger.c, * vm/reference/java/math/VMBigInteger.java: Removed.
* 2008-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-06-151-1/+1
| | | | | | PR classpath/36522: * gnu/java/security/PolicyFile.java: Correct typo changing seperator to separator.
* 2008-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-06-151-6/+15
| | | | | | | | | | PR classpath/36477: * gnu/java/lang/CPStringBuilder.java, (setLength(int)): Don't ensure capacity when new length is 0. (ensureCapacity(int)): Allocate double the minimum capacity rather than double the array length when allocating a new array after a write.
* 2008-06-15 Mario Torre <neugens@aicas.com>Mario Torre2008-06-151-3/+0
| | | | | * gnu/java/awt/java2d/RasterGraphics.java: remove unused import that cause compilation to fail when xpeers are not enabled.
* 2008-06-15 Mario Torre <neugens@aicas.com>Mario Torre2008-06-157-50/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/java2d/AbstractGraphics2D.java (setColor): delegate to setPaint. (setPaint): fix to set paint context and foreground color. (imageCache): new field. (drawImage): new codepath for scaling images. (prepareImage): new method. (getPaintContext): set paintContext appropriately. * gnu/java/awt/java2d/RasterGraphics.java (renderScanline): new method, override from superclass to detect correct value of y while rendering the scanline. * gnu/java/awt/java2d/ScanlineConverter.java (renderShape): revert previous patch. * gnu/java/awt/peer/x/XEventPump.java (findMouseEventTarget): new method. (handleButtonPress): use of findMouseEventTarget to detect the correct target. (handleButtonRelease): likewise. * gnu/java/awt/peer/x/XGraphics2D.java (rawDrawImage): clip the target image so that it is completely contained in the destination pixmaps, as per X11 specification. * gnu/java/awt/peer/x/XToolkit.java (createTextField): method implemented. (createButton): likewise. (prepareImage): likewise. (createLabel): likewise. (checkImage): likewise. (createTextArea): likewise. (createCheckbox): likewise. (checkHeadLess): new method. * gnu/javax/imageio/bmp/BMPImageWriter.java (write): don't close the stream. * gnu/javax/imageio/bmp/BMPImageWriterSpi.java (names): added new names to the list of known names for BMP. * java/awt/image/WritableRaster.java (createWritableTranslatedChild): * javax/imageio/ImageIO.java (write): call dispose on ImageWriter after writing of the image.
* * gnu/java/awt/java2d/AbstractGraphics2D.java: Removed XDialogPeerMark Wielaard2008-06-011-1/+0
| | | | import.
* 2008-05-29 Mario Torre <neugens@aicas.com>Mario Torre2008-05-295-29/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/java2d/AbstractGraphics2D.java (setColor): now set directly the foreground color the application wants to use to draw. On null, behave like OpenJDK, drawing black. (renderScanline): fixed NPE, paintContext never initialized. Correctely retrieve destination raster (getColor): Return the correct type. (static initializer): HashMap now typed. (background): now defaults to black and not null. (getPaintContext): new method. Initialize lazily the PaintContext. (foreground): new field. (isForegroundColorNull): likewise. (getDeviceBounds): made abstract. * gnu/java/awt/java2d/RasterGraphics.java (getDeviceBounds): new method. * gnu/java/awt/java2d/ScanlineConverter.java (renderShape): pass correct value of Y to doScanline. * gnu/java/awt/peer/x/GLGraphics.java (getDeviceBounds): new method. (setBackground): synch with new Escher 2.0 API. * gnu/java/awt/peer/x/XGraphicsConfiguration.java (getDefaultTransform): implemented. (getBounds): new method. * java/awt/AlphaComposite.java (derive(int) and derive(float)): new methods. * java/awt/image/WritableRaster.java (createWritableTranslatedChild): now call createWritableChild. (createWritableChild): reformatted.
* 2008-05-19 Mario Torre <neugens@aicas.com>Mario Torre2008-05-192-152/+188
| | | | | | | | | | | | | | | * gnu/java/awt/peer/x/XEventPump.java (handleExpose): new method. (handleDestroyNotify): likewise. (handleClientMessage): likewise. (handleButtonRelease): likewise. (handleMotionNotify): likewise. (handleKeyEvent): likewise. (handleButtonPress): likewise. (handleEvent): refactored to use new methods instead of a big switch block. Fixed resizing of windows. * gnu/java/awt/peer/x/XWindowPeer.java (standardSelect): update list of flags for X11 events handling. (callback): removed now unused flag.
* 2008-05-11 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-111-2/+2
| | | | | | | * gnu/java/lang/CPStringBuilder.java: (toString()): Fix comments to reflect copying changes. * vm/reference/gnu/java/lang/VMCPStringBuilder.java: (toString()): Likewise.
* 2008-05-11 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-111-43/+53
| | | | | | | | | | | | | | | PR classpath/36147 * gnu/java/lang/CPStringBuilder.java: (allocated): New flag to mark whether or not the array has been allocated to a String object. (ensureCapacity(int)): Removed. (ensureCapacity_unsynchronized(int)): Renamed to ensureCapacity, and creates an array when allocated is true. (allocateArray(int)): Added. (trimToSize()): Use allocateArray method. (toString()): Set allocated to true; (substring(int,int)): Likewise.
* 2008-05-11 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-111-9/+23
| | | | | * gnu/java/lang/CPStringBuilder.java: Make default capacity configurable.
* 2008-05-10 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-093-48/+40
| | | | | | | | | * gnu/java/util/regex/RE.java: Switch to use generic ArrayLists. * gnu/java/util/regex/REMatchEnumeration.java: Make the enumeration implementation generic. * gnu/java/util/regex/RETokenLookBehind.java: Remove unused variables.
* 2008-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-072-61/+43
| | | | | | | | | | | | | Add generics to these classes. * gnu/java/util/regex/RETokenOneOf.java: Use an ArrayList and a Deque instead of a Vector and a Stack to remove unnecessary synchronisation. * gnu/java/util/regex/RETokenRepeated.java: Replace custom FindMatchControlStack class with a generic Deque. * java/util/regex/Pattern.java: Use a generic ArrayList instance.
* 2008-05-07 Mario Torre <neugens@limasoftware.net>Mario Torre2008-05-071-2/+10
| | | | | * gnu/java/awt/peer/x/XEventPump.java (handleEvent): Fixed mouse dragging and movement in XEventPump. Patch from Roman Kennke.
* 2008-05-07 Mario Torre <neugens@aicas.com>Mario Torre2008-05-074-10/+53
| | | | | | | | | | | | | | | * gnu/java/awt/peer/x/XEventPump.java (handleEvent): xEvent.code is now masked to identify and react to syntetic events. Added UnmapNotify, DestroyNotify and ClientMessage to the list of event handled. * gnu/java/awt/peer/x/XFramePeer.java (getState): initial implementation. * gnu/java/awt/peer/x/XGraphics2D.java (setPaint): fix NPE, this is a workaround, the code have to be fixed in a better way. * gnu/java/awt/peer/x/XWindowPeer.java (getXwindow): new method to allow access to the underling xwindow. (standardSelect): add more events for notification. (XWindowPeer): call set_wm_delete_window to ask the WM to notify us when a delete event occur.
* 2008-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-051-2/+16
| | | | | | | | | | | | | | | | | | | | | PR classpath/21869 * gnu/java/lang/CPStringBuilder.java: (substring(int)): Added. * gnu/javax/naming/giop/CorbalocParser.java, * gnu/javax/naming/giop/GiopNamingServiceFactory.java, * gnu/javax/naming/giop/ListBindingsEnumeration.java, * gnu/javax/naming/giop/ListEnumeration.java, * gnu/javax/naming/ictxImpl/trans/GnuName.java, * gnu/javax/net/ssl/PrivateCredentials.java, * gnu/javax/net/ssl/Session.java, * gnu/javax/net/ssl/provider/HelloRequest.java, * gnu/javax/net/ssl/provider/Util.java, * gnu/javax/print/ipp/attribute/RequestedAttributes.java, * gnu/javax/rmi/CORBA/RmiUtilities.java, * gnu/javax/security/auth/callback/AWTCallbackHandler.java, * gnu/javax/security/auth/login/ConfigFileTokenizer.java, * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: Swap use of StringBuffer for CPStringBuilder,
* 2008-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-0523-38/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR classpath/21869 * gnu/java/util/Base64.java, * gnu/java/util/prefs/NodeWriter.java, * gnu/java/util/regex/RE.java, * gnu/java/util/regex/REException.java, * gnu/java/util/regex/REMatch.java, * gnu/java/util/regex/REMatchEnumeration.java, * gnu/java/util/regex/REToken.java, * gnu/java/util/regex/RETokenAny.java, * gnu/java/util/regex/RETokenBackRef.java, * gnu/java/util/regex/RETokenChar.java, * gnu/java/util/regex/RETokenEnd.java, * gnu/java/util/regex/RETokenEndOfPreviousMatch.java, * gnu/java/util/regex/RETokenEndSub.java, * gnu/java/util/regex/RETokenIndependent.java, * gnu/java/util/regex/RETokenLookAhead.java, * gnu/java/util/regex/RETokenLookBehind.java, * gnu/java/util/regex/RETokenNamedProperty.java, * gnu/java/util/regex/RETokenOneOf.java, * gnu/java/util/regex/RETokenPOSIX.java, * gnu/java/util/regex/RETokenRange.java, * gnu/java/util/regex/RETokenRepeated.java, * gnu/java/util/regex/RETokenStart.java, * gnu/java/util/regex/RETokenWordBoundary.java: Swap use of StringBuffer for CPStringBuilder,
* 2008-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-053-15/+49
| | | | | | | | | | | | | | PR classpath/21869 * gnu/java/lang/CPStringBuilder.java: (CPStringBuilder(StringBuffer)): Added. (CPStringBuulder(StringBuilder)): Likewise. * gnu/java/text/AttributedFormatBuffer.java: Swap use of StringBuffer for CPStringBuilder, and make fields final. * gnu/java/text/StringFormatBuffer.java: Make fields final. * java/text/SimpleDateFormat.java: Add thread safety warning.
* 2008-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-0511-25/+46
| | | | | | | | | | | | | | | | PR classpath/21869 * gnu/java/security/OID.java, * gnu/java/security/PolicyFile.java, * gnu/java/security/der/BitString.java, * gnu/java/security/der/DERReader.java, * gnu/java/security/jce/sig/DSSParameters.java, * gnu/java/security/provider/X509CertificateFactory.java, * gnu/java/security/util/ByteArray.java, * gnu/java/security/util/Util.java, * gnu/java/security/x509/PolicyNodeImpl.java, * gnu/java/security/x509/Util.java, * gnu/java/security/x509/X500DistinguishedName.java: Swap use of StringBuffer for CPStringBuilder.
* 2008-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-054-10/+18
| | | | | | | | | PR classpath/21869 * gnu/java/net/protocol/ftp/FTPConnection.java, * gnu/java/net/protocol/jar/Handler.java, * gnu/java/rmi/server/RMIClassLoaderImpl.java, * gnu/java/rmi/server/RMIHashes.java: Swap use of StringBuffer for CPStringBuilder.
* 2008-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-05-055-8/+30
| | | | | | | | | | | PR classpath/21869 * gnu/classpath/jdwp/util/Signature.java, * gnu/java/awt/font/opentype/GlyphNamer.java, * gnu/java/awt/font/opentype/truetype/Fixed.java, * gnu/java/awt/font/opentype/truetype/VirtualMachine.java, * gnu/java/awt/peer/gtk/GdkFontPeer.java, * gnu/java/awt/peer/gtk/GtkClipboard.java: Swap use of StringBuffer for CPStringBuilder.
* 2008-03-17 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-03-171-23/+9
| | | | | | | | | | PR classpath/21869 * gnu/java/lang/CPStringBuilder.java: (indexOf(String,int)): Use regionMatches from String. (lastIndexOf(String,int)): Likewise. (regionMatches(int,String)): Removed broken code. (substring(int,int)): Rearrange index computation so it is only computed if valid.
* 2008-03-17 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-03-171-61/+2
| | | | | | | | | * gnu/java/lang/CPStringBuilder.java: Replace reflection code with calls to VMCPStringBuilder. * vm/reference/gnu/java/lang/VMCPStringBuilder.java: Default implementation of constructor call using reflection.
* 2008-03-16 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-03-168-16/+32
| | | | | | | | | | | | | | | | | | | | | | | | PR classpath/21869 * gnu/java/security/Engine.java, * gnu/java/security/hash/Whirlpool.java, * gnu/java/security/key/dss/DSSKey.java, * gnu/java/security/key/dss/DSSPrivateKey.java, * gnu/java/security/key/dss/DSSPublicKey.java, * gnu/java/security/key/rsa/GnuRSAKey.java, * gnu/java/security/key/rsa/GnuRSAPrivateKey.java, * gnu/java/security/key/rsa/GnuRSAPublicKey.java, * java/awt/datatransfer/MimeType.java, * java/io/BufferedReader.java, * java/io/DataInputStream.java, * java/lang/Double.java, * java/lang/Float.java, * java/lang/String.java, * java/lang/reflect/Proxy.java, * java/math/BigDecimal.java, * java/net/URI.java, * java/net/URLClassLoader.java, * java/net/URLEncoder.java: Use CPStringBuilder in preference to StringBuilder.
* 2008-02-30 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-03-011-0/+1
| | | | | | PR classpath/21869 * gnu/classpath/CPStringBuilder.java: Make the constructor accessible.
* 2008-02-30 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-03-0119-25/+1224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/classpath/CPStringBuilder.java: Removed. * gnu/java/awt/font/OpenTypeFontPeer.java, * gnu/java/awt/font/autofit/Edge.java, * gnu/java/awt/font/autofit/LatinBlue.java, * gnu/java/awt/font/autofit/Segment.java, * gnu/java/awt/font/autofit/Width.java, * gnu/java/awt/font/opentype/truetype/Point.java, * gnu/java/awt/java2d/ActiveEdges.java, * gnu/java/awt/peer/GnomeDesktopPeer.java, * gnu/java/awt/peer/KDEDesktopPeer.java, * gnu/java/awt/peer/x/XFontPeer.java: Use CPStringBuilder. * gnu/java/lang/CPStringBuilder.java: Moved from gnu.classpath. * gnu/java/lang/ClassHelper.java, * gnu/java/lang/reflect/GenericSignatureParser.java, * gnu/java/lang/reflect/TypeSignature.java, * gnu/java/net/protocol/http/ChunkedInputStream.java, * gnu/java/net/protocol/http/Cookie.java, * gnu/java/net/protocol/http/HTTPConnection.java, * gnu/java/net/protocol/http/Headers.java, * gnu/java/net/protocol/http/Request.java: Use CPStringBuilder. * java/lang/reflect/Modifier.java: Corrected import to point to correct package. * java/util/Formatter.java: Use CPStringBuilder. * vm/reference/java/lang/reflect/Constructor.java, * vm/reference/java/lang/reflect/Field.java, * vm/reference/java/lang/reflect/Method.java: Corrected import to point to correct package.
* 2008-02-28 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2008-02-281-12/+6
| | | | | | | | | | | | | | * gnu/java/util/EmptyEnumeration.java: Add generic type parameter. * java/lang/ClassLoader.java: Use EmptyEnumeration with type parameter. * java/util/zip/ZipFile.java: Likewise. * javax/swing/text/html/StyleSheet.java, * javax/swing/text/html/ViewAttributeSet.java: Add generics. * javax/swing/tree/DefaultMutableTreeNode.java: Use EmptyEnumeration with type parameter.