rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
setDisabledIcon(activeIcon);
disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) activeIcon).getImage()));
public Icon getDisabledIcon() { //FIXME: We should be gray-scaling the active icon and then returning it if (disabledIcon == null && activeIcon instanceof ImageIcon) setDisabledIcon(activeIcon); return disabledIcon; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JLabel.java/clean/core/src/classpath/javax/javax/swing/JLabel.java
public void setDisplayedMnemonic(char aChar)
public void setDisplayedMnemonic(int key)
public void setDisplayedMnemonic(char aChar) { if (aChar != mnemonicKey) { char oldKey = mnemonicKey; mnemonicKey = aChar; firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, oldKey, mnemonicKey); if (labelText != null) setDisplayedMnemonicIndex(labelText.indexOf(mnemonicKey)); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JLabel.java/clean/core/src/classpath/javax/javax/swing/JLabel.java
if (aChar != mnemonicKey) { char oldKey = mnemonicKey; mnemonicKey = aChar; firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, oldKey, mnemonicKey); if (labelText != null) setDisplayedMnemonicIndex(labelText.indexOf(mnemonicKey)); }
setDisplayedMnemonic((char) key);
public void setDisplayedMnemonic(char aChar) { if (aChar != mnemonicKey) { char oldKey = mnemonicKey; mnemonicKey = aChar; firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, oldKey, mnemonicKey); if (labelText != null) setDisplayedMnemonicIndex(labelText.indexOf(mnemonicKey)); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JLabel.java/clean/core/src/classpath/javax/javax/swing/JLabel.java
else if (e.getClickCount() < 2) return;
public void mouseClicked(MouseEvent e) { Point p = e.getPoint(); int row = table.rowAtPoint(p); int col = table.columnAtPoint(p); if (table.isCellEditable(row, col)) { // If the cell editor is the default editor, we request the // number of the required clicks from i...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
rendererPane = new CellRendererPane();
protected void installDefaults() { LookAndFeel.installColorsAndFont(table, "Table.background", "Table.foreground", "Table.font"); table.setGridColor(UIManager.getColor("Table.gridColor")); table.setSelectionForeground(UIManager.getColor("Table.selectionForeground")); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
rendererPane = new CellRendererPane(); table.add(rendererPane);
public void installUI(JComponent comp) { table = (JTable)comp; installDefaults(); installKeyboardActions(); installListeners(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
bounds.y += table.getRowHeight(r) + rowMargin;
bounds.y += table.getRowHeight(r);
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
bounds.height = table.getRowHeight(r + 1);
bounds.height = table.getRowHeight(r + 1) - rowMargin;
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
y += table.getRowHeight(r) + rowMargin;
y += table.getRowHeight(r);
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); // Determine the range of cells that are within the clip bounds. Point p1 = new Point(clip.x, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
table.remove(rendererPane); rendererPane = null; table = null;
public void uninstallUI(JComponent c) { uninstallListeners(); uninstallKeyboardActions(); uninstallDefaults(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
if (result == null)
if (result == null && parent != null)
public Object get(KeyStroke keystroke) { Object result = inputMap.get(keystroke); if (result == null) result = parent.get(keystroke); return result; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/InputMap.java/buggy/core/src/classpath/javax/javax/swing/InputMap.java
Container p, Rectangle r) {
Container p, int x, int y, int w, int h, boolean shouldValidate) {
public void paintComponent(Graphics graphics, Component c, Container p, Rectangle r) { // TODO } // paintComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java
public InvocationTargetException(Throwable targetException)
protected InvocationTargetException()
public InvocationTargetException(Throwable targetException) { this(targetException, null); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/95f9230428577bee0a0c3d3e666d2ce703b8671b/InvocationTargetException.java/clean/core/src/classpath/java/java/lang/reflect/InvocationTargetException.java
this(targetException, null);
this(null, null);
public InvocationTargetException(Throwable targetException) { this(targetException, null); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/95f9230428577bee0a0c3d3e666d2ce703b8671b/InvocationTargetException.java/clean/core/src/classpath/java/java/lang/reflect/InvocationTargetException.java
ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index;
ListDataEvent event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, startIndex, endIndex); ListDataListener[] listeners = getListDataListeners();
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHA...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, startIndex, endIndex); listeners = getListDataListeners(); for (index = 0; index < listeners.length; index++) { listener = (ListDataListener) listeners[index]; listener.contentsChanged(event); }
for (int index = 0; index < listeners.length; index++) listeners[index].contentsChanged(event);
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHA...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index;
ListDataEvent event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, startIndex, endIndex); ListDataListener[] listeners = getListDataListeners();
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, start...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, startIndex, endIndex); listeners = getListDataListeners(); for (index = 0; index < listeners.length; index++) { listener = listeners[index]; listener.intervalAdded(event); }
for (int index = 0; index < listeners.length; index++) listeners[index].intervalAdded(event);
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, start...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index;
ListDataEvent event = new ListDataEvent(source, ListDataEvent.INTERVAL_REMOVED, startIndex, endIndex); ListDataListener[] listeners = getListDataListeners();
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
event = new ListDataEvent(source, ListDataEvent.INTERVAL_REMOVED, startIndex, endIndex); listeners = getListDataListeners(); for (index = 0; index < listeners.length; index++) { listener = listeners[index]; listener.intervalRemoved(event); }
for (int index = 0; index < listeners.length; index++) listeners[index].intervalRemoved(event);
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
if (input instanceof cdrBufInput)
if (input instanceof BufferredCdrInput)
public static TaggedProfile read(InputStream input) { TaggedProfile value = new TaggedProfile(); value.tag = input.read_long(); if (input instanceof cdrBufInput) { // Highly probable. value.profile_data = ((cdrBufInput) input).read_sequence(); } else { value.profile_da...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/TaggedProfileHelper.java/buggy/core/src/classpath/org/org/omg/IOP/TaggedProfileHelper.java
value.profile_data = ((cdrBufInput) input).read_sequence();
value.profile_data = ((BufferredCdrInput) input).read_sequence();
public static TaggedProfile read(InputStream input) { TaggedProfile value = new TaggedProfile(); value.tag = input.read_long(); if (input instanceof cdrBufInput) { // Highly probable. value.profile_data = ((cdrBufInput) input).read_sequence(); } else { value.profile_da...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/TaggedProfileHelper.java/buggy/core/src/classpath/org/org/omg/IOP/TaggedProfileHelper.java
if (output instanceof cdrBufOutput)
if (output instanceof BufferedCdrOutput)
public static void write(OutputStream output, TaggedProfile value) { output.write_long(value.tag); if (output instanceof cdrBufOutput) { // Highly probable. output.write_long(value.profile_data.length); try { output.write(value.profile_data); } catc...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/TaggedProfileHelper.java/buggy/core/src/classpath/org/org/omg/IOP/TaggedProfileHelper.java
public TaggedProfileHolder(TaggedProfile initialValue)
public TaggedProfileHolder()
public TaggedProfileHolder(TaggedProfile initialValue) { value = initialValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/TaggedProfileHolder.java/buggy/core/src/classpath/org/org/omg/IOP/TaggedProfileHolder.java
value = initialValue;
public TaggedProfileHolder(TaggedProfile initialValue) { value = initialValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/TaggedProfileHolder.java/buggy/core/src/classpath/org/org/omg/IOP/TaggedProfileHolder.java
String hexVal = val1.substring(1);
String hexVal = val1.substring(1).trim(); try {
public static Color convertValue(String value) { Color color; String val1 = value.toLowerCase(); if (val1.charAt(0) != '#') val1 = (String) COLOR_MAP.get(val1); if (val1 != null) { String hexVal = val1.substring(1); int rgb = Integer.parseInt(hexVal, 16); color = new Color(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/501b9c31ce3d5d6bd8ae27261150659112efa475/CSSColor.java/buggy/core/src/classpath/gnu/gnu/javax/swing/text/html/css/CSSColor.java
} catch (NumberFormatException ex) { color = Color.BLACK; }
public static Color convertValue(String value) { Color color; String val1 = value.toLowerCase(); if (val1.charAt(0) != '#') val1 = (String) COLOR_MAP.get(val1); if (val1 != null) { String hexVal = val1.substring(1); int rgb = Integer.parseInt(hexVal, 16); color = new Color(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/501b9c31ce3d5d6bd8ae27261150659112efa475/CSSColor.java/buggy/core/src/classpath/gnu/gnu/javax/swing/text/html/css/CSSColor.java
public LinkageError(String s) { super(s);
public LinkageError() {
public LinkageError(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/LinkageError.java/buggy/core/src/classpath/java/java/lang/LinkageError.java
public InvalidNameException (String msg)
public InvalidNameException ()
public InvalidNameException (String msg) { super (msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3811d0973c874051ada1ea74cbff990230291f5f/InvalidNameException.java/buggy/core/src/classpath/javax/javax/naming/InvalidNameException.java
super (msg);
super ();
public InvalidNameException (String msg) { super (msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3811d0973c874051ada1ea74cbff990230291f5f/InvalidNameException.java/buggy/core/src/classpath/javax/javax/naming/InvalidNameException.java
onInitialize();
AccessController.doPrivileged(new PrivilegedAction() { public Object run() { onInitialize(); return null; } });
private final int incRefCount() { final boolean initialize; final int rc; synchronized (initCloseLock) { refCount++; rc = refCount; initialize = (refCount == 1); } log.debug("refCount.inc=" + rc); if (initialize) { final JNodeFrameBufferDevice dev = (JNodeFrameBufferDevice) GraphicsEnvironment .getLo...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/da0a7418f40f72d084876d6220ccd5f1cc236567/JNodeToolkit.java/clean/gui/src/awt/org/jnode/awt/JNodeToolkit.java
break; case SCALE_AREA_AVERAGING: filter = new AreaAveragingScaleFilter(width, height); break; case SCALE_SMOOTH: throw new Error("SCALE_SMOOTH: not implemented"); default: throw new Error("Unknown flag or not implemented: " + flags);
public Image getScaledInstance(int width, int height, int flags) { ImageFilter filter; switch (flags) { case SCALE_DEFAULT: case SCALE_FAST: case SCALE_REPLICATE: filter = new ReplicateScaleFilter(width, height); break; case SCALE_AREA_AVERAGING: filter = new AreaAveragingScaleFilter(wid...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/Image.java/buggy/core/src/classpath/java/java/awt/Image.java
public abstract void addConsumer(ImageConsumer ic);
void addConsumer(ImageConsumer ic);
public abstract void addConsumer(ImageConsumer ic);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageProducer.java/buggy/core/src/classpath/java/java/awt/image/ImageProducer.java
public abstract boolean isConsumer(ImageConsumer ic);
boolean isConsumer(ImageConsumer ic);
public abstract boolean isConsumer(ImageConsumer ic);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageProducer.java/buggy/core/src/classpath/java/java/awt/image/ImageProducer.java
public abstract void removeConsumer(ImageConsumer ic);
void removeConsumer(ImageConsumer ic);
public abstract void removeConsumer(ImageConsumer ic);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageProducer.java/buggy/core/src/classpath/java/java/awt/image/ImageProducer.java
public abstract void requestTopDownLeftRightResend(ImageConsumer ic);
void requestTopDownLeftRightResend(ImageConsumer ic);
public abstract void requestTopDownLeftRightResend(ImageConsumer ic);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageProducer.java/buggy/core/src/classpath/java/java/awt/image/ImageProducer.java
public abstract void startProduction(ImageConsumer ic);
void startProduction(ImageConsumer ic);
public abstract void startProduction(ImageConsumer ic);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageProducer.java/buggy/core/src/classpath/java/java/awt/image/ImageProducer.java
public abstract void imageComplete(int status);
void imageComplete(int status);
public abstract void imageComplete(int status);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageConsumer.java/buggy/core/src/classpath/java/java/awt/image/ImageConsumer.java
public JNodeImage(ImageProducer producer) { this.initProducer = producer; this.colorModel = ColorModel.getRGBdefault();
public JNodeImage(int width, int height) { this(width, height, ColorModel.getRGBdefault());
public JNodeImage(ImageProducer producer) { this.initProducer = producer; this.colorModel = ColorModel.getRGBdefault(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50abd4639810e6237e6fdcf2d287d93f4f1e7387/JNodeImage.java/buggy/gui/src/awt/org/jnode/awt/image/JNodeImage.java
hwCursor.setCursorPosition(x, y);
hwCursor.setCursorPosition(0, 0);
public MouseHandler(Device fbDevice, Dimension screenSize) { HardwareCursorAPI hwCursor = null; Device pointerDevice = null; PointerAPI pointerAPI = null; try { hwCursor = (HardwareCursorAPI) fbDevice .getAPI(HardwareCursorAPI.class); } catch (ApiNotFoundException ex) { log.info("No hardware-cursor found ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d2defc5006ad57e60436310d507ceb6b73a76de6/MouseHandler.java/buggy/gui/src/awt/org/jnode/awt/MouseHandler.java
throw new IllegalArgumentException( "message representative out of range");
throw new IllegalArgumentException("message representative out of range");
public static final BigInteger sign(final PrivateKey K, final BigInteger m) { try { return RSADP((RSAPrivateKey) K, m); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "message representative out of range"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSA.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSA.java
{
public static final byte[] I2OSP(final BigInteger s, final int k) { byte[] result = s.toByteArray(); if (result.length < k) { final byte[] newResult = new byte[k]; System.arraycopy(result, 0, newResult, k - result.length, result.length); result = newResult; } else if (result.l...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSA.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSA.java
}
public static final byte[] I2OSP(final BigInteger s, final int k) { byte[] result = s.toByteArray(); if (result.length < k) { final byte[] newResult = new byte[k]; System.arraycopy(result, 0, newResult, k - result.length, result.length); result = newResult; } else if (result.l...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSA.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSA.java
throw new IllegalArgumentException( "signature representative out of range");
throw new IllegalArgumentException("signature representative out of range");
public static final BigInteger verify(final PublicKey K, final BigInteger s) { try { return RSAEP((RSAPublicKey) K, s); } catch (IllegalArgumentException x) { throw new IllegalArgumentException( "signature representative out of range"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSA.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSA.java
Unsafe.debug("<mark/>");
if (verbose) { Unsafe.debug("<mark/>"); }
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5add1e9b26deeb1dc452b72e8a6c6dd9b3fdd31f/GCManager.java/clean/core/src/core/org/jnode/vm/memmgr/def/GCManager.java
Unsafe.debug("<sweep/>");
if (verbose) { Unsafe.debug("<sweep/>"); }
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5add1e9b26deeb1dc452b72e8a6c6dd9b3fdd31f/GCManager.java/clean/core/src/core/org/jnode/vm/memmgr/def/GCManager.java
Unsafe.debug("<cleanup/>");
if (verbose) { Unsafe.debug("<cleanup/>"); }
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5add1e9b26deeb1dc452b72e8a6c6dd9b3fdd31f/GCManager.java/clean/core/src/core/org/jnode/vm/memmgr/def/GCManager.java
Unsafe.debug("<verify/>");
if (verbose) { Unsafe.debug("<verify/>"); }
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5add1e9b26deeb1dc452b72e8a6c6dd9b3fdd31f/GCManager.java/clean/core/src/core/org/jnode/vm/memmgr/def/GCManager.java
Unsafe.debug("</gc free="); Unsafe.debug(heapManager.getFreeMemory()); Unsafe.debug("/>"); if (debug) { System.out.println(stats);
if (verbose) { Unsafe.debug("</gc free="); Unsafe.debug(heapManager.getFreeMemory()); Unsafe.debug("/>"); if (debug) { System.out.println(stats); }
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); final boolean locking = (writeBarrier != null); helper.stopThreadsAtSafePoint(); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5add1e9b26deeb1dc452b72e8a6c6dd9b3fdd31f/GCManager.java/clean/core/src/core/org/jnode/vm/memmgr/def/GCManager.java
return ((offset < buffer.length) && (buffer[ offset] > 0));
return ((offset < buffer.length) && LittleEndian.getUInt8(buffer, offset) > 0);
public Iterator<FSEntry> iterator() throws IOException { return new Iterator<FSEntry>() { int offset = 0; final EntryRecord parent = ISO9660Directory.this.entry .getCDFSentry(); final byte[] buffer = parent.getExtentData(); public boolean hasNext...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c32f391dba1d605474b4d159ff50d041152d3b7/ISO9660Directory.java/clean/fs/src/fs/org/jnode/fs/iso9660/ISO9660Directory.java
public Iterator<FSEntry> iterator() throws IOException { return new Iterator<FSEntry>() { int offset = 0; final EntryRecord parent = ISO9660Directory.this.entry .getCDFSentry(); final byte[] buffer = parent.getExtentData(); public boolean hasNext...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c32f391dba1d605474b4d159ff50d041152d3b7/ISO9660Directory.java/clean/fs/src/fs/org/jnode/fs/iso9660/ISO9660Directory.java
return ((offset < buffer.length) && (buffer[ offset] > 0));
return ((offset < buffer.length) && LittleEndian.getUInt8(buffer, offset) > 0);
public boolean hasNext() { return ((offset < buffer.length) && (buffer[ offset] > 0)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c32f391dba1d605474b4d159ff50d041152d3b7/ISO9660Directory.java/clean/fs/src/fs/org/jnode/fs/iso9660/ISO9660Directory.java
public abstract void dispose();
void dispose();
public abstract void dispose();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/MenuComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/MenuComponentPeer.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); ButtonModel m = b.getModel(); Icon currentIcon = null; if (m.isSelected()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicRadioButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java
paintFocus(g, tr, null);
paintFocus(g, tr, c.getSize());
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); ButtonModel m = b.getModel(); Icon currentIcon = null; if (m.isSelected()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicRadioButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java
return "ToggleButton";
return "ToggleButton.";
protected String getPropertyPrefix() { return "ToggleButton"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/BasicToggleButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicToggleButtonUI.java
return null;
return getMinimumSize();
public Dimension getMinimumSize(int s) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0ba341f3fd98c27dbf1995021671cb3d475d9932/SwingListPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingListPeer.java
return null;
return getPreferredSize();
public Dimension getPreferredSize(int s) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0ba341f3fd98c27dbf1995021671cb3d475d9932/SwingListPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingListPeer.java
public String getItem(int index) { return ((String) items.elementAt(index)); }
getItem(int index) { return((String)items.elementAt(index)); }
public String getItem(int index) { return ((String) items.elementAt(index)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/List.java/buggy/core/src/classpath/java/java/awt/List.java
public int getItemCount() { return (items.size()); }
getItemCount() { return countItems (); }
public int getItemCount() { return (items.size()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/List.java/buggy/core/src/classpath/java/java/awt/List.java
public abstract void addItem(String item, int index);
void addItem(String item, int index);
public abstract void addItem(String item, int index);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ListPeer.java/buggy/core/src/classpath/java/java/awt/peer/ListPeer.java
public abstract void clear();
void clear();
public abstract void clear();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ListPeer.java/buggy/core/src/classpath/java/java/awt/peer/ListPeer.java
public abstract void setMultipleSelections(boolean multi);
void setMultipleSelections(boolean multi);
public abstract void setMultipleSelections(boolean multi);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ListPeer.java/buggy/core/src/classpath/java/java/awt/peer/ListPeer.java
BootLog.info("Starting Application Processor " + cpu.getId());
Unsafe.debug("Starting Application Processor " + cpu.getIdString());
static final void applicationProcessorMain() { final VmX86Processor cpu = (VmX86Processor) current(); BootLog.info("Starting Application Processor " + cpu.getId()); // First force a load of CPUID cpu.getCPUID(); // Detect and start logical CPU's try { detectAndst...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
Unsafe.debug("Running normal threads on " + cpu.getIdString()); cpu.getIdleThread().run();
static final void applicationProcessorMain() { final VmX86Processor cpu = (VmX86Processor) current(); BootLog.info("Starting Application Processor " + cpu.getId()); // First force a load of CPUID cpu.getCPUID(); // Detect and start logical CPU's try { detectAndst...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
BootLog.info("Adding logical CPU 0x" + NumberUtils.hex(logId, 2));
Unsafe.debug("Adding logical CPU 0x" + NumberUtils.hex(logId, 2));
static final void detectAndstartLogicalProcessors(ResourceManager rm) throws ResourceNotFreeException { final VmX86Processor cpu = (VmX86Processor) current(); if (cpu.logical) { return; } final X86CpuID cpuid = (X86CpuID) cpu.getCPUID(); if (!cpuid.hasFeature...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
this.stackEnd = ((VmX86Thread)currentThread).getStackEnd().toAddress();
protected final void setupStructures() { // Clone GDT this.gdt = new GDT(); setupGDT(gdt); // Create user stack final byte[] userStack = new byte[VmThread.DEFAULT_STACK_SLOTS * getArchitecture().getReferenceSize()]; setupUserStack(userStack); this.currentThread = cre...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " + NumberUtils.hex(me.getId(), 2));
Unsafe.debug("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " + NumberUtils.hex(me.getId(), 2) + "\n");
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
BootLog.info("Enabling APIC current state " + apic.isEnabled());
Unsafe.debug("Enabling APIC: current state " + apic.isEnabled() + "\n");
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
BootLog.info("Sending INIT IPI");
Unsafe.debug("Sending INIT IPI\n");
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
BootLog.info("Sending INIT-DeAssert IPI");
Unsafe.debug("Sending INIT-DeAssert IPI\n");
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
BootLog.info("Sending STARTUP IPI");
Unsafe.debug("Sending STARTUP IPI to " + getId() + "\n");
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
Unsafe.debug("X86 CPU Start finished\n");
final void startup(ResourceManager rm) throws ResourceNotFreeException { // Save resource manager, so when this processor starts, it can be // used right away. this.rm = rm; final VmProcessor me = current(); BootLog.info("Startup of 0x" + NumberUtils.hex(getId(), 2) + " from " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/VmX86Processor.java/clean/core/src/core/org/jnode/vm/x86/VmX86Processor.java
public final boolean hasFeature(int feature) { return ((this.features & feature) == feature);
public final boolean hasFeature(long feature) { return ((this.exFeatures & feature) == feature);
public final boolean hasFeature(int feature) { return ((this.features & feature) == feature); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86CpuID.java/buggy/core/src/core/org/jnode/vm/x86/X86CpuID.java
return new VmX86Processor(id, this, statics, null); }
return new VmX86Processor(id, this, statics, null); }
public VmProcessor createProcessor(int id, VmStatics statics) { return new VmX86Processor(id, this, statics, null); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/VmX86Architecture.java/buggy/core/src/core/org/jnode/vm/x86/VmX86Architecture.java
cpu.setApic(localAPIC); super.addProcessor(cpu); }
cpu.setApic(localAPIC); super.addProcessor(cpu); }
final void initX86Processor(VmX86Processor cpu) { cpu.setApic(localAPIC); super.addProcessor(cpu); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/VmX86Architecture.java/buggy/core/src/core/org/jnode/vm/x86/VmX86Architecture.java
public abstract void childResized(int width, int height);
void childResized(int width, int height);
public abstract void childResized(int width, int height);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ScrollPanePeer.java/buggy/core/src/classpath/java/java/awt/peer/ScrollPanePeer.java
public abstract int getHScrollbarHeight();
int getHScrollbarHeight();
public abstract int getHScrollbarHeight();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ScrollPanePeer.java/buggy/core/src/classpath/java/java/awt/peer/ScrollPanePeer.java
public abstract int getVScrollbarWidth();
int getVScrollbarWidth();
public abstract int getVScrollbarWidth();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ScrollPanePeer.java/buggy/core/src/classpath/java/java/awt/peer/ScrollPanePeer.java
public abstract void setScrollPosition(int h, int v);
void setScrollPosition(int h, int v);
public abstract void setScrollPosition(int h, int v);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ScrollPanePeer.java/buggy/core/src/classpath/java/java/awt/peer/ScrollPanePeer.java
public abstract void setUnitIncrement(Adjustable item, int inc);
void setUnitIncrement(Adjustable item, int inc);
public abstract void setUnitIncrement(Adjustable item, int inc);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ScrollPanePeer.java/buggy/core/src/classpath/java/java/awt/peer/ScrollPanePeer.java
public abstract void setValue(Adjustable item, int value);
void setValue(Adjustable item, int value);
public abstract void setValue(Adjustable item, int value);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ScrollPanePeer.java/buggy/core/src/classpath/java/java/awt/peer/ScrollPanePeer.java
if (! enterTimer.isRunning())
if (!enterTimer.isRunning())
public void mouseEntered(MouseEvent event) { if (currentComponent != null && getContentPaneDeepestComponent(event) == currentComponent) return; currentPoint = event.getPoint(); currentComponent = (Component) event.getSource(); if (exitTimer.isRunning()) { exitTimer.stop(); showTip...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/ToolTipManager.java/clean/core/src/classpath/javax/javax/swing/ToolTipManager.java
return (int)interval;
return delay;
public int getDelay() { return (int)interval; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Timer.java/buggy/core/src/classpath/javax/javax/swing/Timer.java
toolTip = new JToolTip(toolTipText);
{ toolTip = new JToolTip(); toolTip.setTipText(toolTipText); }
public JToolTip createToolTip() { if (toolTip == null) toolTip = new JToolTip(toolTipText); return toolTip; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
return new Popup.JWindowPopup(owner, contents, x, y);
Popup popup = null; boolean lightweightEnabled = true; if (contents instanceof JPopupMenu) { JPopupMenu menu = (JPopupMenu) contents; lightweightEnabled = menu.isLightWeightPopupEnabled(); } JRootPane root = SwingUtilities.getRootPane(owner); Point rootLoc = root.getLocationOnScreen(); Dimension contentsSize = c...
public Popup getPopup(Component owner, Component contents, int x, int y) { return new Popup.JWindowPopup(owner, contents, x, y); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/PopupFactory.java/buggy/core/src/classpath/javax/javax/swing/PopupFactory.java
private static synchronized HashMap timezones()
static synchronized HashMap timezones()
private static synchronized HashMap timezones() { if (timezones0 == null) { HashMap timezones = new HashMap(); timezones0 = timezones; TimeZone tz; // Automatically generated by scripts/timezones.pl // XXX - Should we read this data from a file? tz = new SimpleTimeZone(-11000 * 3600, "MIT"); timezones0....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ec415b5ab69e9516c29619bb561ab024d22ce1f2/TimeZone.java/clean/core/src/classpath/java/java/util/TimeZone.java
public String[] [] getZoneStrings () { return zoneStrings; }
private String[][] getZoneStrings(ResourceBundle res) { try { int index = 0; String data = res.getString("zoneStrings"); String[] zones = data.split("\u00a9"); String[][] array = new String[zones.length][]; for (int a = 0; a < zones.length; ++a) array[a] = zones[a].split("\u00ae"); return array; } catch (MissingResourc...
public String[] [] getZoneStrings () { return zoneStrings; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/DateFormatSymbols.java/buggy/core/src/classpath/java/java/text/DateFormatSymbols.java
if (!path[i].getIssuerDN().equals(path[i].getSubjectDN()))
if (! path[i].getIssuerDN().equals(path[i].getSubjectDN()))
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (!path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!bc.isCA()) throw new CertPathValidatorException("certificate cannot be used to verify signatures"); if (bc.getPathLengthConstraint() >= 0 && bc.getPathLengthConstraint() < pathLen)
if (! bc.isCA()) throw new CertPathValidatorException( "certificate cannot be used to verify signatures"); if (bc.getPathLengthConstraint() >= 0 && bc.getPathLengthConstraint() < pathLen)
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (!path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!keyUsage[KeyUsage.KEY_CERT_SIGN]) throw new CertPathValidatorException("certificate cannot be used to sign certificates");
if (! keyUsage[KeyUsage.KEY_CERT_SIGN]) throw new CertPathValidatorException( "certificate cannot be used to sign certificates");
private static void basicSanity(X509Certificate[] path, int index) throws CertPathValidatorException { X509Certificate cert = path[index]; int pathLen = 0; for (int i = index - 1; i > 0; i--) { if (!path[i].getIssuerDN().equals(path[i].getSubjectDN())) pathLen++; } Extension ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores)
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores)
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!path[i].getSubjectDN().equals(crl.getIssuerDN()))
if (! path[i].getSubjectDN().equals(crl.getIssuerDN()))
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!keyUsage[KeyUsage.CRL_SIGN])
if (! keyUsage[KeyUsage.CRL_SIGN])
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
if (!keyUsage[KeyUsage.CRL_SIGN])
if (! keyUsage[KeyUsage.CRL_SIGN])
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator it = certStores.iterator(); it.hasNext(); )
for (Iterator it = certStores.iterator(); it.hasNext();)
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
for (Iterator it = certs.iterator(); it.hasNext(); )
for (Iterator it = certs.iterator(); it.hasNext();)
private static boolean checkCRL(X509CRL crl, X509Certificate[] path, Date now, X509Certificate pubKeyCert, PublicKey pubKey, List certStores) { Date nextUpdate = crl.getNextUpdate(); if (nextUpdate != null && nextUpdate.compareTo(now) < 0) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/clean/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java