rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment)
static Context getURLContext(Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment)
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes = System.getProperty (Context.URL_PKG_PREFIXES); if (prefixes == null) {
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
prefixes = "com.sun.jndi.url";
String defaultPrefix = "com.sun.jndi.url"; StringBuffer allPrefixes = new StringBuffer(); String prefixes; if (environment != null) { prefixes = (String) environment.get(Context.URL_PKG_PREFIXES); if (prefixes != null) allPrefixes.append(prefixes);
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
StringTokenizer tokens = new StringTokenizer (prefixes, ":"); while (tokens.hasMoreTokens ())
StringTokenizer tokens = new StringTokenizer(allPrefixes.toString(), ":"); while (tokens.hasMoreTokens())
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
String aTry = tokens.nextToken ();
String aTry = tokens.nextToken();
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
Class factoryClass = Class.forName (aTry + "." + scheme, true, Thread.currentThread().getContextClassLoader()); ObjectFactory factory = (ObjectFactory) factoryClass.newInstance (); Object obj = factory.getObjectInstance (refInfo, name, nameCtx, environment);
String tryClass = aTry + "." + scheme; Class factoryClass = forName(tryClass); if (factoryClass != null) { ObjectFactory factory = (ObjectFactory) factoryClass.newInstance(); Object obj = factory.getObjectInstance(refInfo, name, nameCtx, environment);
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
}
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
public static void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder)
public static void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder)
public static void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (icfb != null) throw new Ill...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
throw new IllegalStateException ("builder already installed");
throw new IllegalStateException ("ctx factory builder already installed");
public static void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (icfb != null) throw new Ill...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
throw new IllegalStateException ("builder already installed");
throw new IllegalStateException ("object factory builder already installed");
public static void setObjectFactoryBuilder (ObjectFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (ofb != null) throw new IllegalStateExceptio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/NamingManager.java/clean/core/src/classpath/javax/javax/naming/spi/NamingManager.java
public NoInitialContextException(String msg)
public NoInitialContextException()
public NoInitialContextException(String msg) { super(msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3811d0973c874051ada1ea74cbff990230291f5f/NoInitialContextException.java/buggy/core/src/classpath/javax/javax/naming/NoInitialContextException.java
super(msg);
super();
public NoInitialContextException(String msg) { super(msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3811d0973c874051ada1ea74cbff990230291f5f/NoInitialContextException.java/buggy/core/src/classpath/javax/javax/naming/NoInitialContextException.java
Context getInitialContext (Hashtable environment) throws NamingException;
Context getInitialContext(Hashtable environment) throws NamingException;
Context getInitialContext (Hashtable environment) throws NamingException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/InitialContextFactory.java/buggy/core/src/classpath/javax/javax/naming/spi/InitialContextFactory.java
ObjectFactory createObjectFactory(Object obj,
ObjectFactory createObjectFactory(Object refInfo,
ObjectFactory createObjectFactory(Object obj, Hashtable environment) throws NamingException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ObjectFactoryBuilder.java/buggy/core/src/classpath/javax/javax/naming/spi/ObjectFactoryBuilder.java
Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception;
Object getObjectInstance(Object refObj, Name name, Context nameCtx, Hashtable environment) throws Exception;
Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ObjectFactory.java/buggy/core/src/classpath/javax/javax/naming/spi/ObjectFactory.java
Hashtable getEnvironment () throws NamingException;
Hashtable getEnvironment() throws NamingException;
Hashtable getEnvironment () throws NamingException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/Context.java/buggy/core/src/classpath/javax/javax/naming/Context.java
public Remote activate(boolean force) throws ActivationException, UnknownObjectException, RemoteException { throw new Error("Not implemented"); }
public Remote activate(boolean force) throws ActivationException, UnknownObjectException, RemoteException { try { return (Remote) activator.activate(this, force).get(); } catch (IOException e) { ActivationException acex = new ActivationException("id "+uid, e); throw acex; } catch (ClassNotFoundException e) { Activation...
public Remote activate(boolean force) throws ActivationException, UnknownObjectException, RemoteException { throw new Error("Not implemented");}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/ActivationID.java/buggy/core/src/classpath/java/java/rmi/activation/ActivationID.java
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPrivateCrtKeySpec) { RSAPrivateCrtKeySpec spec = (RSAPrivateCrtKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); B...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
InvalidKeySpecException y = new InvalidKeySpecException(); y.initCause(x); throw y;
throw new InvalidKeySpecException(x.getMessage(), x);
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPrivateCrtKeySpec) { RSAPrivateCrtKeySpec spec = (RSAPrivateCrtKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); B...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPrivateCrtKeySpec) { RSAPrivateCrtKeySpec spec = (RSAPrivateCrtKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); B...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPublicKeySpec) { RSAPublicKeySpec spec = (RSAPublicKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); return new GnuR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
InvalidKeySpecException y = new InvalidKeySpecException(); y.initCause(x); throw y;
throw new InvalidKeySpecException(x.getMessage(), x);
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPublicKeySpec) { RSAPublicKeySpec spec = (RSAPublicKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); return new GnuR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPublicKeySpec) { RSAPublicKeySpec spec = (RSAPublicKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); return new GnuR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
throw new InvalidKeySpecException("Wrong key type or unsupported (public) key specification");
throw new InvalidKeySpecException( "Wrong key type or unsupported (public) key specification");
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
throw new InvalidKeySpecException("Wrong key type or unsupported (private) key specification");
throw new InvalidKeySpecException( "Wrong key type or unsupported (private) key specification");
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
throw new InvalidKeySpecException("Wrong key type or unsupported key specification");
throw new InvalidKeySpecException( "Wrong key type or unsupported key specification");
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected Key engineTranslateKey(Key key) throws InvalidKeyException { if ((key instanceof GnuRSAPublicKey) || (key instanceof GnuRSAPrivateKey)) return key; if (key instanceof RSAPublicKey) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); BigIntege...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
protected Key engineTranslateKey(Key key) throws InvalidKeyException { if ((key instanceof GnuRSAPublicKey) || (key instanceof GnuRSAPrivateKey)) return key; if (key instanceof RSAPublicKey) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); BigIntege...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/sig/RSAKeyFactory.java
public GnuRSAPrivateKey(int preferredFormat, BigInteger n, BigInteger e, BigInteger d, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv)
public GnuRSAPrivateKey(BigInteger p, BigInteger q, BigInteger e, BigInteger d)
public GnuRSAPrivateKey(int preferredFormat, BigInteger n, BigInteger e, BigInteger d, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.PKCS8_ENCODING_ID ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/GnuRSAPrivateKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java
super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.PKCS8_ENCODING_ID : preferredFormat, n, e); this.d = d; this.p = p; this.q = q; this.dP = dP; this.dQ = dQ; this.qInv = qInv;
this(Registry.RAW_ENCODING_ID, p, q, e, d);
public GnuRSAPrivateKey(int preferredFormat, BigInteger n, BigInteger e, BigInteger d, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.PKCS8_ENCODING_ID ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/GnuRSAPrivateKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java
public GnuRSAPublicKey(int preferredFormat, BigInteger n, BigInteger e)
public GnuRSAPublicKey(final BigInteger n, final BigInteger e)
public GnuRSAPublicKey(int preferredFormat, BigInteger n, BigInteger e) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.X509_ENCODING_ID : preferredFormat, n, e); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/GnuRSAPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPublicKey.java
super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.X509_ENCODING_ID : preferredFormat, n, e);
this(Registry.RAW_ENCODING_ID, n, e);
public GnuRSAPublicKey(int preferredFormat, BigInteger n, BigInteger e) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.X509_ENCODING_ID : preferredFormat, n, e); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/GnuRSAPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPublicKey.java
throw new IllegalArgumentException("Unexpected OID: " + algOID);
throw new InvalidParameterException("Unexpected OID: " + algOID);
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger n, e; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPublicKeyI...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/RSAKeyPairX509Codec.java/buggy/core/src/classpath/gnu/gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
if (policy == ALWAYS_UPDATE || (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT))
if (policy == ALWAYS_UPDATE || (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT))
public void removeUpdate(DocumentEvent event) { if (policy == ALWAYS_UPDATE || (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT)) { int dot = getDot(); setDot(dot - event.getLength()); } else if (policy == NEVER_UPDATE) { i...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java
else if (policy == NEVER_UPDATE)
else if (policy == NEVER_UPDATE || (! SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT))
public void removeUpdate(DocumentEvent event) { if (policy == ALWAYS_UPDATE || (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT)) { int dot = getDot(); setDot(dot - event.getLength()); } else if (policy == NEVER_UPDATE) { i...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java
this.dot = dot;
Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0);
public void moveDot(int dot) { if (dot >= 0) { this.dot = dot; handleHighlight(); adjustVisibility(this); appear(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java
this.mark = dot;
this.mark = this.dot;
public void setDot(int dot) { if (dot >= 0) { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); this.mark = dot; handleHighlight(); adjustVisibility(this); appear(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java
int attr = readChar(ch); return ((((1 << (attr & TYPE_MASK)) & ((1 << SPACE_SEPARATOR) | (1 << LINE_SEPARATOR) | (1 << PARAGRAPH_SEPARATOR))) != 0) && (attr & NO_BREAK_MASK) == 0) || (ch <= '\u001F' && ((1 << ch) & ((1 << '\t') | (1 << '\n') | (1 << '\u000B') | (1 << '\u000C') | (1 << '\r') | (1 << '\u001C') | (1 << '\...
return isWhitespace((int) ch);
public static boolean isWhitespace(char ch) { int attr = readChar(ch); return ((((1 << (attr & TYPE_MASK)) & ((1 << SPACE_SEPARATOR) | (1 << LINE_SEPARATOR) | (1 << PARAGRAPH_SEPARATOR))) != 0) && (attr & NO_BREAK_MASK) == 0) || (ch <= '\u001F' && ((...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1b7948b90667ad6e59c157b1700e8034e8813d3a/Character.java/buggy/core/src/classpath/5.0/java/lang/Character.java
return ((1 << getType(ch)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) | (1 << DECIMAL_DIGIT_NUMBER))) != 0;
return isLetterOrDigit((int)ch);
public static boolean isLetterOrDigit(char ch) { return ((1 << getType(ch)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) | (1 << DECIMAL_DIGIT_NUMBER)))...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1b7948b90667ad6e59c157b1700e8034e8813d3a/Character.java/buggy/core/src/classpath/5.0/java/lang/Character.java
public NegativeArraySizeException(String s) { super(s);
public NegativeArraySizeException() {
public NegativeArraySizeException(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/NegativeArraySizeException.java/buggy/core/src/classpath/java/java/lang/NegativeArraySizeException.java
public CompoundBorder ()
public CompoundBorder()
public CompoundBorder () { this (null, null); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/CompoundBorder.java/clean/core/src/classpath/javax/javax/swing/border/CompoundBorder.java
public Border getOutsideBorder ()
public Border getOutsideBorder()
public Border getOutsideBorder () { return outsideBorder; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/CompoundBorder.java/clean/core/src/classpath/javax/javax/swing/border/CompoundBorder.java
public boolean isBorderOpaque ()
public boolean isBorderOpaque()
public boolean isBorderOpaque () { // While it would be safe to assume true for the opacity of // a null border, this behavior would not be according to // the API specification. Also, it is pathological to have // null borders anyway. if ((insideBorder == null) || (outsideBorder == null)) return...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/CompoundBorder.java/clean/core/src/classpath/javax/javax/swing/border/CompoundBorder.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
{
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
if (result != null && !result.selfTest()) {
if (result != null && ! result.selfTest())
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
}
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/HashFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/HashFactory.java
return isMCNodeLocal();
return super.isMCNodeLocal();
public boolean isMCNodeLocal() { return isMCNodeLocal(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/Inet4Address.java/clean/core/src/classpath/java/java/net/Inet4Address.java
return isMCOrgLocal();
return super.isMCOrgLocal();
public boolean isMCOrgLocal() { return isMCOrgLocal(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/Inet4Address.java/clean/core/src/classpath/java/java/net/Inet4Address.java
public abstract void setAlignment(int alignment);
void setAlignment(int alignment);
public abstract void setAlignment(int alignment);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/LabelPeer.java/buggy/core/src/classpath/java/java/awt/peer/LabelPeer.java
public abstract void setText(String text);
void setText(String text);
public abstract void setText(String text);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/LabelPeer.java/buggy/core/src/classpath/java/java/awt/peer/LabelPeer.java
* @throws ConcurrentModificationException if the * list has been modified elsewhere.
public Iterator<E> iterator() { // Bah, Sun's implementation forbids using listIterator(0). return new Iterator<E>() { private int pos = 0; private int size = size(); private int last = -1; private int knownMod = modCount; // This will get inlined, since it is private. /** ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/AbstractList.java/buggy/core/src/classpath/5.0/java/util/AbstractList.java
checkMod();
public Iterator<E> iterator() { // Bah, Sun's implementation forbids using listIterator(0). return new Iterator<E>() { private int pos = 0; private int size = size(); private int last = -1; private int knownMod = modCount; // This will get inlined, since it is private. /** ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/AbstractList.java/buggy/core/src/classpath/5.0/java/util/AbstractList.java
if (index == 0 || index == (len - 1) || name.lastIndexOf(':') != index)
if (index == 0 || name.lastIndexOf(':') != index)
static void checkNCName(String name, boolean xml11) { checkName(name, xml11); int len = name.length(); int index = name.indexOf(':'); if (index != -1) { if (index == 0 || index == (len - 1) || name.lastIndexOf(':') != index) { throw new DomDOMException(DOMExcept...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
computeTime(); computeFields();
public void setTimeZone(TimeZone zone) { this.zone = zone; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/Calendar.java/clean/core/src/classpath/java/java/util/Calendar.java
fillPolygon(Polygon polygon) { fillPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); }
fillPolygon(int xPoints[], int yPoints[], int npoints);
fillPolygon(Polygon polygon){ fillPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/Graphics.java/buggy/core/src/classpath/java/java/awt/Graphics.java
drawPolygon(Polygon polygon) { drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); }
drawPolygon(int xPoints[], int yPoints[], int npoints);
drawPolygon(Polygon polygon){ drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/Graphics.java/buggy/core/src/classpath/java/java/awt/Graphics.java
public static final ByteBuffer wrap (byte[] array)
public static final ByteBuffer wrap (byte[] array, int offset, int length)
public static final ByteBuffer wrap (byte[] array) { return wrap (array, 0, array.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/ByteBuffer.java/buggy/core/src/classpath/java/java/nio/ByteBuffer.java
return wrap (array, 0, array.length);
return new ByteBufferImpl (array, 0, array.length, offset + length, offset, -1, false);
public static final ByteBuffer wrap (byte[] array) { return wrap (array, 0, array.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/ByteBuffer.java/buggy/core/src/classpath/java/java/nio/ByteBuffer.java
public static void fill(byte[] a, int fromIndex, int toIndex, byte val)
public static void fill(boolean[] a, boolean val)
public static void fill(byte[] a, int fromIndex, int toIndex, byte val) { if (fromIndex > toIndex) throw new IllegalArgumentException(); for (int i = fromIndex; i < toIndex; i++) a[i] = val; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e60a457237548cb2220b3d83b95ea32b1605264/Arrays.java/buggy/core/src/classpath/5.0/java/util/Arrays.java
if (fromIndex > toIndex) throw new IllegalArgumentException(); for (int i = fromIndex; i < toIndex; i++) a[i] = val;
fill(a, 0, a.length, val);
public static void fill(byte[] a, int fromIndex, int toIndex, byte val) { if (fromIndex > toIndex) throw new IllegalArgumentException(); for (int i = fromIndex; i < toIndex; i++) a[i] = val; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e60a457237548cb2220b3d83b95ea32b1605264/Arrays.java/buggy/core/src/classpath/5.0/java/util/Arrays.java
{
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/BaseSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/BaseSignature.java
}
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/BaseSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/BaseSignature.java
{
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/BaseSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/BaseSignature.java
throw new RuntimeException("nextRandomBytes(): " + String.valueOf(x));
throw new RuntimeException("nextRandomBytes(): " + x);
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/BaseSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/BaseSignature.java
throw new RuntimeException("nextRandomBytes(): " + String.valueOf(x)); }
throw new RuntimeException("nextRandomBytes(): " + x);
protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (IllegalStateException x) { throw new RuntimeExceptio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/BaseSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/BaseSignature.java
private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; } else if (obj instanceof IRandom) { irnd = (IRandom) obj; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/BaseSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/BaseSignature.java
{
private void setup(Map attributes) { init(); // do we have a Random or SecureRandom, or should we use our own? Object obj = attributes.get(SOURCE_OF_RANDOMNESS); if (obj instanceof Random) { rnd = (Random) obj; } else if (obj instanceof IRandom) { irnd = (IRandom) obj; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/BaseSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/BaseSignature.java