rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
if (!c.getIssuerDN().equals(path[i].getSubjectDN()))
if (! c.getIssuerDN().equals(path[i].getSubjectDN()))
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!keyUsage[KeyUsage.CRL_SIGN])
if (! keyUsage[KeyUsage.CRL_SIGN])
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
private boolean checkExplicitPolicy (int depth, List explicitPolicies)
private boolean checkExplicitPolicy(int depth, List explicitPolicies)
private boolean checkExplicitPolicy (int depth, List explicitPolicies) { if (DEBUG) debug ("checkExplicitPolicy depth=" + depth); for (Iterator it = explicitPolicies.iterator(); it.hasNext(); ) { int[] i = (int[]) it.next(); int caDepth = i[0]; int limit = i[1]; if (DEBUG) debu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug ("checkExplicitPolicy depth=" + depth); for (Iterator it = explicitPolicies.iterator(); it.hasNext(); )
if (Configuration.DEBUG) log.fine("checkExplicitPolicy depth=" + depth); for (Iterator it = explicitPolicies.iterator(); it.hasNext();)
private boolean checkExplicitPolicy (int depth, List explicitPolicies) { if (DEBUG) debug ("checkExplicitPolicy depth=" + depth); for (Iterator it = explicitPolicies.iterator(); it.hasNext(); ) { int[] i = (int[]) it.next(); int caDepth = i[0]; int limit = i[1]; if (DEBUG) debu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug (" caDepth=" + caDepth + " limit=" + limit);
if (Configuration.DEBUG) log.fine(" caDepth=" + caDepth + " limit=" + limit);
private boolean checkExplicitPolicy (int depth, List explicitPolicies) { if (DEBUG) debug ("checkExplicitPolicy depth=" + depth); for (Iterator it = explicitPolicies.iterator(); it.hasNext(); ) { int[] i = (int[]) it.next(); int caDepth = i[0]; int limit = i[1]; if (DEBUG) debu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!(params instanceof PKIXParameters))
if (! (params instanceof PKIXParameters))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator check = checks.iterator(); check.hasNext(); )
for (Iterator check = checks.iterator(); check.hasNext();)
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
Extension pcx = ((GnuPKIExtension) p[i]).getExtension (PolicyConstraint.ID);
Extension pcx = ((GnuPKIExtension) p[i]).getExtension(PolicyConstraint.ID);
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
byte[] pcx = p[i].getExtensionValue (PolicyConstraint.ID.toString());
byte[] pcx = p[i].getExtensionValue(PolicyConstraint.ID.toString());
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
constr = new PolicyConstraint (pcx);
constr = new PolicyConstraint(pcx);
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
{ policyConstraints.add (new int[] { p.length-i, constr.getRequireExplicitPolicy() }); } updatePolicyTree(p[i], rootNode, p.length-i, (PKIXParameters) params, checkExplicitPolicy (p.length-i, policyConstraints));
policyConstraints.add(new int[] { p.length - i, constr.getRequireExplicitPolicy() }); updatePolicyTree(p[i], rootNode, p.length - i, (PKIXParameters) params, checkExplicitPolicy(p.length - i, policyConstraints));
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!(prevKey instanceof DSAPublicKey))
if (! (prevKey instanceof DSAPublicKey))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
dsa.getP(), dsa.getQ(),
dsa.getP(), dsa.getQ(),
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
p[i-1].verify(pubKey);
p[i - 1].verify(pubKey);
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
p[i-1].verify(pubKey, sigProvider);
p[i - 1].verify(pubKey, sigProvider);
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!p[i].getSubjectDN().equals(p[i-1].getIssuerDN()))
if (! p[i].getSubjectDN().equals(p[i - 1].getIssuerDN()))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
boolean[] issuerUid = p[i-1].getIssuerUniqueID();
boolean[] issuerUid = p[i - 1].getIssuerUniqueID();
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!Arrays.equals(issuerUid, subjectUid))
if (! Arrays.equals(issuerUid, subjectUid))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator it = certStores.iterator(); it.hasNext(); )
for (Iterator it = certStores.iterator(); it.hasNext();)
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator it = crls.iterator(); it.hasNext(); )
for (Iterator it = crls.iterator(); it.hasNext();)
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!(crl instanceof X509CRL))
if (! (crl instanceof X509CRL))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!checkCRL(xcrl, p, now, p[i], pubKey, certStores))
if (! checkCRL(xcrl, p, now, p[i], pubKey, certStores))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (xcrl.isRevoked(p[i-1]))
if (xcrl.isRevoked(p[i - 1]))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!certOk) throw new CertPathValidatorException("certificate's validity could not be determined");
if (! certOk) throw new CertPathValidatorException( "certificate's validity could not be determined");
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator i = anchors.iterator(); i.hasNext(); )
for (Iterator i = anchors.iterator(); i.hasNext();)
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
p[p.length-1].verify(anchorKey);
p[p.length - 1].verify(anchorKey);
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator it = certStores.iterator(); it.hasNext(); )
for (Iterator it = certStores.iterator(); it.hasNext();)
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator it = crls.iterator(); it.hasNext(); )
for (Iterator it = crls.iterator(); it.hasNext();)
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!(crl instanceof X509CRL))
if (! (crl instanceof X509CRL))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (xcrl.isRevoked(p[p.length-1]))
if (xcrl.isRevoked(p[p.length - 1]))
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
cpve.initCause (cause);
cpve.initCause(cause);
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator it = exts.iterator(); it.hasNext(); )
for (Iterator it = exts.iterator(); it.hasNext();)
private static Set getCritExts(X509Certificate cert) { HashSet s = new HashSet(); if (cert instanceof GnuPKIExtension) { Collection exts = ((GnuPKIExtension) cert).getExtensions(); for (Iterator it = exts.iterator(); it.hasNext(); ) { Extension ext = (Extension) it.next()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (ext.isCritical() && !ext.isSupported())
if (ext.isCritical() && ! ext.isSupported())
private static Set getCritExts(X509Certificate cert) { HashSet s = new HashSet(); if (cert instanceof GnuPKIExtension) { Collection exts = ((GnuPKIExtension) cert).getExtensions(); for (Iterator it = exts.iterator(); it.hasNext(); ) { Extension ext = (Extension) it.next()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params,
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params,
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug("updatePolicyTree depth == " + depth);
if (Configuration.DEBUG) log.fine("updatePolicyTree depth == " + depth);
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug("visiting node == " + p);
if (Configuration.DEBUG) log.fine("visiting node == " + p);
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug("added node");
if (Configuration.DEBUG) log.fine("added node");
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug("skipped node");
if (Configuration.DEBUG) log.fine("skipped node");
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
while (!stack.isEmpty());
while (! stack.isEmpty());
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug("nodes are == " + nodes); if (DEBUG) debug("cert policies are == " + cp); for (Iterator it = nodes.iterator(); it.hasNext(); )
if (Configuration.DEBUG) { log.fine("nodes are == " + nodes); log.fine("cert policies are == " + cp); } for (Iterator it = nodes.iterator(); it.hasNext();)
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug("adding policies to " + parent); for (Iterator it2 = cp.iterator(); it2.hasNext(); )
if (Configuration.DEBUG) log.fine("adding policies to " + parent); for (Iterator it2 = cp.iterator(); it2.hasNext();)
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (DEBUG) debug("trying to add policy == " + policy); if (policy.toString().equals(ANY_POLICY) && params.isAnyPolicyInhibited())
if (Configuration.DEBUG) log.fine("trying to add policy == " + policy); if (policy.toString().equals(ANY_POLICY) && params.isAnyPolicyInhibited())
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
else if (ANY_POLICY.equals (policy.toString()))
else if (ANY_POLICY.equals(policy.toString()))
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
parent.addChild (child);
parent.addChild(child);
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
List qualifiers = policies.getPolicyQualifierInfos (policy);
List qualifiers = policies.getPolicyQualifierInfos(policy);
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
child.addAllPolicyQualifiers (qualifiers);
child.addAllPolicyQualifiers(qualifiers);
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!match && (params.isExplicitPolicyRequired() || explicitPolicy))
if (! match && (params.isExplicitPolicyRequired() || explicitPolicy))
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Se...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
final SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(IOPORTS_PERM); }
public IOResource claimIOResource(ResourceOwner owner, int startPort, int length) throws ResourceNotFreeException { return IOResourceImpl.claimIOResource(owner, startPort, length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e204bcd94e42168df8116332c5e2f0db99bd1c55/ResourceManagerImpl.java/buggy/core/src/core/org/jnode/vm/ResourceManagerImpl.java
public MemoryResourceImpl(Object arrayData, int length, int elementSize) { super(BYTE_ARRAY_OWNER); this.parent = null; this.data = arrayData; this.size = Extent.fromIntZeroExtend(length * elementSize); this.start = VmMagic.getArrayData(arrayData); this.offset = start.toWord().toOffset(); this.end = start.add(length * ...
private MemoryResourceImpl(MemoryResourceImpl parent, ResourceOwner owner, Address start, Extent size) { super(owner); this.parent = parent; this.start = start; if (parent != null) { this.offset = start.toWord().sub(parent.start.toWord()).toOffset(); } else { this.offset = start.toWord().toOffset(); } this.end = start....
public MemoryResourceImpl(Object arrayData, int length, int elementSize) { super(BYTE_ARRAY_OWNER); this.parent = null; this.data = arrayData; this.size = Extent.fromIntZeroExtend(length * elementSize); this.start = VmMagic.getArrayData(arrayData); this.offset = start.toWord().toOffset(); this.end = start.add(l...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/306272dd066f898e7c473582ef1ef9b230b629c9/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java
this.data = null;
public MemoryResourceImpl(Object arrayData, int length, int elementSize) { super(BYTE_ARRAY_OWNER); this.parent = null; this.data = arrayData; this.size = Extent.fromIntZeroExtend(length * elementSize); this.start = VmMagic.getArrayData(arrayData); this.offset = start.toWord().toOffset(); this.end = start.add(l...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/306272dd066f898e7c473582ef1ef9b230b629c9/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java
if (currentScrollLocation == tabCount - 1) incrButton.setEnabled(false);
int width = 0; for (int i = currentScrollLocation - 1; i < tabCount; i++) width += rects[i].width; if (width < viewport.getWidth()) currentScrollLocation--;
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tabCount) currentScroll...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
tabPane.layout();
tabPane.revalidate();
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tabCount) currentScroll...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
tabPane.layout();
tabPane.revalidate();
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tabCount) currentScroll...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
tabPane.layout();
tabPane.revalidate();
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); int tabCount = tabPane.getTabCount(); if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT) { if (e.getSource() == incrButton) { if (++currentScrollLocation >= tabCount) currentScroll...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
width = calculateMaxTabWidth(tabPlacement) * tabPane.getTabCount(); calcRect = tabPane.getParent().getBounds(); width = Math.max(width, componentWidth);
int min = calculateMaxTabWidth(tabPlacement); width = Math.max(min, componentWidth);
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { c = ta...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
height = calculateMaxTabHeight(tabPlacement) * tabPane.getTabCount(); calcRect = tabPane.getParent().getBounds(); height = Math.max(height, componentHeight);
int min = calculateMaxTabHeight(tabPlacement); height = Math.max(min, componentHeight);
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { c = ta...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
+ (runCount - i) * tabRunOverlay;
- (runCount - i) * tabRunOverlay;
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
if (selectedRun == 1 || selectedRun == -1)
if (runCount == 1 || selectedRun == 1 || selectedRun == -1)
protected void rotateTabRuns(int tabPlacement, int selectedRun) { if (selectedRun == 1 || selectedRun == -1) return; int[] newTabRuns = new int[tabRuns.length]; int currentRun = selectedRun; int i = 1; do { newTabRuns[i] = tabRuns[currentRun]; currentRun = getNextTabRun(curren...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
Point p = findPointForIndex(currentScrollLocation);
p = findPointForIndex(currentScrollLocation);
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingConstants.TOP || tab...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
viewport.setViewPosition(findPointForIndex(currentScrollLocation));
viewport.setViewPosition(p); viewport.repaint();
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingConstants.TOP || tab...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
viewport.setLayout(null);
public LayoutManager createLayoutManager() { if (tabPane.getTabLayoutPolicy() == JTabbedPane.WRAP_TAB_LAYOUT) return new TabbedPaneLayout(); else { incrButton = createIncreaseButton(); decrButton = createDecreaseButton(); viewport = new ScrollingViewport(); panel = new ScrollingPanel(); viewport.setV...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
if (tabPlacement == SwingConstants.BOTTOM) {
protected void paintContentBorderBottomEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { Color saved = g.getColor(); int startgap = rects[selectedIndex].x; int endgap = rects[selectedI...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
if (tabPlacement == SwingConstants.LEFT) {
protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { Color saved = g.getColor(); g.setColor(lightHighlight); int startgap = rects[selectedIndex].y; int...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
if (tabPlacement == SwingConstants.RIGHT) {
protected void paintContentBorderRightEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { Color saved = g.getColor(); int startgap = rects[selectedIndex].y; int endgap = rects[selectedInde...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
if (tabPlacement == SwingConstants.TOP) {
protected void paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { Color saved = g.getColor(); g.setColor(lightHighlight); int startgap = rects[selectedIndex].x; int en...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
if (first == tabCount)
if (isScroll) first = currentScrollLocation; else if (first == tabCount)
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); // Please note: the ordering of the painting is important. // we WANT to paint the outermost run first and then work our way in. int tabCount = tabPane.getTab...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
if (j != selectedIndex)
if (j != selectedIndex || isScroll)
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); // Please note: the ordering of the painting is important. // we WANT to paint the outermost run first and then work our way in. int tabCount = tabPane.getTab...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
currRun = getNextTabRun(currRun);
currRun = getPreviousTabRun(currRun);
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); // Please note: the ordering of the painting is important. // we WANT to paint the outermost run first and then work our way in. int tabCount = tabPane.getTab...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
if (! isScroll)
protected void paintTabArea(Graphics g, int tabPlacement, int selectedIndex) { Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); // Please note: the ordering of the painting is important. // we WANT to paint the outermost run first and then work our way in. int tabCount = tabPane.getTab...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
bg = tabPane.getBackground();
bg = Color.GRAY;
protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { Color saved = g.getColor(); if (isSelected) g.setColor(Color.LIGHT_GRAY); else { Color bg = tabPane....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
public AbstractUndoableEdit() { }
public AbstractUndoableEdit() { alive = hasBeenDone = true; }
public AbstractUndoableEdit() { } // AbstractUndoableEdit()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/AbstractUndoableEdit.java/buggy/core/src/classpath/javax/javax/swing/undo/AbstractUndoableEdit.java
public CannotRedoException() { super(); }
public CannotRedoException() { }
public CannotRedoException() { super(); } // CannotRedoException()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/CannotRedoException.java/buggy/core/src/classpath/javax/javax/swing/undo/CannotRedoException.java
public CannotUndoException() { super(); }
public CannotUndoException() { }
public CannotUndoException() { super(); } // CannotUndoException()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/CannotUndoException.java/buggy/core/src/classpath/javax/javax/swing/undo/CannotUndoException.java
public ClassCircularityError() { super(); }
public ClassCircularityError() { }
public ClassCircularityError() { super(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fa6dec2bff713ecbdbc8d1a37bcc4276ec82bc14/ClassCircularityError.java/buggy/core/src/classpath/java/java/lang/ClassCircularityError.java
revalidate(); repaint(); }
}
public void updateUI() { setUI((ToolBarUI) UIManager.getUI(this)); revalidate(); repaint(); } // updateUI()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JToolBar.java/clean/core/src/classpath/javax/javax/swing/JToolBar.java
protected void checkClosed()
protected final void checkClosed()
protected void checkClosed() throws IOException { if (closed) throw new IOException("stream closed"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/ImageInputStreamImpl.java/buggy/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
public abstract void write(byte[] data, int offset, int len) throws IOException;
public void write(byte[] data) throws IOException, NotImplementedException { write(data, 0, data.length); }
public abstract void write(byte[] data, int offset, int len) throws IOException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/ImageOutputStreamImpl.java/buggy/core/src/classpath/javax/javax/imageio/stream/ImageOutputStreamImpl.java
throws IOException
throws IOException, NotImplementedException
protected final void flushBits() throws IOException { // FIXME: Implement me. throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/ImageOutputStreamImpl.java/buggy/core/src/classpath/javax/javax/imageio/stream/ImageOutputStreamImpl.java
private Void() { }
private Void() { }
private Void() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/Void.java/buggy/core/src/classpath/java/java/lang/Void.java
return VmType.getPrimitiveClass(type).asClass(); }
return VmType.getPrimitiveClass(type).asClass(); }
final static Class getPrimitiveClass(char type) { return VmType.getPrimitiveClass(type).asClass(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5cf5f8ede7b2c18270e91898266921bf5dec9794/VMClassLoader.java/buggy/core/src/classpath/vm/java/lang/VMClassLoader.java
throw new BAD_OPERATION("Binding iterator expected");
BAD_OPERATION bad = new BAD_OPERATION("Binding iterator expected"); bad.initCause(ex); throw bad;
public static BindingIterator extract(Any a) { try { return ((BindingIteratorHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("Binding iterator expected"); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/BindingIteratorHelper.java/clean/core/src/classpath/org/org/omg/CosNaming/BindingIteratorHelper.java
public _BindingIteratorStub(Delegate delegate)
public _BindingIteratorStub()
public _BindingIteratorStub(Delegate delegate) { super(); _set_delegate(delegate); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/_BindingIteratorStub.java/buggy/core/src/classpath/org/org/omg/CosNaming/_BindingIteratorStub.java
_set_delegate(delegate);
public _BindingIteratorStub(Delegate delegate) { super(); _set_delegate(delegate); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/_BindingIteratorStub.java/buggy/core/src/classpath/org/org/omg/CosNaming/_BindingIteratorStub.java
public JNodeGenericPeer(AbstractJNodeToolkit toolkit, Object awtObject) {
public JNodeGenericPeer(JNodeToolkit toolkit, Object awtObject) {
public JNodeGenericPeer(AbstractJNodeToolkit toolkit, Object awtObject) { this.toolkit = toolkit; this.awtObject = awtObject; toolkit.incRefCount(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/JNodeGenericPeer.java/clean/gui/src/awt/org/jnode/awt/JNodeGenericPeer.java
public final AbstractJNodeToolkit getToolkitImpl() {
public final JNodeToolkit getToolkitImpl() {
public final AbstractJNodeToolkit getToolkitImpl() { return toolkit; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/JNodeGenericPeer.java/clean/gui/src/awt/org/jnode/awt/JNodeGenericPeer.java
String msg = PluginResourceBundle.getLocalizedMessage(TEST_KEY);
String msg = PluginUtils.getLocalizedMessage(getClass(), RELATIVE_BUNDLE_NAME, TEST_KEY);
protected void doGetLocalizedMessage(Locale locale, String suffix) { changeLocale(locale); String msg = PluginResourceBundle.getLocalizedMessage(TEST_KEY); assertEquals(TEST_VALUE+suffix, msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/edc52b3b91dd7360231a0450b3adc7e35baa90b3/ResourceTest.java/buggy/core/src/test/org/jnode/test/ResourceTest.java
version = new Version(1,0);
version = new Version(1, 0);
public MessageHeader() { version = new Version(1,0); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
DataOutputStream dout = new DataOutputStream(out);
abstractDataOutputStream dout; if (isBigEndian()) dout = new BigEndianOutputStream(out); else dout = new LittleEndianOutputStream(out);
public void write(java.io.OutputStream out) { try { DataOutputStream dout = new DataOutputStream(out); // Write magic sequence. dout.write(MAGIC); // Write version number. version.write(dout); dout.write(flags); dout.write(message_type); dout.writeInt(m...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
version.write(dout);
version.write((OutputStream) dout);
public void write(java.io.OutputStream out) { try { DataOutputStream dout = new DataOutputStream(out); // Write magic sequence. dout.write(MAGIC); // Write version number. version.write(dout); dout.write(flags); dout.write(message_type); dout.writeInt(m...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
throw new MARSHAL(ex.toString());
MARSHAL t = new MARSHAL(); t.initCause(ex); throw t;
public void write(java.io.OutputStream out) { try { DataOutputStream dout = new DataOutputStream(out); // Write magic sequence. dout.write(MAGIC); // Write version number. version.write(dout); dout.write(flags); dout.write(message_type); dout.writeInt(m...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
flags.put(name, new Boolean(value));
flags.put(name, Boolean.valueOf(value));
public void setFeature(String name, boolean value) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException { try { // force "early" detection of errors where possible // (flags can't necessarily be set before parsing) new JaxpParser().getXMLReader().setFe...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/JAXPFactory.java/clean/core/src/classpath/gnu/gnu/xml/aelfred2/JAXPFactory.java
public void setAccessible(boolean flag)
public static void setAccessible(AccessibleObject[] array, boolean flag)
public void setAccessible(boolean flag) { checkPermission(); secureSetAccessible(flag); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/AccessibleObject.java/buggy/core/src/classpath/java/java/lang/reflect/AccessibleObject.java
secureSetAccessible(flag); }
for (int i = 0; i < array.length; i++) array[i].secureSetAccessible(flag); }
public void setAccessible(boolean flag) { checkPermission(); secureSetAccessible(flag); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/AccessibleObject.java/buggy/core/src/classpath/java/java/lang/reflect/AccessibleObject.java