rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
}
public float getLayoutAlignmentY(Container parent) { if (container != parent) throw new AWTError("BoxLayout can't be shared"); checkTotalRequirements(); return yTotal.alignment; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java
}
public void invalidateLayout(Container parent) { xChildren = null; yChildren = null; xTotal = null; yTotal = null; offsetsX = null; offsetsY = null; spansX = null; spansY = null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java
}
public Dimension maximumLayoutSize(Container parent) { if (container != parent) throw new AWTError("BoxLayout can't be shared"); checkTotalRequirements(); return new Dimension(xTotal.maximum, yTotal.maximum); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java
}
public Dimension minimumLayoutSize(Container parent) { if (container != parent) throw new AWTError("BoxLayout can't be shared"); checkTotalRequirements(); return new Dimension(xTotal.minimum, yTotal.minimum); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java
}
public Dimension preferredLayoutSize(Container parent) { if (container != parent) throw new AWTError("BoxLayout can't be shared"); checkTotalRequirements(); Insets i = container.getInsets(); return new Dimension(xTotal.preferred + i.left + i.right, yTotal.preferred + i.top + ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java
return ((DatagramChannelImpl) ch).getNativeFD();
NIODatagramSocket socket = (NIODatagramSocket) ((DatagramChannelImpl) ch).socket(); return socket.getPlainDatagramSocketImpl().getNativeFD();
public int getNativeFD() { return ((DatagramChannelImpl) ch).getNativeFD(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/decc5d82ba0a18c6445f683c0d1a3d78fe4b1564/DatagramChannelSelectionKey.java/buggy/core/src/classpath/gnu/gnu/java/nio/DatagramChannelSelectionKey.java
public String getInputMethodDisplayName(Locale inputLocale,
String getInputMethodDisplayName(Locale inputLocale,
public String getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/InputMethodDescriptor.java/buggy/core/src/classpath/java/java/awt/im/spi/InputMethodDescriptor.java
public Image getInputMethodIcon(Locale inputLocale);
Image getInputMethodIcon(Locale inputLocale);
public Image getInputMethodIcon(Locale inputLocale);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/InputMethodDescriptor.java/buggy/core/src/classpath/java/java/awt/im/spi/InputMethodDescriptor.java
debug("start CertificateList len == " + val.getLength());
if (Configuration.DEBUG) log.fine("start CertificateList len == " + val.getLength());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("start tbsCertList len == " + val.getLength());
if (Configuration.DEBUG) log.fine("start tbsCertList len == " + val.getLength());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read version == " + version);
if (Configuration.DEBUG) log.fine("read version == " + version);
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("start AlgorithmIdentifier len == " + val.getLength());
if (Configuration.DEBUG) log.fine("start AlgorithmIdentifier len == " + val.getLength());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read object identifier == " + algId);
if (Configuration.DEBUG) log.fine("read object identifier == " + algId);
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read parameters len == " + val.getEncodedLength());
if (Configuration.DEBUG) log.fine("read parameters len == " + val.getEncodedLength());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read issuer == " + issuerDN);
if (Configuration.DEBUG) log.fine("read issuer == " + issuerDN);
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read thisUpdate == " + thisUpdate);
if (Configuration.DEBUG) log.fine("read thisUpdate == " + thisUpdate);
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read nextUpdate == " + nextUpdate);
if (Configuration.DEBUG) log.fine("read nextUpdate == " + nextUpdate);
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("start Extensions len == " + exts.getLength());
if (Configuration.DEBUG) log.fine("start Extensions len == " + exts.getLength());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("current count == " + len);
if (Configuration.DEBUG) log.fine("current count == " + len);
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read tag == " + val.getTag());
if (Configuration.DEBUG) log.fine("read tag == " + val.getTag());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("start AlgorithmIdentifier len == " + val.getLength());
if (Configuration.DEBUG) log.fine("start AlgorithmIdentifier len == " + val.getLength());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read tag == " + sigAlgVal.getTag());
if (Configuration.DEBUG) log.fine("read tag == " + sigAlgVal.getTag());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("signature id == " + sigAlg); debug("sigAlgVal length == " + sigAlgVal.getEncodedLength());
if (Configuration.DEBUG) { log.fine("signature id == " + sigAlg); log.fine("sigAlgVal length == " + sigAlgVal.getEncodedLength()); }
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("sig params tag = " + val.getTag() + " len == " + val.getEncodedLength());
if (Configuration.DEBUG) log.fine("sig params tag = " + val.getTag() + " len == " + val.getEncodedLength());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
debug("read tag = " + val.getTag());
if (Configuration.DEBUG) log.fine("read tag = " + val.getTag());
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CRL.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/X509CRL.java
}
} catch (DriverException ex) { throw new DeviceException(ex); }
public synchronized Surface open(FrameBufferConfiguration config) throws UnknownConfigurationException, AlreadyOpenException, DeviceException { if (currentConfig != null) { throw new AlreadyOpenException(); } else if (config.equals(CONFIGS[0])) { try { vga = new VGASurface(this); currentConfig = config; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e204bcd94e42168df8116332c5e2f0db99bd1c55/VGADriver.java/clean/gui/src/driver/org/jnode/driver/video/vga/VGADriver.java
public FeatureDescriptor() { valueHash = new Hashtable(); }
public FeatureDescriptor() { valueHash = new Hashtable(); }
public FeatureDescriptor() { valueHash = new Hashtable(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public Enumeration attributeNames() { return valueHash.keys(); }
public Enumeration attributeNames() { return valueHash.keys(); }
public Enumeration attributeNames() { return valueHash.keys(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public String getDisplayName() { return displayName; }
public String getDisplayName() { return displayName; }
public String getDisplayName() { return displayName; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public String getShortDescription() { return shortDescription; }
public String getShortDescription() { return shortDescription; }
public String getShortDescription() { return shortDescription; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public Object getValue(String name) { return valueHash.get(name); }
public Object getValue(String name) { return valueHash.get(name); }
public Object getValue(String name) { return valueHash.get(name); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public boolean isExpert() { return expert; }
public boolean isExpert() { return expert; }
public boolean isExpert() { return expert; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public boolean isHidden() { return hidden; }
public boolean isHidden() { return hidden; }
public boolean isHidden() { return hidden; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public void setDisplayName(String displayName) { this.displayName = displayName; }
public void setDisplayName(String displayName) { this.displayName = displayName; }
public void setDisplayName(String displayName) { this.displayName = displayName; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public void setExpert(boolean expert) { this.expert = expert; }
public void setExpert(boolean expert) { this.expert = expert; }
public void setExpert(boolean expert) { this.expert = expert; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public void setHidden(boolean hidden) { this.hidden = hidden; }
public void setHidden(boolean hidden) { this.hidden = hidden; }
public void setHidden(boolean hidden) { this.hidden = hidden; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; }
public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; }
public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
public void setValue(String name, Object value) { valueHash.put(name, value); }
public void setValue(String name, Object value) { valueHash.put(name, value); }
public void setValue(String name, Object value) { valueHash.put(name, value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/FeatureDescriptor.java/clean/core/src/classpath/java/java/beans/FeatureDescriptor.java
revalidate(); repaint();
public void updateUI() { setUI((ToolTipUI) UIManager.getUI(this)); revalidate(); repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JToolTip.java/clean/core/src/classpath/javax/javax/swing/JToolTip.java
private void readObject(ObjectInputStream in)
private void readObject (ObjectInputStream in)
private void readObject(ObjectInputStream in) throws IOException, NotActiveException, ClassNotFoundException { byte[] buf = (byte[]) in.readObject(); name = new X500DistinguishedName(buf); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/X500Principal.java/buggy/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java
name = new X500DistinguishedName(buf);
parseDer (new ByteArrayInputStream (buf));
private void readObject(ObjectInputStream in) throws IOException, NotActiveException, ClassNotFoundException { byte[] buf = (byte[]) in.readObject(); name = new X500DistinguishedName(buf); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/X500Principal.java/buggy/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java
private void writeObject(ObjectOutputStream out) throws IOException
private void writeObject (ObjectOutputStream out) throws IOException
private void writeObject(ObjectOutputStream out) throws IOException { out.writeObject(name.getEncoded()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/X500Principal.java/buggy/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java
out.writeObject(name.getEncoded());
if (encoded != null) encodeDer(); out.writeObject (encoded);
private void writeObject(ObjectOutputStream out) throws IOException { out.writeObject(name.getEncoded()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/X500Principal.java/buggy/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java
c.repaint(b.x, b.y, b.width, b.height);
public void iconifyFrame(JInternalFrame frame) { JDesktopPane p = frame.getDesktopPane(); JDesktopIcon icon = frame.getDesktopIcon(); if (p != null && p.getSelectedFrame() == frame) p.setSelectedFrame(null); else { try { frame.setSelected(false); } catch (PropertyVetoException e) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultDesktopManager.java/buggy/core/src/classpath/javax/javax/swing/DefaultDesktopManager.java
c.repaint(b.x, b.y, b.width, b.height); }
protected void removeIconFor(JInternalFrame frame) { JDesktopIcon icon = frame.getDesktopIcon(); Container c = icon.getParent(); if (c != null && icon != null) c.remove(icon); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultDesktopManager.java/buggy/core/src/classpath/javax/javax/swing/DefaultDesktopManager.java
public boolean shouldScroll(int direction)
boolean shouldScroll(int direction)
public boolean shouldScroll(int direction) { int value; if (scrollbar.getOrientation() == HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (thumbRect.contains(currentMouseX, currentMouseY)) return false; if (direction ==...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicScrollBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java
width += (scrollbar.getMaximum() - scrollbar.getMinimum());
width += 16;
void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicScrollBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java
height += (scrollbar.getMaximum() - scrollbar.getMinimum());
height += 16;
void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicScrollBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java
int orientation = scrollbar.getOrientation(); switch (orientation) { case (JScrollBar.HORIZONTAL): incrButton = createIncreaseButton(EAST); decrButton = createDecreaseButton(WEST); break; default: incrButton = createIncreaseButton(SOUTH); decrButton = createDecreaseButton(NORTH); break; }
protected void installComponents() { if (incrButton != null) scrollbar.add(incrButton); if (decrButton != null) scrollbar.add(decrButton); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicScrollBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java
int orientation = scrollbar.getOrientation(); switch (orientation) { case (JScrollBar.HORIZONTAL): incrButton = createIncreaseButton(EAST); decrButton = createDecreaseButton(WEST); break; default: incrButton = createIncreaseButton(SOUTH); decrButton = createDecreaseButton(NORTH); break; }
protected void installDefaults() { int orientation = scrollbar.getOrientation(); switch (orientation) { case (JScrollBar.HORIZONTAL): incrButton = createIncreaseButton(EAST); decrButton = createDecreaseButton(WEST); break; default: incrButton = createIncreaseButton(SO...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicScrollBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java
throws NotImplementedException
public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) throws NotImplementedException { // XXX Implement. Sun uses undocumented implementation class // sun.java2d.SunComposi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/AlphaComposite.java/buggy/core/src/classpath/java/java/awt/AlphaComposite.java
throw new Error("not implemented");
return new AlphaCompositeContext(this, srcColorModel, dstColorModel);
public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) throws NotImplementedException { // XXX Implement. Sun uses undocumented implementation class // sun.java2d.SunComposi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/AlphaComposite.java/buggy/core/src/classpath/java/java/awt/AlphaComposite.java
if (b.getBackground() instanceof UIResource)
protected void uninstallDefaults(AbstractButton b) { if (b.getFont() instanceof UIResource) b.setFont(null); b.setForeground(null); b.setBackground(null); if (b.getBorder() instanceof UIResource) b.setBorder(null); b.setIconTextGap(defaultTextIconGap); if (b.getMargin() instanceof UIResourc...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicButtonUI.java
public Beans() { }
public Beans() { }
public Beans() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
public static Object getInstanceOf(Object bean, Class newClass) { return bean; }
public static Object getInstanceOf(Object bean, Class newClass) { return bean; }
public static Object getInstanceOf(Object bean, Class newClass) { return bean; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean;
public static Object instantiate (ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if (cl == null) { serStream = ClassLoader.getSystemResourceAsStream (beanName.replace ('.','/')+".ser"); } else { serStream = cl.getResourceAsStream (beanName.replace ('.'...
public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('.','/')+".ser"); } if(serStream != null) { if(cl == null) { ObjectInputStream ois = new ObjectInputStream(serStream); bean = ois.read...
if(bean instanceof Applet) { Applet a = (Applet)bean; if(serStream == null) { a.init(); } }
public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
if(bean instanceof Applet) { Applet a = (Applet)bean; if(serStream == null) { a.init(); } } return bean; }
return bean; }
public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
public static boolean isDesignTime() { return designTime; }
public static boolean isDesignTime() { return designTime; }
public static boolean isDesignTime() { return designTime; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
public static boolean isGuiAvailable() { return guiAvailable; }
public static boolean isGuiAvailable() { return guiAvailable; }
public static boolean isGuiAvailable() { return guiAvailable; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
public static boolean isInstanceOf(Object bean, Class newBeanClass) { return newBeanClass.isInstance(bean); }
public static boolean isInstanceOf(Object bean, Class newBeanClass) { return newBeanClass.isInstance(bean); }
public static boolean isInstanceOf(Object bean, Class newBeanClass) { return newBeanClass.isInstance(bean); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
public static void setDesignTime(boolean designTime) throws SecurityException { Beans.designTime = designTime; }
public static void setDesignTime(boolean designTime) throws SecurityException { Beans.designTime = designTime; }
public static void setDesignTime(boolean designTime) throws SecurityException { Beans.designTime = designTime; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
public static void setGuiAvailable(boolean guiAvailable) throws SecurityException { Beans.guiAvailable = guiAvailable; }
public static void setGuiAvailable(boolean guiAvailable) throws SecurityException { Beans.guiAvailable = guiAvailable; }
public static void setGuiAvailable(boolean guiAvailable) throws SecurityException { Beans.guiAvailable = guiAvailable; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Beans.java/clean/core/src/classpath/java/java/beans/Beans.java
new BorderUIResource.LineBorderUIResource(getControlShadow()),
new BorderUIResource.LineBorderUIResource(getFocusColor()),
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
r = new TTFTextRenderer(getFontData(font), font.getSize());
r = new TTFTextRenderer(renderCache, getFontData(font), font.getSize());
public TextRenderer getTextRenderer(Font font) { TextRenderer r = (TextRenderer) renderers.get(font); if (r == null) { r = new TTFTextRenderer(getFontData(font), font.getSize()); renderers.put(font, r); } return r; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1673c0916d234cb0a5f708f465f57aca2db213b2/TTFontProvider.java/clean/gui/src/awt/org/jnode/awt/font/truetype/TTFontProvider.java
super.processKeyEvent(e);
protected void processKeyEvent(KeyEvent e) { processComponentKeyEvent(e); // FIXME: this needs to be elaborated significantly, to do all the // focus / ancestor / window searching for the various binding modes. if (! e.isConsumed() && processKeyBinding(KeyStroke.getKeyStrokeForEvent(e), ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
if (tid == null | tid.getReference().get () == null)
if (tid.getReference().get () == null)
public ThreadOnlyFilter (ThreadId tid) throws InvalidThreadException { if (tid == null | tid.getReference().get () == null) throw new InvalidThreadException (tid.getId ()); _tid = tid; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/ThreadOnlyFilter.java/buggy/core/src/classpath/gnu/gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java
private static final NumberFormat computeInstance (Locale loc, String resource,
private static NumberFormat computeInstance(Locale loc, String resource,
private static final NumberFormat computeInstance (Locale loc, String resource, String def) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/NumberFormat.java/clean/core/src/classpath/java/java/text/NumberFormat.java
private final void secureSetAccessible(boolean flag)
private void secureSetAccessible(boolean flag)
private final void secureSetAccessible(boolean flag) { if (flag && (this instanceof Constructor && ((Constructor) this).getDeclaringClass() == Class.class)) throw new SecurityException("Cannot make object accessible: " + this); this.flag = flag; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/AccessibleObject.java/buggy/core/src/classpath/java/java/lang/reflect/AccessibleObject.java
public final Class getCategory()
public Class getCategory()
public final Class getCategory() { return PDLOverrideSupported.class; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/PDLOverrideSupported.java/buggy/core/src/classpath/javax/javax/print/attribute/standard/PDLOverrideSupported.java
public final String getName()
public String getName()
public final String getName() { return "pdl-override-supported"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/PDLOverrideSupported.java/buggy/core/src/classpath/javax/javax/print/attribute/standard/PDLOverrideSupported.java
public int getModifiers() { return vmMethod.getModifiers(); }
public int getModifiers() { return getModifiersInternal() & CONSTRUCTOR_MODIFIERS; }
public int getModifiers() { return vmMethod.getModifiers(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1b7948b90667ad6e59c157b1700e8034e8813d3a/Constructor.java/buggy/core/src/classpath/vm/java/lang/reflect/Constructor.java
static StringBuffer toString(int mod, StringBuffer r)
public static String toString(int mod)
static StringBuffer toString(int mod, StringBuffer r) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (is...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1b7948b90667ad6e59c157b1700e8034e8813d3a/Modifier.java/buggy/core/src/classpath/java/java/lang/reflect/Modifier.java
if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (isFinal(mod)) r.append("final "); if (isTransient(mod)) r.append("transient "); if (isVolatile(mod)) r.a...
return toString(mod, new StringBuilder()).toString();
static StringBuffer toString(int mod, StringBuffer r) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (is...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1b7948b90667ad6e59c157b1700e8034e8813d3a/Modifier.java/buggy/core/src/classpath/java/java/lang/reflect/Modifier.java
public abstract void initialize(AbstractVmClassLoader loader);
public abstract void initialize(VmClassLoader loader);
public abstract void initialize(AbstractVmClassLoader loader);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/NativeCodeCompiler.java/buggy/core/src/core/org/jnode/vm/compiler/NativeCodeCompiler.java
if (old != value)
if (old == null || !old.equals(value))
public void putValue(String key, Object value) { Object old = getValue(key); if (old != value) { store.put(key, value); firePropertyChange(key, old, value); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a7c2bfad7a98617f9973c753d7b20b1d8612d7b9/AbstractAction.java/clean/core/src/classpath/javax/javax/swing/AbstractAction.java
if (msg.toString().length() > maxll)
if (msg.toString().length() > maxll || msg.toString().contains("\n"))
protected void addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated) { if (msg == null) return; hasCustomComponents = internallyCreated; if (msg instanceof Object[]) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/BasicOptionPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicOptionPaneUI.java
protected void burstStringInto(Container c, String d, int maxll) { // FIXME: Verify that this is the correct behaviour. // One interpretation of the spec is that this method // should recursively call itself to create (and add) // JLabels to the container if the length of the String d // is greater t...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/BasicOptionPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicOptionPaneUI.java
JLabel label = new JLabel(d);
int newlineIndex = d.indexOf('\n'); String line; String remainder; if (newlineIndex >= 0 && newlineIndex < maxll) { line = d.substring(0, newlineIndex); remainder = d.substring(newlineIndex + 1); } else { line = d.substring(0, maxll); remainder = d.substring(maxll); } JLabel label = new JLabel(line);
protected void burstStringInto(Container c, String d, int maxll) { // FIXME: Verify that this is the correct behaviour. // One interpretation of the spec is that this method // should recursively call itself to create (and add) // JLabels to the container if the length of the String d // is greater t...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/BasicOptionPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicOptionPaneUI.java
if (remainder.length() == 0) return; if ((remainder.length() > maxll || remainder.contains("\n"))) burstStringInto(c, remainder, maxll); else c.add(new JLabel(remainder));
protected void burstStringInto(Container c, String d, int maxll) { // FIXME: Verify that this is the correct behaviour. // One interpretation of the spec is that this method // should recursively call itself to create (and add) // JLabels to the container if the length of the String d // is greater t...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/BasicOptionPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicOptionPaneUI.java
os.writeTEST(X86Register.EAX, X86Constants.F_CF | X86Constants.F_ZF);
os.writeTEST(X86Register.EAX, (X86Constants.F_CF | X86Constants.F_ZF) << 8);
final void compare(boolean gt, int type, Label curInstrLabel) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); // Prepare operands final FPUStack fpuStack = vstack.fpuStack; final X86Register reg; reg = prepareForOperation(os, ec, vstack, fpuStack, v2, v1, false); // We need reg to be ST1. ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/485b6e07ffbb99f5e456777e4aad96e12be61dc4/FPCompilerFPU.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/FPCompilerFPU.java
os.writeTEST(X86Register.EAX, X86Constants.F_CF);
os.writeTEST(X86Register.EAX, (X86Constants.F_CF) << 8);
final void compare(boolean gt, int type, Label curInstrLabel) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); // Prepare operands final FPUStack fpuStack = vstack.fpuStack; final X86Register reg; reg = prepareForOperation(os, ec, vstack, fpuStack, v2, v1, false); // We need reg to be ST1. ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/485b6e07ffbb99f5e456777e4aad96e12be61dc4/FPCompilerFPU.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/FPCompilerFPU.java
public final void disableReschedule(boolean claimSchedulerLock, ProcessorLock otherLock) {
public final void disableReschedule(boolean claimSchedulerLock) {
public final void disableReschedule(boolean claimSchedulerLock, ProcessorLock otherLock) { getTSIAddress().atomicOr(Word.fromIntSignExtend(TSI_BLOCK_SWITCH)); lockCount++; if (claimSchedulerLock) { scheduler.lock(otherLock); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
scheduler.lock(otherLock); }
scheduler.lock(); }
public final void disableReschedule(boolean claimSchedulerLock, ProcessorLock otherLock) { getTSIAddress().atomicOr(Word.fromIntSignExtend(TSI_BLOCK_SWITCH)); lockCount++; if (claimSchedulerLock) { scheduler.lock(otherLock); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
public final void enableReschedule(boolean releaseSchedulerLock, ProcessorLock otherLock) {
public final void enableReschedule(boolean releaseSchedulerLock) {
public final void enableReschedule(boolean releaseSchedulerLock, ProcessorLock otherLock) { if (releaseSchedulerLock) { scheduler.unlock(otherLock); } lockCount--; if (lockCount == 0) { getTSIAddress() .atomicAnd(Word.fromIntSignExtend(~TSI_BLOCK_...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
scheduler.unlock(otherLock);
scheduler.unlock();
public final void enableReschedule(boolean releaseSchedulerLock, ProcessorLock otherLock) { if (releaseSchedulerLock) { scheduler.unlock(otherLock); } lockCount--; if (lockCount == 0) { getTSIAddress() .atomicAnd(Word.fromIntSignExtend(~TSI_BLOCK_...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
scheduler.addToReadyQueue(current, false);
scheduler.addToReadyQueue(current, false, getIdString());
final void reschedule() { // Unsafe.debug("R"); this.nextThread = null; try { // Get the current thread final VmThread current = currentThread; this.nextThread = current; // Process kernel debugger data if (Unsafe.isKdbEnabled()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
final VmThread newThread = scheduler.schedule();
VmThread newThread = scheduler.popFirstSleepingThread(); if (newThread == null) { newThread = scheduler.popFirstReadyThread(); }
final void reschedule() { // Unsafe.debug("R"); this.nextThread = null; try { // Get the current thread final VmThread current = currentThread; this.nextThread = current; // Process kernel debugger data if (Unsafe.isKdbEnabled()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
newThread.wakeUpByScheduler();
final void reschedule() { // Unsafe.debug("R"); this.nextThread = null; try { // Get the current thread final VmThread current = currentThread; this.nextThread = current; // Process kernel debugger data if (Unsafe.isKdbEnabled()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
final void suspend(boolean releaseSchedulerLock, ProcessorLock otherLock) {
final void suspend(boolean releaseSchedulerLock) {
final void suspend(boolean releaseSchedulerLock, ProcessorLock otherLock) { if (lockCount != 1) { Unsafe.debug("Suspend with invalid lockCount: "); Unsafe.debug(lockCount); architecture.getStackReader().debugStackTrace(); Unsafe.die("suspend"); } fina...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
enableReschedule(releaseSchedulerLock, otherLock);
enableReschedule(releaseSchedulerLock);
final void suspend(boolean releaseSchedulerLock, ProcessorLock otherLock) { if (lockCount != 1) { Unsafe.debug("Suspend with invalid lockCount: "); Unsafe.debug(lockCount); architecture.getStackReader().debugStackTrace(); Unsafe.die("suspend"); } fina...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
final void yield() {
final void yield(boolean ignorePriority) { final VmThread t = this.currentThread; t.setYieldingState(); scheduler.addToReadyQueue(t, ignorePriority, "proc.yield");
final void yield() { threadSwitchIndicator = threadSwitchIndicator.or(Word .fromIntZeroExtend(TSI_SWITCH_NEEDED)); if (threadSwitchIndicator.NE(Word .fromIntZeroExtend(TSI_SWITCH_REQUESTED))) { Unsafe.debug("Yield with invalid tsi: " + threadSwitchIndicator); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java
throw err;
public void dump(PrintStream stream, int indent) { StringBuffer b = new StringBuffer(); for (int i = 0; i < indent; ++i) b.append(' '); b.append('<'); b.append(getName()); // Dump attributes if there are any. if (getAttributeCount() > 0) { b.append('\n'); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java
{ super.addImpl(comp, constraints, index); }
{ super.addImpl(comp, constraints, index); }
protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
{ return new JRootPane(); }
{ return new JRootPane(); }
public JRootPane createRootPane() { return new JRootPane(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
{ return null; }
{ return null; }
public AccessibleContext getAccessibleContext() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
{ return getRootPane().getContentPane(); }
{ return getRootPane().getContentPane(); }
public Container getContentPane() { return getRootPane().getContentPane(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
{ return close_action; }
{ return close_action; }
int getDefaultCloseOperation() { return close_action; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
{ return getRootPane().getGlassPane(); }
{ return getRootPane().getGlassPane(); }
public Component getGlassPane() { return getRootPane().getGlassPane(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
{ return getRootPane().getJMenuBar(); }
{ return getRootPane().getJMenuBar(); }
public JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java