rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
Unsafe.copy(srcPtr, start.add(dstPtr), length * 8);
final Extent size = Extent.fromIntZeroExtend(length * 8); Unsafe.copy(srcPtr, start.add(dstPtr), size);
public void setLongs(long[] src, int srcOfs, int dstPtr, int length) { if (srcOfs < 0) { throw new IndexOutOfBoundsException("srcOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (srcOfs + length > src.length) { throw new IndexOutOfBoundsException("dstOfs + length > dst....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java
Unsafe.copy(srcPtr, start.add(dstPtr), length * 2);
final Extent size = Extent.fromIntZeroExtend(length * 2); Unsafe.copy(srcPtr, start.add(dstPtr), size);
public void setShorts(short[] src, int srcOfs, int dstPtr, int length) { if (srcOfs < 0) { throw new IndexOutOfBoundsException("srcOfs < 0"); } if (length < 0) { throw new IndexOutOfBoundsException("length < 0"); } if (srcOfs + length > src.length) { throw new IndexOutOfBoundsException("dstOfs + length > ds...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/MemoryResourceImpl.java/buggy/core/src/core/org/jnode/vm/MemoryResourceImpl.java
l.pointerStateChanged(event);
try { l.pointerStateChanged(event); } catch (Throwable ex) { log.error("Exception in PointerListener", ex); }
public synchronized void fireEvent(PointerEvent event) { for (Iterator i = listeners.iterator(); i.hasNext();) { PointerListener l = (PointerListener) i.next(); l.pointerStateChanged(event); if (event.isConsumed()) { break; } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/46b569c01215d00246035fa9e90a9c49cadccd7e/PointerAPIAdapter.java/clean/core/src/driver/org/jnode/driver/input/PointerAPIAdapter.java
public static Serializable read(InputStream output)
public static Serializable read(InputStream input)
public static Serializable read(InputStream output) { // Explicitly prevent the stream from closing as we may need // to read the subsequent bytes as well. Stream may be auto-closed // in its finalizer. try { ObjectInputStream oin = new uncObjectInputStream(output); return (Serializabl...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ValueBaseHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/ValueBaseHelper.java
try { ObjectInputStream oin = new uncObjectInputStream(output); return (Serializable) oin.readObject(); } catch (Exception ex) { throw new MARSHAL(ex + ":" + ex.getMessage()); }
return Vio.read(input);
public static Serializable read(InputStream output) { // Explicitly prevent the stream from closing as we may need // to read the subsequent bytes as well. Stream may be auto-closed // in its finalizer. try { ObjectInputStream oin = new uncObjectInputStream(output); return (Serializabl...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ValueBaseHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/ValueBaseHelper.java
public static void write(OutputStream input, Serializable value)
public static void write(OutputStream output, Serializable value)
public static void write(OutputStream input, Serializable value) { // Explicitly prevent the stream from closing as we may need // to read the subsequent bytes as well. Stream may be auto-closed // in its finalizer. try { ObjectOutputStream oout = new uncObjectOutputStream(input); oout...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ValueBaseHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/ValueBaseHelper.java
try { ObjectOutputStream oout = new uncObjectOutputStream(input); oout.writeObject(value); oout.flush(); } catch (IOException ex) { throw new MARSHAL(ex + ":" + ex.getMessage()); }
Vio.write(output, value);
public static void write(OutputStream input, Serializable value) { // Explicitly prevent the stream from closing as we may need // to read the subsequent bytes as well. Stream may be auto-closed // in its finalizer. try { ObjectOutputStream oout = new uncObjectOutputStream(input); oout...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ValueBaseHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/ValueBaseHelper.java
return insets();
Insets retVal; if (swingComponent != null) retVal = swingComponent.getJComponent().getInsets(); else retVal = new Insets(0, 0, 0, 0); return retVal;
public Insets getInsets() { return insets(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/SwingContainerPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingContainerPeer.java
if(comp == null) comp = awtComponent;
protected void handleMouseEvent(MouseEvent ev) { Component comp = awtComponent.getComponentAt(ev.getPoint()); if (comp != null) { ComponentPeer peer = comp.getPeer(); if (awtComponent != comp && !comp.isLightweight() && peer instanceof SwingComponentPeer) { ev.translatePoint(comp.getX(),...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/SwingContainerPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingContainerPeer.java
disabledTextColor = UIManager.getColor("RadioButton.disabledText"); focusColor = UIManager.getColor("RadioButton.focus"); selectColor = UIManager.getColor("RadioButton.select");
String prefix = getPropertyPrefix(); disabledTextColor = UIManager.getColor(prefix + "disabledText"); focusColor = UIManager.getColor(prefix + "focus"); selectColor = UIManager.getColor(prefix + "select");
public void installDefaults(AbstractButton b) { super.installDefaults(b); disabledTextColor = UIManager.getColor("RadioButton.disabledText"); focusColor = UIManager.getColor("RadioButton.focus"); selectColor = UIManager.getColor("RadioButton.select"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e0c4001932916dcdf180e32bf374255e88829b25/MetalRadioButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalRadioButtonUI.java
{
{
protected void installDefaults(AbstractButton b) { super.installDefaults(b); if (b.getIcon() == null) b.setIcon(icon); if (b.getSelectedIcon() == null) b.setSelectedIcon(icon); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicRadioButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java
b.setIcon(icon);
b.setIcon(icon);
protected void installDefaults(AbstractButton b) { super.installDefaults(b); if (b.getIcon() == null) b.setIcon(icon); if (b.getSelectedIcon() == null) b.setSelectedIcon(icon); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicRadioButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java
}
}
protected void installDefaults(AbstractButton b) { super.installDefaults(b); if (b.getIcon() == null) b.setIcon(icon); if (b.getSelectedIcon() == null) b.setSelectedIcon(icon); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicRadioButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); Icon currentIcon = null; if (b.isSelected()) currentIcon = b.getSelecte...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicRadioButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java
paintFocus(g, b, vr, tr, ir);
paintFocus(g, tr, null);
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); Icon currentIcon = null; if (b.isSelected()) currentIcon = b.getSelecte...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicRadioButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java
if (path == null) throw new IllegalArgumentException("Null 'path' not permitted.");
public TreePath(Object[] path) { // Create Path this.path = new Object[path.length]; System.arraycopy(path, 0, this.path, 0, path.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public boolean equals(Object object) { // Variables Object[] treepath; int index; // Check for TreePath if (object instanceof TreePath) { // Get Path Elements treepath = ((TreePath) object).getPath(); // Check length if (treepath.length != path.length) return false; // Check Elements ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public boolean equals(Object object) { // Variables Object[] treepath; int index; // Check for TreePath if (object instanceof TreePath) { // Get Path Elements treepath = ((TreePath) object).getPath(); // Check length if (treepath.length != path.length) return false; // Check Elements ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public boolean equals(Object object) { // Variables Object[] treepath; int index; // Check for TreePath if (object instanceof TreePath) { // Get Path Elements treepath = ((TreePath) object).getPath(); // Check length if (treepath.length != path.length) return false; // Check Elements ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public boolean equals(Object object) { // Variables Object[] treepath; int index; // Check for TreePath if (object instanceof TreePath) { // Get Path Elements treepath = ((TreePath) object).getPath(); // Check length if (treepath.length != path.length) return false; // Check Elements ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public boolean equals(Object object) { // Variables Object[] treepath; int index; // Check for TreePath if (object instanceof TreePath) { // Get Path Elements treepath = ((TreePath) object).getPath(); // Check length if (treepath.length != path.length) return false; // Check Elements ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
if (treepath[index] != path[index])
if (!treepath[index].equals(path[index]))
public boolean equals(Object object) { // Variables Object[] treepath; int index; // Check for TreePath if (object instanceof TreePath) { // Get Path Elements treepath = ((TreePath) object).getPath(); // Check length if (treepath.length != path.length) return false; // Check Elements ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
return path;
return (Object[]) path.clone();
public Object[] getPath() { return path; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
if (position < 0 || position >= getPathCount()) throw new IllegalArgumentException("Invalid position: " + position);
public Object getPathComponent(int position) { return path[position]; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
Object[] treepath; int index; int index2; treepath = path.getPath(); index = 0; index2 = 0; while (treepath[index] != this.path[index2]) index++; while (treepath[index] == this.path[index2])
if (path == null) return false; int count = getPathCount(); if (path.getPathCount() < count) return false; for (int i = 0; i < count; i++)
public boolean isDescendant(TreePath path) { // Variables Object[] treepath; int index; int index2; // Get Descendant path treepath = path.getPath(); // Locate Start Index index = 0; index2 = 0; while (treepath[index] != this.path[index2]) index++; // Verify Paths while (treepath[index] == this...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
index++; index2++; } if (index2 != this.path.length)
if (!this.path[i].equals(path.getPathComponent(i)))
public boolean isDescendant(TreePath path) { // Variables Object[] treepath; int index; int index2; // Get Descendant path treepath = path.getPath(); // Locate Start Index index = 0; index2 = 0; while (treepath[index] != this.path[index2]) index++; // Verify Paths while (treepath[index] == this...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
}
public boolean isDescendant(TreePath path) { // Variables Object[] treepath; int index; int index2; // Get Descendant path treepath = path.getPath(); // Locate Start Index index = 0; index2 = 0; while (treepath[index] != this.path[index2]) index++; // Verify Paths while (treepath[index] == this...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public boolean isDescendant(TreePath path) { // Variables Object[] treepath; int index; int index2; // Get Descendant path treepath = path.getPath(); // Locate Start Index index = 0; index2 = 0; while (treepath[index] != this.path[index2]) index++; // Verify Paths while (treepath[index] == this...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public JarFile(File file) throws FileNotFoundException, IOException
public JarFile(String fileName) throws FileNotFoundException, IOException
public JarFile(File file) throws FileNotFoundException, IOException { this(file, true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/JarFile.java/buggy/core/src/classpath/java/java/util/jar/JarFile.java
this(file, true);
this(fileName, true);
public JarFile(File file) throws FileNotFoundException, IOException { this(file, true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/JarFile.java/buggy/core/src/classpath/java/java/util/jar/JarFile.java
protected TextAttribute (String name)
protected TextAttribute(String name)
protected TextAttribute (String name) { super (name); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/TextAttribute.java/buggy/core/src/classpath/java/java/awt/font/TextAttribute.java
super (name);
super(name);
protected TextAttribute (String name) { super (name); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/TextAttribute.java/buggy/core/src/classpath/java/java/awt/font/TextAttribute.java
protected Object readResolve ()
protected Object readResolve()
protected Object readResolve () throws InvalidObjectException { throw new Error ("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/TextAttribute.java/buggy/core/src/classpath/java/java/awt/font/TextAttribute.java
throw new Error ("not implemented");
if (this.getName().equals("background")) return BACKGROUND; if (this.getName().equals("bidi_embedding")) return BIDI_EMBEDDING; if (this.getName().equals("char_replacement")) return CHAR_REPLACEMENT; if (this.getName().equals("family")) return FAMILY; if (this.getName().equals("font")) return FONT; if (this.getNam...
protected Object readResolve () throws InvalidObjectException { throw new Error ("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/TextAttribute.java/buggy/core/src/classpath/java/java/awt/font/TextAttribute.java
Attribute(String name) {
protected Attribute (String name) {
Attribute(String name){ this.name = name;}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedCharacterIterator.java/buggy/core/src/classpath/java/java/text/AttributedCharacterIterator.java
}
}
Attribute(String name){ this.name = name;}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedCharacterIterator.java/buggy/core/src/classpath/java/java/text/AttributedCharacterIterator.java
readResolve() throws InvalidObjectException { if (this.equals(READING)) return(READING);
protected Object readResolve() throws InvalidObjectException { if (this.equals (READING)) return READING;
readResolve() throws InvalidObjectException{ if (this.equals(READING)) return(READING); if (this.equals(LANGUAGE)) return(LANGUAGE); if (this.equals(INPUT_METHOD_SEGMENT)) return(INPUT_METHOD_SEGMENT); throw new InvalidObjectException("Can't resolve Attribute: " + getName());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedCharacterIterator.java/buggy/core/src/classpath/java/java/text/AttributedCharacterIterator.java
if (this.equals(LANGUAGE)) return(LANGUAGE);
if (this.equals (LANGUAGE)) return LANGUAGE;
readResolve() throws InvalidObjectException{ if (this.equals(READING)) return(READING); if (this.equals(LANGUAGE)) return(LANGUAGE); if (this.equals(INPUT_METHOD_SEGMENT)) return(INPUT_METHOD_SEGMENT); throw new InvalidObjectException("Can't resolve Attribute: " + getName());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedCharacterIterator.java/buggy/core/src/classpath/java/java/text/AttributedCharacterIterator.java
if (this.equals(INPUT_METHOD_SEGMENT)) return(INPUT_METHOD_SEGMENT);
if (this.equals (INPUT_METHOD_SEGMENT)) return INPUT_METHOD_SEGMENT;
readResolve() throws InvalidObjectException{ if (this.equals(READING)) return(READING); if (this.equals(LANGUAGE)) return(LANGUAGE); if (this.equals(INPUT_METHOD_SEGMENT)) return(INPUT_METHOD_SEGMENT); throw new InvalidObjectException("Can't resolve Attribute: " + getName());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedCharacterIterator.java/buggy/core/src/classpath/java/java/text/AttributedCharacterIterator.java
throw new InvalidObjectException("Can't resolve Attribute: " + getName()); }
throw new InvalidObjectException ("Can't resolve Attribute: " + getName()); }
readResolve() throws InvalidObjectException{ if (this.equals(READING)) return(READING); if (this.equals(LANGUAGE)) return(LANGUAGE); if (this.equals(INPUT_METHOD_SEGMENT)) return(INPUT_METHOD_SEGMENT); throw new InvalidObjectException("Can't resolve Attribute: " + getName());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedCharacterIterator.java/buggy/core/src/classpath/java/java/text/AttributedCharacterIterator.java
"Not existent FisleSystemType"); }
"FileSystemType " + name + " doesn't exist"); }
public FileSystemType getFileSystemTypeForNameSystemTypes(String name) throws FileSystemException { FileSystemType result = fsTypeManager.getSystemType(name); if (result == null) { throw new FileSystemException( "Not existent FisleSystemType"); } return result; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/90ff791586103d9609affcb1a9cdc8294d876466/FileSystemPlugin.java/clean/fs/src/fs/org/jnode/fs/service/def/FileSystemPlugin.java
public static void bind(Class name, Object service) throws NamingException, NameAlreadyBoundException { getNameSpace().bind(name, service);
public static void bind(Class name, Object service) throws NamingException, NameAlreadyBoundException { getNameSpace().bind(name, service);
public static void bind(Class name, Object service) throws NamingException, NameAlreadyBoundException { getNameSpace().bind(name, service); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/95d080b6dd45e9377ad3ace3a74f8c5e46c8815f/InitialNaming.java/buggy/core/src/core/org/jnode/naming/InitialNaming.java
}
}
public static void unbind(Class name) { getNameSpace().unbind(name); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/95d080b6dd45e9377ad3ace3a74f8c5e46c8815f/InitialNaming.java/buggy/core/src/core/org/jnode/naming/InitialNaming.java
protected AbstractSelector (SelectorProvider provider)
protected AbstractSelector(SelectorProvider provider)
protected AbstractSelector (SelectorProvider provider) { this.provider = provider; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
this.cancelledKeys = new HashSet();
protected AbstractSelector (SelectorProvider provider) { this.provider = provider; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
return null;
if (! isOpen()) throw new ClosedSelectorException(); return cancelledKeys;
protected final Set cancelledKeys() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
public final void close () throws IOException
public final synchronized void close() throws IOException
public final void close () throws IOException { if (closed) return; closed = true; implCloseSelector (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
implCloseSelector ();
public final void close () throws IOException { if (closed) return; closed = true; implCloseSelector (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
return interestOps;
synchronized (impl.selectedKeys()) { return interestOps;
public int interestOps () { if (!isValid()) throw new CancelledKeyException(); return interestOps; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectionKeyImpl.java/buggy/core/src/classpath/gnu/gnu/java/nio/SelectionKeyImpl.java
}
public int interestOps () { if (!isValid()) throw new CancelledKeyException(); return interestOps; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectionKeyImpl.java/buggy/core/src/classpath/gnu/gnu/java/nio/SelectionKeyImpl.java
protected abstract void implCloseSelector () throws IOException;
protected abstract void implCloseSelector() throws IOException;
protected abstract void implCloseSelector () throws IOException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
public abstract Set keys ();
public abstract Set keys();
public abstract Set keys ();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Selector.java/buggy/core/src/classpath/java/java/nio/channels/Selector.java
public final boolean isOpen ()
public final boolean isOpen()
public final boolean isOpen () { return ! closed; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
protected abstract SelectionKey register (AbstractSelectableChannel ch,
protected abstract SelectionKey register(AbstractSelectableChannel ch,
protected abstract SelectionKey register (AbstractSelectableChannel ch, int ops, Object att);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
public final Object attach (Object obj)
public final Object attach(Object obj)
public final Object attach (Object obj) { Object old = attached; attached = obj; return old; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java
public abstract int select () throws IOException;
public abstract int select() throws IOException;
public abstract int select () throws IOException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Selector.java/buggy/core/src/classpath/java/java/nio/channels/Selector.java
protected final void begin ()
protected final void begin()
protected final void begin () { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractSelector.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractSelector.java
public int readyOps ()
public synchronized int readyOps ()
public int readyOps () { if (!isValid()) throw new CancelledKeyException(); return readyOps; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectionKeyImpl.java/buggy/core/src/classpath/gnu/gnu/java/nio/SelectionKeyImpl.java
public abstract boolean isConnected ();
public abstract boolean isConnected();
public abstract boolean isConnected ();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SocketChannel.java/buggy/core/src/classpath/java/java/nio/channels/SocketChannel.java
public abstract int selectNow () throws IOException;
public abstract int selectNow() throws IOException;
public abstract int selectNow () throws IOException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Selector.java/buggy/core/src/classpath/java/java/nio/channels/Selector.java
public abstract Set selectedKeys ();
public abstract Set selectedKeys();
public abstract Set selectedKeys ();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Selector.java/buggy/core/src/classpath/java/java/nio/channels/Selector.java
public abstract Selector wakeup ();
public abstract Selector wakeup();
public abstract Selector wakeup ();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Selector.java/buggy/core/src/classpath/java/java/nio/channels/Selector.java
WCharSeqHolder h = new WCharSeqHolder(); h._read(input); return h.value;
char[] value = new char[ input.read_long() ]; input.read_wchar_array(value, 0, value.length); return value;
public static char[] read(InputStream input) { WCharSeqHolder h = new WCharSeqHolder(); h._read(input); return h.value; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/WCharSeqHelper.java/clean/core/src/classpath/org/org/omg/CORBA/WCharSeqHelper.java
WCharSeqHolder h = new WCharSeqHolder(value); h._write(output);
output.write_long(value.length); output.write_wchar_array(value, 0, value.length);
public static void write(OutputStream output, char[] value) { WCharSeqHolder h = new WCharSeqHolder(value); h._write(output); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/WCharSeqHelper.java/clean/core/src/classpath/org/org/omg/CORBA/WCharSeqHelper.java
public WCharSeqHolder(char[] initial_value)
public WCharSeqHolder()
public WCharSeqHolder(char[] initial_value) { value = initial_value; typecode.setLength(value.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/WCharSeqHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/WCharSeqHolder.java
value = initial_value; typecode.setLength(value.length);
public WCharSeqHolder(char[] initial_value) { value = initial_value; typecode.setLength(value.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/WCharSeqHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/WCharSeqHolder.java
WhenNode(TemplateNode children, TemplateNode next, Expr test)
WhenNode(Expr test)
WhenNode(TemplateNode children, TemplateNode next, Expr test) { super(children, next); this.test = test; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/WhenNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/WhenNode.java
super(children, next);
WhenNode(TemplateNode children, TemplateNode next, Expr test) { super(children, next); this.test = test; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/WhenNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/WhenNode.java
return new WhenNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), test.clone(stylesheet));
TemplateNode ret = new WhenNode(test.clone(stylesheet)); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret;
TemplateNode clone(Stylesheet stylesheet) { return new WhenNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), test.clone(stylesheet)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/WhenNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/WhenNode.java
this.extendedEventTypes = extendedEventTypes;
public XMLParser(InputStream in, String systemId, boolean validating, boolean namespaceAware, boolean coalescing, boolean replaceERefs, boolean externalEntities, boolean supportDTD, boolean ba...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
public String getAttributeName(int index)
public QName getAttributeName(int index)
public String getAttributeName(int index) { Attribute a = (Attribute) attrs.get(index); return a.localName; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
return a.localName;
String namespaceURI = getNamespaceURI(a.prefix); return new QName(namespaceURI, a.localName, a.prefix);
public String getAttributeName(int index) { Attribute a = (Attribute) attrs.get(index); return a.localName; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
System.out.println("\tattribute "+reader.getAttributeQName(i)+
System.out.println("\tattribute "+reader.getAttributeName(i)+
public static void main(String[] args) throws Exception { boolean xIncludeAware = false; if (args.length > 1 && "-x".equals(args[1])) xIncludeAware = true; XMLParser p = new XMLParser(new java.io.FileInputStream(args[0]), absolutize(null, args[0]), ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
case XMLStreamConstants.START_ENTITY:
case START_ENTITY:
public static void main(String[] args) throws Exception { boolean xIncludeAware = false; if (args.length > 1 && "-x".equals(args[1])) xIncludeAware = true; XMLParser p = new XMLParser(new java.io.FileInputStream(args[0]), absolutize(null, args[0]), ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
case XMLStreamConstants.END_ENTITY:
case END_ENTITY:
public static void main(String[] args) throws Exception { boolean xIncludeAware = false; if (args.length > 1 && "-x".equals(args[1])) xIncludeAware = true; XMLParser p = new XMLParser(new java.io.FileInputStream(args[0]), absolutize(null, args[0]), ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
" of "+l.getLocationURI());
" of "+l.getSystemId());
public static void main(String[] args) throws Exception { boolean xIncludeAware = false; if (args.length > 1 && "-x".equals(args[1])) xIncludeAware = true; XMLParser p = new XMLParser(new java.io.FileInputStream(args[0]), absolutize(null, args[0]), ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
event = XMLStreamConstants.START_ENTITY; return event;
event = START_ENTITY; return extendedEventTypes ? event : next();
public int next() throws XMLStreamException { if (lookahead) { lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) { // Pop namespace context if (namespaceAware && !namespaces.isEmpty()) namespaces.removeFirst(); // Pop b...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
event = XMLStreamConstants.END_ENTITY; return event;
event = END_ENTITY; return extendedEventTypes ? event : next();
public int next() throws XMLStreamException { if (lookahead) { lookahead = false; return event; } if (event == XMLStreamConstants.END_ELEMENT) { // Pop namespace context if (namespaceAware && !namespaces.isEmpty()) namespaces.removeFirst(); // Pop b...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
String getAttributeName(int index);
QName getAttributeName(int index);
String getAttributeName(int index);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLStreamReader.java/buggy/core/src/classpath/javax/javax/xml/stream/XMLStreamReader.java
String getAttributeValue(int index);
String getAttributeValue(String namespaceURI, String localName);
String getAttributeValue(int index);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLStreamReader.java/buggy/core/src/classpath/javax/javax/xml/stream/XMLStreamReader.java
public void reset() { crc = 0; }
public void reset () { crc = 0; }
public void reset() { crc = 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/CRC32.java/buggy/core/src/classpath/java/java/util/zip/CRC32.java
public DefaultComboBoxModel(Object[] items) {
public DefaultComboBoxModel() {
public DefaultComboBoxModel(Object[] items) { // TODO } // DefaultComboBoxModel()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public Object getItem();
Object getItem();
public Object getItem();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ComboBoxEditor.java/buggy/core/src/classpath/javax/javax/swing/ComboBoxEditor.java
public void addElement(Object object);
void addElement(Object object);
public void addElement(Object object);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MutableComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/MutableComboBoxModel.java
public Object getSelectedItem();
Object getSelectedItem();
public Object getSelectedItem();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/ComboBoxModel.java
public void insertElementAt(Object object, int index);
void insertElementAt(Object object, int index);
public void insertElementAt(Object object, int index);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MutableComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/MutableComboBoxModel.java
public void removeElementAt(int index);
void removeElementAt(int index);
public void removeElementAt(int index);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MutableComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/MutableComboBoxModel.java
public void removeElement(Object object);
void removeElement(Object object);
public void removeElement(Object object);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MutableComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/MutableComboBoxModel.java
public void removeActionListener(ActionListener listener);
void removeActionListener(ActionListener listener);
public void removeActionListener(ActionListener listener);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ComboBoxEditor.java/buggy/core/src/classpath/javax/javax/swing/ComboBoxEditor.java
public void addActionListener(ActionListener listener);
void addActionListener(ActionListener listener);
public void addActionListener(ActionListener listener);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ComboBoxEditor.java/buggy/core/src/classpath/javax/javax/swing/ComboBoxEditor.java
public void setSelectedItem(Object item);
void setSelectedItem(Object item);
public void setSelectedItem(Object item);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/ComboBoxModel.java
int numSymbols = freqs.length;
public void buildCodes() { int numSymbols = freqs.length; int[] nextCode = new int[maxLength]; int code = 0; codes = new short[freqs.length]; if (DeflaterConstants.DEBUGGING) System.err.println("buildCodes: "+freqs.length); for (int bits = 0; bits < maxLength; bits++) { nextCode[bit...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/DeflaterHuffman.java/buggy/core/src/classpath/java/java/util/zip/DeflaterHuffman.java
public GeneralSecurityException(String msg)
public GeneralSecurityException()
public GeneralSecurityException(String msg) { super(msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/GeneralSecurityException.java/buggy/core/src/classpath/java/java/security/GeneralSecurityException.java
super(msg);
public GeneralSecurityException(String msg) { super(msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/GeneralSecurityException.java/buggy/core/src/classpath/java/java/security/GeneralSecurityException.java
Class c = null; try { c = Thread.currentThread().getContextClassLoader().loadClass( args[i]); } catch (ClassNotFoundException e) { System.err.println(args[i] + " class not found."); System.exit(1); }
Class c = compiler.loadClass(args[i]);
public static void main(String[] args) { // Check for the -iiop or -giop keys. If one of these keys is present, // forward all call to GRMIC. for (int i = 0; i < args.length; i++) { if (args[i].equals("-giop") || args[i].equals("-iiop")) { GRMIC.main(args); return;...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a0a1b5a96bc35d919f1dc104ff6cc513e7610801/RMIC.java/clean/core/src/classpath/tools/gnu/classpath/tools/rmi/RMIC.java
Class c = null; try { c = Thread.currentThread().getContextClassLoader().loadClass( args[i]); } catch (ClassNotFoundException e) { System.err.println(args[i] + " class not found."); System.exit(1); }
Class c = compiler.loadClass(args[i]);
public static void main(String[] args) { boolean noWrite = false; boolean verbose = false; String HelpPath = "giop/GRMIC.txt"; HelpPrinter.checkHelpKey(args, HelpPath); File output = new File("."); if (args.length == 0) { HelpPrinter.printHelpAndExit(HelpPath); } else { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a0a1b5a96bc35d919f1dc104ff6cc513e7610801/GRMIC.java/buggy/core/src/classpath/tools/gnu/classpath/tools/giop/GRMIC.java
InputStream in = HelpPrinter.class.getResourceAsStream(helpResourcePath); BufferedReader r = new BufferedReader(new InputStreamReader(in)); try { String s; while ((s = r.readLine()) != null) { System.out.println(s); } r.close(); } catch (IOException e) { System.err.print("Resource loading is broken:"); e.printStackTra...
printHelp(helpResourcePath);
public static void printHelpAndExit(String helpResourcePath) { InputStream in = HelpPrinter.class.getResourceAsStream(helpResourcePath); BufferedReader r = new BufferedReader(new InputStreamReader(in)); try { String s; while ((s = r.readLine()) != null) { System.out.pr...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a0a1b5a96bc35d919f1dc104ff6cc513e7610801/HelpPrinter.java/buggy/core/src/classpath/tools/gnu/classpath/tools/HelpPrinter.java
int xOff = 0; for (int y = thumbBounds.y + 4; y < (thumbBounds.y + thumbBounds.height - 4); y++) { if ((y % 2) == 0) g.setColor(thumbHighlightColor); else g.setColor(thumbDarkShadowColor); for (int x = thumbBounds.x + 3 + (xOff); x < (thumbBounds.x + thumbBounds.width - 3); x = x + 4) { g.drawLine(x, y, x, y); } xO...
MetalUtils.fillMetalPattern(g, thumbBounds.x + 3, thumbBounds.y + 3, thumbBounds.width - 6, thumbBounds.height - 6, thumbHighlightColor, thumbDarkShadowColor);
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { // first we fill the background g.setColor(thumbColor); g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width, thumbBounds.height); // draw the outer dark line g.setColor(thumbDarkShadowColor); g.drawRec...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/MetalScrollBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalScrollBarUI.java
Color saved = g.getColor(); Point x; Point y; Point z; Polygon lines; g.setColor(thumbHighlightColor); x = new Point(thumbBounds.x + 1, thumbBounds.y + 1); y = new Point(x); y.translate(thumbBounds.width - 2, 0); z = new Point(x); z.translate(0, thumbBounds.height - 2); lines = new Polygon(new int[] { x.x, y.x, z.x }...
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { Color saved = g.getColor(); Point x; Point y; Point z; Polygon lines; g.setColor(thumbHighlightColor); x = new Point(thumbBounds.x + 1, thumbBounds.y + 1); y = new Point(x); y.translate(thumbBounds.width - 2, 0); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java
g.setColor(saved);
BasicGraphicsUtils.drawBezel(g, thumbBounds.x, thumbBounds.y, thumbBounds.width, thumbBounds.height, false, false, thumbDarkShadowColor, thumbDarkShadowColor, thumbHighlightColor, thumbHighlightColor);
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { Color saved = g.getColor(); Point x; Point y; Point z; Polygon lines; g.setColor(thumbHighlightColor); x = new Point(thumbBounds.x + 1, thumbBounds.y + 1); y = new Point(x); y.translate(thumbBounds.width - 2, 0); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java