rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
public void addPropertyChangeListener (String name, PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (name, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/Container.java/clean/core/src/classpath/java/java/awt/Container.java
changeSupport.addPropertyChangeListener (name, listener);
changeSupport.addPropertyChangeListener (listener);
public void addPropertyChangeListener (String name, PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (name, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/Container.java/clean/core/src/classpath/java/java/awt/Container.java
xLayoutValid = false; yLayoutValid = false;
layoutValid[0] = false; layoutValid[1] = false; span[0] = 0; span[1] = 0; requirements[0] = new SizeRequirements(); requirements[1] = new SizeRequirements();
public BoxView(Element element, int axis) { super(element); myAxis = axis; xLayoutValid = false; yLayoutValid = false; // Initialize the cache arrays. spansX = new int[0]; spansY = new int[0]; offsetsX = new int[0]; offsetsY = new int[0]; width = 0; height = 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/BoxView.java/buggy/core/src/classpath/javax/javax/swing/text/BoxView.java
spansX = new int[0]; spansY = new int[0]; offsetsX = new int[0]; offsetsY = new int[0]; width = 0; height = 0;
spans[0] = new int[0]; spans[1] = new int[0]; offsets[0] = new int[0]; offsets[1] = new int[0];
public BoxView(Element element, int axis) { super(element); myAxis = axis; xLayoutValid = false; yLayoutValid = false; // Initialize the cache arrays. spansX = new int[0]; spansY = new int[0]; offsetsX = new int[0]; offsetsY = new int[0]; width = 0; height = 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/BoxView.java/buggy/core/src/classpath/javax/javax/swing/text/BoxView.java
return 0.5F;
align = 0.5F;
public float getAlignment(int axis) { if (axis == myAxis) return 0.5F; else return baselineRequirements(axis, null).alignment; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/BoxView.java/buggy/core/src/classpath/javax/javax/swing/text/BoxView.java
return baselineRequirements(axis, null).alignment;
{ if (! isLayoutValid(axis)) requirements[axis] = calculateMinorAxisRequirements(axis, requirements[axis]); align = requirements[axis].alignment; } return align;
public float getAlignment(int axis) { if (axis == myAxis) return 0.5F; else return baselineRequirements(axis, null).alignment; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/BoxView.java/buggy/core/src/classpath/javax/javax/swing/text/BoxView.java
SizeRequirements sr = new SizeRequirements(); int pref = baselineRequirements(axis, sr).preferred; return (float) pref;
if (!isLayoutValid(axis)) { if (axis == myAxis) requirements[axis] = calculateMajorAxisRequirements(axis, requirements[axis]); else requirements[axis] = calculateMinorAxisRequirements(axis, requirements[axis]); } return requirements[axis].preferred;
public float getPreferredSpan(int axis) { SizeRequirements sr = new SizeRequirements(); int pref = baselineRequirements(axis, sr).preferred; return (float) pref; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/BoxView.java/buggy/core/src/classpath/javax/javax/swing/text/BoxView.java
public void setName(String name) { this.name = name; }
public void setName(String name) { this.name = name; }
public void setName(String name) { this.name = name; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/buggy/core/src/classpath/java/java/beans/FeatureDescriptor.java
Enumeration e;
Enumeration enum;
public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
e = depthFirstEnumeration();
enum = depthFirstEnumeration();
public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement();
while (enum.hasMoreElements() == true) { current = (TreeNode) enum.nextElement();
public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
return count; }
public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
int size;
public Object[] getUserObjectPath() { // Variables TreeNode[] path; Object[] object; int size; int index; // Get Path for Tree Nodes path = getPath(); // Construct Object Path object = new Object[path.length]; for (index = 0; index < path.length; index++) { object[index] = ((DefaultMutableTreeNode) pat...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
int size;
public static void growTree(DefaultMutableTreeNode root) { // Variables int size; int index; DefaultMutableTreeNode node; DefaultMutableTreeNode current; current = root; index = 0;// while (current != root) { do {// if (random.nextInt(3) < 2) { if (random.nextBoolean()) { node = new DefaultMu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
int index;
public boolean isNodeChild(TreeNode node) { // Variables TreeNode current; int index; // Sanity Check if (node == null) { return false; } // if // Process Path current = node; while (current != null) { if (current == this) { return true; } // if current = current.getParent(); } // while // Node...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
int index;
public boolean isNodeSibling(TreeNode node) { // Variables int index; // Check for null if (node == null) { return false; } // if // Check if nodes share a parent if (node.getParent() == getParent() && getParent() != null) { return true; } // if // Nodes are not siblings return false; } // isNodeSiblin...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
public SampleModel createCompatibleSampleModel(int w, int h) { return new ComponentSampleModel(dataType, w, h, pixelStride, scanlineStride, bankIndices, bandOffsets);
public SampleModel createCompatibleSampleModel(int w, int h) { return new ComponentSampleModel(dataType, w, h, pixelStride, scanlineStride, bankIndices, bandOffsets);
public SampleModel createCompatibleSampleModel(int w, int h) { return new ComponentSampleModel(dataType, w, h, pixelStride, scanlineStride, bankIndices, bandOffsets); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentSampleModel.java/buggy/core/src/classpath/java/java/awt/image/ComponentSampleModel.java
public SampleModel createSubsetSampleModel(int[] bands) {
public SampleModel createSubsetSampleModel(int[] bands) {
public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentSampleModel.java/buggy/core/src/classpath/java/java/awt/image/ComponentSampleModel.java
for (int b = 0; b < numBands; b++) {
for (int b=0; b<numBands; b++) {
public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentSampleModel.java/buggy/core/src/classpath/java/java/awt/image/ComponentSampleModel.java
return new ComponentSampleModel(dataType, width, height, pixelStride, scanlineStride, bankIndices, bandOffsets);
return new ComponentSampleModel(dataType, width, height, pixelStride, scanlineStride, bankIndices, bandOffsets);
public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentSampleModel.java/buggy/core/src/classpath/java/java/awt/image/ComponentSampleModel.java
super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores");
super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator");
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("Signature.SHA1withDSA", gnu.java.security.provider.DSASignature.class.getName()); put("Alg.Alias.Signature.DSS", "SHA1withDSA"); put("Alg.Alias.Signature.DSA", "SHA1withDSA"); put("Alg.Alias.Signature.SHAwithDSA", "SHA1withDSA"); put("Alg.Alias.Signature.DSAwithSHA", "SHA1withDSA"); put("Alg.Alias.Signature.DSAwi...
put("Signature.SHA160withDSS", gnu.java.security.jce.sig.SHA160withDSS.class.getName()); put("Alg.Alias.Signature.SHA1withDSA", "SHA160withDSS"); put("Alg.Alias.Signature.DSS", "SHA160withDSS"); put("Alg.Alias.Signature.DSA", "SHA160withDSS"); put("Alg.Alias.Signature.SHAwithDSA", "SHA160withDSS"); put("Alg.Alias.Signa...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("Signature.MD4withRSA", MD4withRSA.class.getName()); put("Signature.MD4withRSA ImplementedIn", "Software"); put("Alg.Alias.Signature.md4WithRSAEncryption", "MD4withRSA"); put("Alg.Alias.Signature.OID.1.2.840.113549.1.1.3", "MD4withRSA"); put("Alg.Alias.Signature.1.2.840.113549.1.1.3", "MD4withRSA"); put("Signature...
put("Signature.MD5withRSA", gnu.java.security.jce.sig.MD5withRSA.class.getName());
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("Signature.SHA1withRSA", SHA1withRSA.class.getName()); put("Signature.SHA1withRSA ImplementedIn", "Software"); put("Alg.Alias.Signature.sha-1WithRSAEncryption", "SHA1withRSA"); put("Alg.Alias.Signature.OID.1.2.840.113549.1.1.5", "SHA1withRSA"); put("Alg.Alias.Signature.1.2.840.113549.1.1.5", "SHA1withRSA");
put("Signature.SHA160withRSA", gnu.java.security.jce.sig.SHA160withRSA.class.getName()); put("Signature.SHA160withRSA ImplementedIn", "Software"); put("Alg.Alias.Signature.sha-1WithRSAEncryption", "SHA160withRSA"); put("Alg.Alias.Signature.sha-160WithRSAEncryption", "SHA160withRSA"); put("Alg.Alias.Signature.sha1WithRS...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("KeyPairGenerator.DSA", gnu.java.security.provider.DSAKeyPairGenerator.class.getName()); put("Alg.Alias.KeyPairGenerator.OID.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyPairGenerator.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyPairGenerator.1.3.14.3.2.12", "DSA");
put("KeyPairGenerator.DSS", gnu.java.security.jce.sig.DSSKeyPairGeneratorSpi.class.getName()); put("KeyPairGenerator.DSS KeySize", "1024"); put("KeyPairGenerator.DSS ImplementedIn", "Software"); put("Alg.Alias.KeyPairGenerator.DSA", "DSS"); put("Alg.Alias.KeyPairGenerator.OID.1.2.840.10040.4.1", "DSS"); put("Alg.Alias....
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("KeyFactory.DSA", gnu.java.security.provider.DSAKeyFactory.class.getName()); put("KeyFactory.Encoded", EncodedKeyFactory.class.getName());
put("KeyFactory.DSS", gnu.java.security.jce.sig.DSSKeyFactory.class.getName()); put("Alg.Alias.KeyFactory.DSA", "DSS"); put("Alg.Alias.KeyFactory.OID.1.2.840.10040.4.1", "DSS"); put("Alg.Alias.KeyFactory.1.2.840.10040.4.1", "DSS"); put("Alg.Alias.KeyFactory.1.3.14.3.2.12", "DSS"); put("KeyFactory.RSA", gnu.java.securi...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("KeyFactory.RSA", RSAKeyFactory.class.getName()); put("Alg.Alias.KeyFactory.OID.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyFactory.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyFactory.1.3.14.3.2.12", "DSA"); put("MessageDigest.SHA", gnu.java.security.provider.SHA.class.getName()); put("MessageDigest.MD5", gn...
put("MessageDigest.HAVAL", gnu.java.security.jce.hash.HavalSpi.class.getName()); put("MessageDigest.HAVAL ImplementedIn", "Software"); put("MessageDigest.MD2", gnu.java.security.jce.hash.MD2Spi.class.getName()); put("MessageDigest.MD2 ImplementedIn", "Software"); put("MessageDigest.MD4", gnu.java.security.jce.hash.MD4S...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("AlgorithmParameters.DSA", gnu.java.security.provider.DSAParameters.class.getName()); put("Alg.Alias.AlgorithmParameters.DSS", "DSA"); put("Alg.Alias.AlgorithmParameters.SHAwithDSA", "DSA"); put("Alg.Alias.AlgorithmParameters.OID.1.2.840.10040.4.3", "DSA"); put("Alg.Alias.AlgorithmParameters.1.2.840.10040.4.3", "D...
put("AlgorithmParameters.DSS", gnu.java.security.jce.sig.DSSParameters.class.getName()); put("Alg.Alias.AlgorithmParameters.DSA", "DSS"); put("Alg.Alias.AlgorithmParameters.SHAwithDSA", "DSS"); put("Alg.Alias.AlgorithmParameters.OID.1.2.840.10040.4.3", "DSS"); put("Alg.Alias.AlgorithmParameters.1.2.840.10040.4.3", "DSS...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
gnu.java.security.provider.DSAParameterGenerator.class.getName());
gnu.java.security.jce.sig.DSSParametersGenerator.class.getName()); put("Alg.Alias.AlgorithmParameterGenerator.DSA", "DSS");
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
gnu.java.security.provider.SHA1PRNG.class.getName());
gnu.java.security.jce.prng.Sha160RandomSpi.class.getName()); put("SecureRandom.MD2PRNG", gnu.java.security.jce.prng.MD2RandomSpi.class.getName()); put("SecureRandom.MD2PRNG ImplementedIn", "Software"); put("SecureRandom.MD4PRNG", gnu.java.security.jce.prng.MD4RandomSpi.class.getName()); put("SecureRandom.MD4PRNG Imple...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("Signature.SHA1withDSA", gnu.java.security.provider.DSASignature.class.getName()); put("Alg.Alias.Signature.DSS", "SHA1withDSA"); put("Alg.Alias.Signature.DSA", "SHA1withDSA"); put("Alg.Alias.Signature.SHAwithDSA", "SHA1withDSA"); put("Alg.Alias.Signature.DSAwithSHA", "SHA1withDSA"); put("Alg.Alias.Signature.DSAwi...
put("Signature.SHA160withDSS", gnu.java.security.jce.sig.SHA160withDSS.class.getName()); put("Alg.Alias.Signature.SHA1withDSA", "SHA160withDSS"); put("Alg.Alias.Signature.DSS", "SHA160withDSS"); put("Alg.Alias.Signature.DSA", "SHA160withDSS"); put("Alg.Alias.Signature.SHAwithDSA", "SHA160withDSS"); put("Alg.Alias.Signa...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("Signature.MD4withRSA", MD4withRSA.class.getName()); put("Signature.MD4withRSA ImplementedIn", "Software"); put("Alg.Alias.Signature.md4WithRSAEncryption", "MD4withRSA"); put("Alg.Alias.Signature.OID.1.2.840.113549.1.1.3", "MD4withRSA"); put("Alg.Alias.Signature.1.2.840.113549.1.1.3", "MD4withRSA"); put("Signature...
put("Signature.MD5withRSA", gnu.java.security.jce.sig.MD5withRSA.class.getName());
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("Signature.SHA1withRSA", SHA1withRSA.class.getName()); put("Signature.SHA1withRSA ImplementedIn", "Software"); put("Alg.Alias.Signature.sha-1WithRSAEncryption", "SHA1withRSA"); put("Alg.Alias.Signature.OID.1.2.840.113549.1.1.5", "SHA1withRSA"); put("Alg.Alias.Signature.1.2.840.113549.1.1.5", "SHA1withRSA");
put("Signature.SHA160withRSA", gnu.java.security.jce.sig.SHA160withRSA.class.getName()); put("Signature.SHA160withRSA ImplementedIn", "Software"); put("Alg.Alias.Signature.sha-1WithRSAEncryption", "SHA160withRSA"); put("Alg.Alias.Signature.sha-160WithRSAEncryption", "SHA160withRSA"); put("Alg.Alias.Signature.sha1WithRS...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("KeyPairGenerator.DSA", gnu.java.security.provider.DSAKeyPairGenerator.class.getName()); put("Alg.Alias.KeyPairGenerator.OID.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyPairGenerator.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyPairGenerator.1.3.14.3.2.12", "DSA");
put("KeyPairGenerator.DSS", gnu.java.security.jce.sig.DSSKeyPairGeneratorSpi.class.getName()); put("KeyPairGenerator.DSS KeySize", "1024"); put("KeyPairGenerator.DSS ImplementedIn", "Software"); put("Alg.Alias.KeyPairGenerator.DSA", "DSS"); put("Alg.Alias.KeyPairGenerator.OID.1.2.840.10040.4.1", "DSS"); put("Alg.Alias....
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("KeyFactory.DSA", gnu.java.security.provider.DSAKeyFactory.class.getName()); put("KeyFactory.Encoded", EncodedKeyFactory.class.getName());
put("KeyFactory.DSS", gnu.java.security.jce.sig.DSSKeyFactory.class.getName()); put("Alg.Alias.KeyFactory.DSA", "DSS"); put("Alg.Alias.KeyFactory.OID.1.2.840.10040.4.1", "DSS"); put("Alg.Alias.KeyFactory.1.2.840.10040.4.1", "DSS"); put("Alg.Alias.KeyFactory.1.3.14.3.2.12", "DSS"); put("KeyFactory.RSA", gnu.java.securi...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("KeyFactory.RSA", RSAKeyFactory.class.getName()); put("Alg.Alias.KeyFactory.OID.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyFactory.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyFactory.1.3.14.3.2.12", "DSA"); put("MessageDigest.SHA", gnu.java.security.provider.SHA.class.getName()); put("MessageDigest.MD5", gn...
put("MessageDigest.HAVAL", gnu.java.security.jce.hash.HavalSpi.class.getName()); put("MessageDigest.HAVAL ImplementedIn", "Software"); put("MessageDigest.MD2", gnu.java.security.jce.hash.MD2Spi.class.getName()); put("MessageDigest.MD2 ImplementedIn", "Software"); put("MessageDigest.MD4", gnu.java.security.jce.hash.MD4S...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
put("AlgorithmParameters.DSA", gnu.java.security.provider.DSAParameters.class.getName()); put("Alg.Alias.AlgorithmParameters.DSS", "DSA"); put("Alg.Alias.AlgorithmParameters.SHAwithDSA", "DSA"); put("Alg.Alias.AlgorithmParameters.OID.1.2.840.10040.4.3", "DSA"); put("Alg.Alias.AlgorithmParameters.1.2.840.10040.4.3", "D...
put("AlgorithmParameters.DSS", gnu.java.security.jce.sig.DSSParameters.class.getName()); put("Alg.Alias.AlgorithmParameters.DSA", "DSS"); put("Alg.Alias.AlgorithmParameters.SHAwithDSA", "DSS"); put("Alg.Alias.AlgorithmParameters.OID.1.2.840.10040.4.3", "DSS"); put("Alg.Alias.AlgorithmParameters.1.2.840.10040.4.3", "DSS...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
gnu.java.security.provider.DSAParameterGenerator.class.getName());
gnu.java.security.jce.sig.DSSParametersGenerator.class.getName()); put("Alg.Alias.AlgorithmParameterGenerator.DSA", "DSS");
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
gnu.java.security.provider.SHA1PRNG.class.getName());
gnu.java.security.jce.prng.Sha160RandomSpi.class.getName()); put("SecureRandom.MD2PRNG", gnu.java.security.jce.prng.MD2RandomSpi.class.getName()); put("SecureRandom.MD2PRNG ImplementedIn", "Software"); put("SecureRandom.MD4PRNG", gnu.java.security.jce.prng.MD4RandomSpi.class.getName()); put("SecureRandom.MD4PRNG Imple...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/321ca9787201345560a6d7a6717b1d12e5e7241f/Gnu.java/clean/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java
public static Byte valueOf(String s)
public static Byte valueOf(String s, int radix)
public static Byte valueOf(String s) { return new Byte(parseByte(s, 10)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/217dae2077114aeb271c90f647f5baacd1bf28b4/Byte.java/buggy/core/src/classpath/5.0/java/lang/Byte.java
return new Byte(parseByte(s, 10));
return new Byte(parseByte(s, radix));
public static Byte valueOf(String s) { return new Byte(parseByte(s, 10)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/217dae2077114aeb271c90f647f5baacd1bf28b4/Byte.java/buggy/core/src/classpath/5.0/java/lang/Byte.java
if (logManager != null) throw new IllegalStateException("there can be only one LogManager; use LogManager.getLogManager()"); logManager = this; loggers = new java.util.HashMap(); rootLogger = new Logger("", null); rootLogger.setLevel(Level.INFO); addLogger(rootLogger); /* Make sure that Logger.global has the rootLogg...
loggers = new HashMap();
protected LogManager() { if (logManager != null) throw new IllegalStateException("there can be only one LogManager; use LogManager.getLogManager()"); logManager = this; loggers = new java.util.HashMap(); rootLogger = new Logger("", null); rootLogger.setLevel(Level.INFO); addLogger(rootLogger);...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
if (parent != rootLogger)
if (parent != Logger.root)
public synchronized boolean addLogger(Logger logger) { /* To developers thinking about to remove the 'synchronized' * declaration from this method: Please read the comment * in java.util.logging.Logger.getLogger(String, String) * and make sure that whatever you change wrt. synchronization * does n...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
static final Object createInstance(String className, Class ofClass)
private static final Object createInstance(String className, Class type, String property)
static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
Class klass;
Class klass = null;
static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass))
klass = locateClass(className); if (type.isAssignableFrom(klass)) return klass.newInstance(); warn(property, className, "not an instance of " + type.getName()); } catch (ClassNotFoundException e) { warn(property, className, "class not found", e); } catch (IllegalAccessException e) { warn(property, className, "illegal a...
static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
return klass.newInstance(); } catch (Exception _) { return null; } catch (java.lang.LinkageError _) { return null; }
static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
Logger best = rootLogger;
Logger best = Logger.root;
private synchronized Logger findAncestor(Logger child) { String childName = child.getName(); int childNameLength = childName.length(); Logger best = rootLogger; int bestNameLength = 0; Logger cand; String candName; int candNameLength; if (child == rootLogger) return null; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
if (child == rootLogger)
if (child == Logger.root)
private synchronized Logger findAncestor(Logger child) { String childName = child.getName(); int childNameLength = childName.length(); Logger best = rootLogger; int bestNameLength = 0; Logger cand; String candName; int candNameLength; if (child == rootLogger) return null; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
Class usingClass = null;
String propertyValue = logManager.getProperty(propertyName);
static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingClass;
return locateClass(propertyValue);
static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
catch (Exception _)
catch (ClassNotFoundException e)
static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
warn(propertyName + " = " + propertyValue, e);
static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
catch (Exception _)
catch (InstantiationException e) { warn(propertyName + " = " + klass.getName(), e); } catch (IllegalAccessException e)
static final Object getInstanceProperty(String propertyName, Class ofClass, Class defaultClass) { Class klass = getClassProperty(propertyName, defaultClass); if (klass == null) return null; try { Object obj = klass.newInstance(); if (ofClass.isInstance(obj)) return obj; } catch...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
warn(propertyName + " = " + klass.getName(), e);
static final Object getInstanceProperty(String propertyName, Class ofClass, Class defaultClass) { Class klass = getClassProperty(propertyName, defaultClass); if (klass == null) return null; try { Object obj = klass.newInstance(); if (ofClass.isInstance(obj)) return obj; } catch...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
public static LogManager getLogManager()
public static synchronized LogManager getLogManager()
public static LogManager getLogManager() { return logManager; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
if (logManager == null) { logManager = makeLogManager(); initLogManager(); }
public static LogManager getLogManager() { return logManager; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
String managerClassName; LogManager manager; managerClassName = System.getProperty("java.util.logging.manager"); manager = (LogManager) createInstance(managerClassName, LogManager.class); if (manager != null) return manager; if (managerClassName != null) System.err.println("WARNING: System property \"java.util....
String managerClassName = SystemProperties.getProperty(MANAGER_PROPERTY); LogManager manager = (LogManager) createInstance (managerClassName, LogManager.class, MANAGER_PROPERTY); if (manager == null) manager = new LogManager(); return manager;
private static LogManager makeLogManager() { String managerClassName; LogManager manager; managerClassName = System.getProperty("java.util.logging.manager"); manager = (LogManager) createInstance(managerClassName, LogManager.class); if (manager != null) return manager; if (managerClassNa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
else if (logger != rootLogger)
else if (logger != Logger.root)
public synchronized void reset() throws SecurityException { /* Throw a SecurityException if the caller does not have the * permission to control the logging infrastructure. */ checkAccess(); properties = new Properties(); Iterator iter = loggers.values().iterator(); while (iter.hasNext()) {...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
rootLogger.setLevel(Level.INFO); rootLogger.resetLogger();
Logger.root.setLevel(Level.INFO); Logger.root.resetLogger();
public synchronized void reset() throws SecurityException { /* Throw a SecurityException if the caller does not have the * permission to control the logging infrastructure. */ checkAccess(); properties = new Properties(); Iterator iter = loggers.values().iterator(); while (iter.hasNext()) {...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java
public void read(cdrInput in)
public void read(AbstractCdrInput in)
public void read(cdrInput in) { service_context = ServiceContext.readSequence(in); request_id = in.read_ulong(); reply_status = in.read_ulong(); in.setCodeSet(cxCodeSet.find(service_context)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/v1_0/ReplyHeader.java
in.setCodeSet(cxCodeSet.find(service_context));
in.setCodeSet(CodeSetServiceContext.find(service_context));
public void read(cdrInput in) { service_context = ServiceContext.readSequence(in); request_id = in.read_ulong(); reply_status = in.read_ulong(); in.setCodeSet(cxCodeSet.find(service_context)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/v1_0/ReplyHeader.java
public void write(cdrOutput out)
public void write(AbstractCdrOutput out)
public void write(cdrOutput out) { ServiceContext.writeSequence(out, service_context); out.write_ulong(request_id); out.write_ulong(reply_status); out.setCodeSet(cxCodeSet.find(service_context)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/v1_0/ReplyHeader.java
out.setCodeSet(cxCodeSet.find(service_context));
out.setCodeSet(CodeSetServiceContext.find(service_context));
public void write(cdrOutput out) { ServiceContext.writeSequence(out, service_context); out.write_ulong(request_id); out.write_ulong(reply_status); out.setCodeSet(cxCodeSet.find(service_context)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/v1_0/ReplyHeader.java
case NO_EXCEPTION :
case NO_EXCEPTION:
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/ReplyHeader.java
case USER_EXCEPTION :
case USER_EXCEPTION:
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/ReplyHeader.java
case SYSTEM_EXCEPTION :
case SYSTEM_EXCEPTION:
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/ReplyHeader.java
case LOCATION_FORWARD :
case LOCATION_FORWARD:
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/ReplyHeader.java
default :
default:
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/ReplyHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/ReplyHeader.java
return new byte[] { (byte) (h0 >>> 56), (byte) (h0 >>> 48), (byte) (h0 >>> 40), (byte) (h0 >>> 32), (byte) (h0 >>> 24), (byte) (h0 >>> 16), (byte) (h0 >>> 8), (byte) h0, (byte) (h1 >>> 56), (byte) (h1 >>> 48), (byte) (h1 >>> 40), (byte) (h1 >>> 32), (byte) (h1 >>> 24), (byte) (h1 >>> 16), (byte) (h1 >>> 8), (byte) h1, ...
return new byte[] { (byte)(h0 >>> 56), (byte)(h0 >>> 48), (byte)(h0 >>> 40), (byte)(h0 >>> 32), (byte)(h0 >>> 24), (byte)(h0 >>> 16), (byte)(h0 >>> 8), (byte) h0, (byte)(h1 >>> 56), (byte)(h1 >>> 48), (byte)(h1 >>> 40), (byte)(h1 >>> 32), (byte)(h1 >>> 24), (byte)(h1 >>> 16), (byte)(h1 >>> 8), (byte) h1, (byte)(h2 >>...
protected byte[] getResult() { return new byte[] { (byte) (h0 >>> 56), (byte) (h0 >>> 48), (byte) (h0 >>> 40), (byte) (h0 >>> 32), (byte) (h0 >>> 24), (byte) (h0 >>> 16), (byte) (h0 >>> 8), (byte) h0, (byte) (h1 >>> 56), (byte...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
int n = (int) (count % BLOCK_SIZE);
int n = (int)(count % BLOCK_SIZE);
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
result[padding++] = (byte) (bits >>> 56); result[padding++] = (byte) (bits >>> 48); result[padding++] = (byte) (bits >>> 40); result[padding++] = (byte) (bits >>> 32); result[padding++] = (byte) (bits >>> 24); result[padding++] = (byte) (bits >>> 16); result[padding++] = (byte) (bits >>> 8); result[padding] = (byte) bi...
result[padding++] = (byte)(bits >>> 56); result[padding++] = (byte)(bits >>> 48); result[padding++] = (byte)(bits >>> 40); result[padding++] = (byte)(bits >>> 32); result[padding++] = (byte)(bits >>> 24); result[padding++] = (byte)(bits >>> 16); result[padding++] = (byte)(bits >>> 8); result[padding ] = (byte) bits;
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
private static final synchronized long[] sha(long hh0, long hh1, long hh2,
private static synchronized final long[] sha(long hh0, long hh1, long hh2,
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
{ w[r] = (long) in[offset++] << 56 | ((long) in[offset++] & 0xFF) << 48
w[r] = (long) in[offset++] << 56 | ((long) in[offset++] & 0xFF) << 48
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
}
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
+ (((T2 >>> 1) | (T2 << 63)) ^ ((T2 >>> 8) | (T2 << 56)) ^ (T2 >>> 7))
+ (((T2 >>> 1) | (T2 << 63)) ^ ((T2 >>> 8) | (T2 << 56)) ^ (T2 >>> 7))
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
+ (((E >>> 14) | (E << 50)) ^ ((E >>> 18) | (E << 46)) ^ ((E >>> 41) | (E << 23)))
+ (((E >>> 14) | (E << 50)) ^ ((E >>> 18) | (E << 46)) ^ ((E >>> 41) | (E << 23)))
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
T2 = (((A >>> 28) | (A << 36)) ^ ((A >>> 34) | (A << 30)) ^ ((A >>> 39) | (A << 25)))
T2 = (((A >>> 28) | (A << 36)) ^ ((A >>> 34) | (A << 30)) ^ ((A >>> 39) | (A << 25)))
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
return new long[] { hh0 + A, hh1 + B, hh2 + C, hh3 + D, hh4 + E, hh5 + F, hh6 + G, hh7 + H };
return new long[] { hh0 + A, hh1 + B, hh2 + C, hh3 + D, hh4 + E, hh5 + F, hh6 + G, hh7 + H };
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
protected void transform(byte[] in, int offset) { long[] result = sha(h0, h1, h2, h3, h4, h5, h6, h7, in, offset); h0 = result[0]; h1 = result[1]; h2 = result[2]; h3 = result[3]; h4 = result[4]; h5 = result[5]; h6 = result[6]; h7 = result[7]; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha384.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/Sha384.java
{
public void update(byte b) { // compute number of bytes still unhashed; ie. present in buffer int i = (int) (count % blockSize); count++; buffer[i] = b; if (i == (blockSize - 1)) { transform(buffer, 0); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/BaseHash.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/BaseHash.java
}
public void update(byte b) { // compute number of bytes still unhashed; ie. present in buffer int i = (int) (count % blockSize); count++; buffer[i] = b; if (i == (blockSize - 1)) { transform(buffer, 0); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/BaseHash.java/buggy/core/src/classpath/gnu/gnu/java/security/hash/BaseHash.java
setSelected(changed);
setSelectedHelper(changed, isEnabled(), true);
public void menuSelectionChanged(boolean changed) { // if this menu selection is true, then activate this menu and // display popup associated with this menu setSelected(changed); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/JMenu.java/buggy/core/src/classpath/javax/javax/swing/JMenu.java
if (selected && isEnabled()) { super.setArmed(true); super.setSelected(true); if (isShowing()) { fireMenuSelected(); int x = 0; int y = 0; if (menuLocation == null) { if (isTopLevelMenu()) y = this.getHeight(); else x = this.getWidth(); getPopupMenu().show(this, x, y); } else getPopupMenu().show(this, ...
setSelectedHelper(selected, true, false);
public void setSelected(boolean selected) { // If menu is selected and enabled, activates the menu and // displays associated popup. if (selected && isEnabled()) { super.setArmed(true); super.setSelected(true); // FIXME: The reference implementation behaves different here. When // calling setSelec...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/JMenu.java/buggy/core/src/classpath/javax/javax/swing/JMenu.java
public BERReader(InputStream in)
public BERReader(byte[] in)
public BERReader(InputStream in) { super(in); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5cf2c2bc800071fe435bc5592c49bd0976f12ab/BERReader.java/buggy/core/src/classpath/gnu/gnu/java/security/ber/BERReader.java
public BEREncodingException (String msg)
public BEREncodingException()
public BEREncodingException (String msg) { super (msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5cf2c2bc800071fe435bc5592c49bd0976f12ab/BEREncodingException.java/buggy/core/src/classpath/gnu/gnu/java/security/ber/BEREncodingException.java
super (msg);
super ();
public BEREncodingException (String msg) { super (msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5cf2c2bc800071fe435bc5592c49bd0976f12ab/BEREncodingException.java/buggy/core/src/classpath/gnu/gnu/java/security/ber/BEREncodingException.java
public static String dumpString(byte[] data, String m)
public static String dumpString(byte[] data, int offset, int length, String m)
public static String dumpString(byte[] data, String m) { return (data == null) ? "null\n" : dumpString(data, 0, data.length, m); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/Util.java/buggy/core/src/classpath/gnu/gnu/java/security/util/Util.java
return (data == null) ? "null\n" : dumpString(data, 0, data.length, m);
if (data == null) { return m + "null\n"; } StringBuffer sb = new StringBuffer(length * 3); if (length > 32) { sb.append(m).append("Hexadecimal dump of ").append(length).append( " bytes...\n"); } int end = offset + length; String s; int l = Integer.toString(length).length(); if (l < 4) { l = 4; } for (; offset < end; o...
public static String dumpString(byte[] data, String m) { return (data == null) ? "null\n" : dumpString(data, 0, data.length, m); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/Util.java/buggy/core/src/classpath/gnu/gnu/java/security/util/Util.java
if (DEBUG) debug("SignerInfo: " + val);
log.finest("SignerInfo: " + val);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/SignerInfo.java/buggy/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
if (DEBUG) debug(" Version: " + version);
log.finest(" Version: " + version);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/SignerInfo.java/buggy/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
if (DEBUG) debug(" IssuerAndSerialNumber: " + val);
log.finest(" IssuerAndSerialNumber: " + val);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/SignerInfo.java/buggy/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
if (DEBUG) debug(" Issuer: " + issuer);
log.finest(" Issuer: " + issuer);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/SignerInfo.java/buggy/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
if (DEBUG) debug(" SerialNumber: " + serialNumber);
log.finest(" SerialNumber: " + serialNumber);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/SignerInfo.java/buggy/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java