rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
if (!fullRepaint) | if (!fullRepaint) { | protected synchronized void updateImage(int x, int y , int width, int height) { if (gg2d == null) { //System.out.println("was null"); gg2d = (Graphics2D)gui.getGraphics(); } // check for selected area and erase it before updating screen if (gui.rubberband != null && gui.rubberb... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6df9beff359d58308f77418bf46d7eb474d031a7/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
} | protected synchronized void updateImage(int x, int y , int width, int height) { if (gg2d == null) { //System.out.println("was null"); gg2d = (Graphics2D)gui.getGraphics(); } // check for selected area and erase it before updating screen if (gui.rubberband != null && gui.rubberb... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6df9beff359d58308f77418bf46d7eb474d031a7/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
c.setOpaque(true); | protected void installDefaults(JLabel c) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); c.setForeground(defaults.getColor("Label.foreground")); c.setBackground(defaults.getColor("Label.background")); c.setFont(defaults.getFont("Label.font")); c.setBorder(defaults.getBorder("Label.border")... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/BasicLabelUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLabelUI.java | |
public LabelUI() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/LabelUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/LabelUI.java | ||
public MenuEvent(Object source) { | public MenuEvent(Object source) { | public MenuEvent(Object source) { super(source); } // MenuEvent() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MenuEvent.java/buggy/core/src/classpath/javax/javax/swing/event/MenuEvent.java |
} | } | public MenuEvent(Object source) { super(source); } // MenuEvent() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MenuEvent.java/buggy/core/src/classpath/javax/javax/swing/event/MenuEvent.java |
public SpinnerUI() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/SpinnerUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/SpinnerUI.java | ||
if (keysBuffered) { text = bufferedKeys + text; keysBuffered = false; bufferedKeys = ""; | if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; } else { keysBuffered = true; if(bufferedKeys == null){ bufferedKeys = text; return; } else { bufferedKeys += text; return; } } | public void sendKeys(String text) { if (keysBuffered) { text = bufferedKeys + text; keysBuffered = false; bufferedKeys = ""; } // check to see if position is in a field and if it is then change // current field to that field isInField(lastPos,true); strokenizer... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9e3f98202f0eb0ef5207f9793209ab3f13916f81/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
isInField(lastPos,true); strokenizer.setKeyStrokes(text); String s; boolean done = false; while (strokenizer.hasMoreKeyStrokes() && !done) { s = strokenizer.nextKeyStroke(); if (s.length() == 1) { simulateKeyStroke(s.charAt(0)); | if (keysBuffered) { text = bufferedKeys + text; keysBuffered = false; bufferedKeys = ""; } isInField(lastPos,true); if (text.length() == 1 && !text.equals("[") && !text.equals("]")) { simulateKeyStroke(text.charAt(0)); | public void sendKeys(String text) { if (keysBuffered) { text = bufferedKeys + text; keysBuffered = false; bufferedKeys = ""; } // check to see if position is in a field and if it is then change // current field to that field isInField(lastPos,true); strokenizer... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9e3f98202f0eb0ef5207f9793209ab3f13916f81/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
if (s != null) simulateMnemonic(getMnemonicValue(s)); else | strokenizer.setKeyStrokes(text); String s; boolean done = false; | public void sendKeys(String text) { if (keysBuffered) { text = bufferedKeys + text; keysBuffered = false; bufferedKeys = ""; } // check to see if position is in a field and if it is then change // current field to that field isInField(lastPos,true); strokenizer... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9e3f98202f0eb0ef5207f9793209ab3f13916f81/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
System.out.println(" mnemonic " + s); } if (keyboardLocked) { bufferedKeys = strokenizer.getUnprocessedKeyStroked(); if (bufferedKeys != null) keysBuffered = true; done = true; | while (strokenizer.hasMoreKeyStrokes() && !done) { s = strokenizer.nextKeyStroke(); if (s.length() == 1) { simulateKeyStroke(s.charAt(0)); } else { if (s != null) simulateMnemonic(getMnemonicValue(s)); else System.out.println(" mnemonic " + s); } if (keyboardLocked) { bufferedKeys = strokenizer.getUnprocessedKeyStrok... | public void sendKeys(String text) { if (keysBuffered) { text = bufferedKeys + text; keysBuffered = false; bufferedKeys = ""; } // check to see if position is in a field and if it is then change // current field to that field isInField(lastPos,true); strokenizer... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9e3f98202f0eb0ef5207f9793209ab3f13916f81/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
public static final ResourceBundle getBundle(String baseName, Locale locale) | public static final ResourceBundle getBundle(String baseName) | public static final ResourceBundle getBundle(String baseName, Locale locale) { return getBundle(baseName, locale, security.getCallingClassLoader()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9f3276c764a7f5fb60abdd6d117191387354920c/ResourceBundle.java/buggy/core/src/classpath/java/java/util/ResourceBundle.java |
return getBundle(baseName, locale, security.getCallingClassLoader()); | return getBundle(baseName, Locale.getDefault(), security.getCallingClassLoader()); | public static final ResourceBundle getBundle(String baseName, Locale locale) { return getBundle(baseName, locale, security.getCallingClassLoader()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9f3276c764a7f5fb60abdd6d117191387354920c/ResourceBundle.java/buggy/core/src/classpath/java/java/util/ResourceBundle.java |
setSize(view.getPreferredSpan(X_AXIS), view.getPreferredSpan(Y_AXIS)); | public HTMLRootView(JComponent c, View view, EditorKit kit, Document doc) { super(null); component = c; editorKit = kit; document = doc; setView(view); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicHTML.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicHTML.java | |
public String toString() { return null; } | public String toString() { return this.getClass().toString() + "[ source=" + source.toString() + " firstIndex= " + firstIndex + " lastIndex= " + lastIndex + " isAdjusting= " + isAdjusting + " ]"; } | public String toString() { return null; // TODO } // toString() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/ListSelectionEvent.java/clean/core/src/classpath/javax/javax/swing/event/ListSelectionEvent.java |
protected AccessibleJCheckBoxMenuItem() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JCheckBoxMenuItem.java/clean/core/src/classpath/javax/javax/swing/JCheckBoxMenuItem.java | ||
log.getLevel().toLevel(org.apache.log4j.Level.DEBUG_INT); | Level.toLevel(org.apache.log4j.Level.DEBUG_INT); | public void setLevel(int newLevel) { switch (newLevel) { case OFF: Level.toLevel(Level.OFF_INT); break; case DEBUG: log.getLevel().toLevel(org.apache.log4j.Level.DEBUG_INT); break; case INFO: log.getLevel().toLevel(org.apache.log4j.Lev... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/Log4jLogger.java/buggy/tn5250j/src/org/tn5250j/tools/logging/Log4jLogger.java |
log.getLevel().toLevel(org.apache.log4j.Level.INFO_INT); | Level.toLevel(org.apache.log4j.Level.INFO_INT); | public void setLevel(int newLevel) { switch (newLevel) { case OFF: Level.toLevel(Level.OFF_INT); break; case DEBUG: log.getLevel().toLevel(org.apache.log4j.Level.DEBUG_INT); break; case INFO: log.getLevel().toLevel(org.apache.log4j.Lev... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/Log4jLogger.java/buggy/tn5250j/src/org/tn5250j/tools/logging/Log4jLogger.java |
log.getLevel().toLevel(org.apache.log4j.Level.WARN_INT); | Level.toLevel(org.apache.log4j.Level.WARN_INT); | public void setLevel(int newLevel) { switch (newLevel) { case OFF: Level.toLevel(Level.OFF_INT); break; case DEBUG: log.getLevel().toLevel(org.apache.log4j.Level.DEBUG_INT); break; case INFO: log.getLevel().toLevel(org.apache.log4j.Lev... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/Log4jLogger.java/buggy/tn5250j/src/org/tn5250j/tools/logging/Log4jLogger.java |
log.getLevel().toLevel(org.apache.log4j.Level.ERROR_INT); | Level.toLevel(org.apache.log4j.Level.ERROR_INT); | public void setLevel(int newLevel) { switch (newLevel) { case OFF: Level.toLevel(Level.OFF_INT); break; case DEBUG: log.getLevel().toLevel(org.apache.log4j.Level.DEBUG_INT); break; case INFO: log.getLevel().toLevel(org.apache.log4j.Lev... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/Log4jLogger.java/buggy/tn5250j/src/org/tn5250j/tools/logging/Log4jLogger.java |
log.getLevel().toLevel(org.apache.log4j.Level.FATAL_INT); | Level.toLevel(org.apache.log4j.Level.FATAL_INT); | public void setLevel(int newLevel) { switch (newLevel) { case OFF: Level.toLevel(Level.OFF_INT); break; case DEBUG: log.getLevel().toLevel(org.apache.log4j.Level.DEBUG_INT); break; case INFO: log.getLevel().toLevel(org.apache.log4j.Lev... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/Log4jLogger.java/buggy/tn5250j/src/org/tn5250j/tools/logging/Log4jLogger.java |
if (selectionMode == SINGLE_SELECTION) setSelectionInterval(index0, index1); | public void addSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); oldSel = sel.clone(); if (selectionMode == SINGLE_SELECTION) setSelectionInterval(index0, index1); // COMPAT: Lik... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java | |
} | public void addSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); oldSel = sel.clone(); if (selectionMode == SINGLE_SELECTION) setSelectionInterval(index0, index1); // COMPAT: Lik... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java | |
public void setAnchorSelectionIndex(int anchorIndex) | public void setAnchorSelectionIndex(int index) | public void setAnchorSelectionIndex(int anchorIndex) { anchorSelectionIndex = anchorIndex; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
anchorSelectionIndex = anchorIndex; | if (anchorSelectionIndex != index) { int old = anchorSelectionIndex; anchorSelectionIndex = index; if (leadAnchorNotificationEnabled) fireValueChanged(index, old); } | public void setAnchorSelectionIndex(int anchorIndex) { anchorSelectionIndex = anchorIndex; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
public void setSelectionInterval(int index0, int index1) | public void setSelectionInterval(int anchor, int lead) | public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; BitSet oldSel = (BitSet) sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
if (index0 == -1 || index1 == -1) | if (anchor == -1 || lead == -1) | public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; BitSet oldSel = (BitSet) sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
index0 = index1; | anchor = lead; | public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; BitSet oldSel = (BitSet) sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); | int lo = Math.min(anchor, lead); int hi = Math.max(anchor, lead); | public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; BitSet oldSel = (BitSet) sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
setAnchorSelectionIndex(index0); leadSelectionIndex=index1; | setAnchorSelectionIndex(anchor); leadSelectionIndex = lead; | public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; BitSet oldSel = (BitSet) sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java |
} | public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; BitSet oldSel = (BitSet) sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListSelectionModel.java | |
void insertIndexInterval(int index, int length, boolean before); | void insertIndexInterval(int index, int length, boolean before); | void insertIndexInterval(int index, int length, boolean before); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ListSelectionModel.java/buggy/core/src/classpath/javax/javax/swing/ListSelectionModel.java |
void removeIndexInterval(int index0, int index1); | void removeIndexInterval(int index0, int index1); | void removeIndexInterval(int index0, int index1); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ListSelectionModel.java/buggy/core/src/classpath/javax/javax/swing/ListSelectionModel.java |
revalidate(); repaint(); | public void setText(String newText) { if (text != newText) { String oldText = text; text = newText; firePropertyChange("text", oldText, newText); if (text != null && text.length() <= displayedMnemonicIndex) setDisplayedMnemonicIndex(text.length() - 1); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java | |
new GrayFilter(false, 100)))); | new GrayFilter(true, 0)))); | public static Image createDisabledImage(Image src) { return (Toolkit.getDefaultToolkit(). createImage(new FilteredImageSource(src.getSource(), new GrayFilter(false, 100)))); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/GrayFilter.java/buggy/core/src/classpath/javax/javax/swing/GrayFilter.java |
Class c = Class.forName("org.tn5250j.transport.SSL.SSLImplementation"); | Class c = Class.forName("org.tn5250j.framework.transport.SSL.SSLImplementation"); | public Socket createSocket(String destination, int port) { try { if (sslType.equals(SSLConstants.SSL_TYPE_NONE)) { System.out.println("Creating Socket"); // for jdk 1.4// return SocketFactory.getDefault().createSocket(destination,port); return new Socket(destination,port); } ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/045d501464a6456025b2ce1e473ae86cfc285fd0/SocketConnector.java/clean/tn5250j/src/org/tn5250j/framework/transport/SocketConnector.java |
public void menuDragMouseExited(MenuDragMouseEvent e) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicMenuItemUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java | ||
public void menuKeyPressed(MenuKeyEvent e) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicMenuItemUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java | ||
public void menuKeyReleased(MenuKeyEvent e) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicMenuItemUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java | ||
public void menuKeyTyped(MenuKeyEvent e) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicMenuItemUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java | ||
protected MouseInputHandler() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicMenuItemUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java | ||
public static void setTabSet(MutableAttributeSet a, javax.swing.text.TabSet tabs) | public static void setTabSet(MutableAttributeSet a, javax.swing.text.TabSet tabs) | public static void setTabSet(MutableAttributeSet a, javax.swing.text.TabSet tabs) { a.addAttribute(StyleConstants.TabSet, tabs); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/StyleConstants.java/buggy/core/src/classpath/javax/javax/swing/text/StyleConstants.java |
log.debug(" bound " + band.getEndPoint()); | public void areaBounded(RubberBand band, int x1, int y1, int x2, int y2) {// repaint(x1,y1,x2-1,y2-1); repaint();// System.out.println(" bound " + band.getEndPoint()); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java | |
catch (Exception exc) {} | catch (Exception exc) { log.warn(""+exc.getMessage()); } | private void doTransfer(java.io.File file) { try { Properties props = new Properties(); props.load(new java.io.FileInputStream(file)); org.tn5250j.tools.XTFRFile tfr = new org.tn5250j.tools.XTFRFile(null, vt, (Session)this,props); } catch (Exception exc) {} } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
log.debug("Initializing macros"); | private void jbInit() throws Exception { this.setLayout(borderLayout1);// this.setOpaque(false);// setDoubleBuffered(true); s.setOpaque(false); s.setDoubleBuffered(false); screen = new Screen5250(this,sesConfig); this.addComponentListener(this); if (!sesConfig.isPropertyExists... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java | |
System.out.println("dtde drop it2 "); | log.debug("dtde drop it2 "); | private void jbInit() throws Exception { this.setLayout(borderLayout1);// this.setOpaque(false);// setDoubleBuffered(true); s.setOpaque(false); s.setDoubleBuffered(false); screen = new Screen5250(this,sesConfig); this.addComponentListener(this); if (!sesConfig.isPropertyExists... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println("importData: unsupported data flavor"); | log.info("importData: unsupported data flavor"); | private void jbInit() throws Exception { this.setLayout(borderLayout1);// this.setOpaque(false);// setDoubleBuffered(true); s.setOpaque(false); s.setDoubleBuffered(false); screen = new Screen5250(this,sesConfig); this.addComponentListener(this); if (!sesConfig.isPropertyExists... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println("importData: I/O exception"); | log.warn("importData: I/O exception"); | private void jbInit() throws Exception { this.setLayout(borderLayout1);// this.setOpaque(false);// setDoubleBuffered(true); s.setOpaque(false); s.setDoubleBuffered(false); screen = new Screen5250(this,sesConfig); this.addComponentListener(this); if (!sesConfig.isPropertyExists... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println(ex.getMessage()); | log.warn(""+ex.getMessage()); | private void jbInit() throws Exception { this.setLayout(borderLayout1);// this.setOpaque(false);// setDoubleBuffered(true); s.setOpaque(false); s.setDoubleBuffered(false); screen = new Screen5250(this,sesConfig); this.addComponentListener(this); if (!sesConfig.isPropertyExists... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println("dtde drop it2 "); | log.debug("dtde drop it2 "); | public void drop(DropTargetDropEvent dtde) { Transferable tr = dtde.getTransferable(); dtde.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE); DataFlavor[] dfs = dtde.getCurrentDataFlavors(); if(tr.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) { try ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println("importData: unsupported data flavor"); | log.info("importData: unsupported data flavor"); | public void drop(DropTargetDropEvent dtde) { Transferable tr = dtde.getTransferable(); dtde.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE); DataFlavor[] dfs = dtde.getCurrentDataFlavors(); if(tr.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) { try ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println("importData: I/O exception"); | log.warn("importData: I/O exception"); | public void drop(DropTargetDropEvent dtde) { Transferable tr = dtde.getTransferable(); dtde.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE); DataFlavor[] dfs = dtde.getCurrentDataFlavors(); if(tr.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) { try ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println(ex.getMessage()); | log.warn(""+ex.getMessage()); | public void drop(DropTargetDropEvent dtde) { Transferable tr = dtde.getTransferable(); dtde.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE); DataFlavor[] dfs = dtde.getCurrentDataFlavors(); if(tr.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) { try ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
log.debug("paint from screen"); | protected void paintComponent(Graphics g) {// System.out.println("paint from screen"); screen.paintComponent3(g); if (rubberband.isAreaSelected() && !rubberband.isDragging()) { rubberband.erase(); rubberband.draw(); } keyPad.repaint(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java | |
System.out.println(macName); | log.info(macName); | protected void startRecordingMe() { String macName = (String)JOptionPane.showInputDialog(null, LangTool.getString("macro.message"), LangTool.getString("macro.title"), JOptionPane.PLAIN_MESSAGE); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println(keyHandler.getRecordBuffer()); | log.debug(keyHandler.getRecordBuffer()); | protected void stopRecordingMe() { if (keyHandler.getRecordBuffer().length() > 0) { Macronizer.setMacro(newMacName,keyHandler.getRecordBuffer()); System.out.println(keyHandler.getRecordBuffer()); } keyHandler.stopRecording(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
System.out.println(exc.getMessage()); | log.warn(exc.getMessage()); | public void toggleDebug() { vt.toggleDebug(); try { vt.sendHeartBeat(); } catch (Exception exc) { System.out.println(exc.getMessage()); } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java |
log.debug("paint from gui"); | public void update(Graphics g) {// System.out.println("paint from gui"); paint(g); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java | |
public SessionPopup(Session ses, MouseEvent me) { JMenuItem menuItem; Action action; JPopupMenu popup = new JPopupMenu(); session = ses; vt = session.getVT();// final Gui5250 g = session; screen = session.getScreen(); JMenuItem mi; final int pos = screen.getPosFromView(me.g... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/0686de448db01a9cc1b09cae982858a4d418dae8/SessionPopup.java/buggy/tn5250j/src/org/tn5250j/SessionPopup.java | ||
session.doConnections(); | session.startNewSession(); | public SessionPopup(Session ses, MouseEvent me) { JMenuItem menuItem; Action action; JPopupMenu popup = new JPopupMenu(); session = ses; vt = session.getVT();// final Gui5250 g = session; screen = session.getScreen(); JMenuItem mi; final int pos = screen.getPosFromView(me.g... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/0686de448db01a9cc1b09cae982858a4d418dae8/SessionPopup.java/buggy/tn5250j/src/org/tn5250j/SessionPopup.java |
public DropTarget (Component c, DropTargetListener dtl) | public DropTarget () | public DropTarget (Component c, DropTargetListener dtl) { this (c, 0, dtl, true, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/560cf787ab92cba97cf57ce7b258e72947e5efbc/DropTarget.java/buggy/core/src/classpath/java/java/awt/dnd/DropTarget.java |
this (c, 0, dtl, true, null); | this (null, 0, null, true, null); | public DropTarget (Component c, DropTargetListener dtl) { this (c, 0, dtl, true, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/560cf787ab92cba97cf57ce7b258e72947e5efbc/DropTarget.java/buggy/core/src/classpath/java/java/awt/dnd/DropTarget.java |
protected void closeConnection() | protected synchronized void closeConnection() | protected void closeConnection() throws IOException { if (socket != null) { try { socket.close(); } finally { socket = null; } } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/HTTPConnection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPConnection.java |
protected InputStream getInputStream() | protected synchronized InputStream getInputStream() | protected InputStream getInputStream() throws IOException { if (socket == null) { getSocket(); } return in; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/HTTPConnection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPConnection.java |
protected OutputStream getOutputStream() | protected synchronized OutputStream getOutputStream() | protected OutputStream getOutputStream() throws IOException { if (socket == null) { getSocket(); } return out; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/HTTPConnection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPConnection.java |
protected Socket getSocket() | protected synchronized Socket getSocket() | protected Socket getSocket() throws IOException { if (socket == null) { String connectHostname = hostname; int connectPort = port; if (isUsingProxy()) { connectHostname = proxyHostname; connectPort = proxyPort; } socket = new Socket(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/HTTPConnection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPConnection.java |
public void connect(SocketAddress endpoint, int timeout) throws IOException | public void connect(SocketAddress endpoint) throws IOException | public void connect(SocketAddress endpoint, int timeout) throws IOException { if (isClosed()) throw new SocketException("socket is closed"); if (! (endpoint instanceof InetSocketAddress)) throw new IllegalArgumentException("unsupported address type"); // The Sun spec says that if we have an asso... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
if (isClosed()) throw new SocketException("socket is closed"); if (! (endpoint instanceof InetSocketAddress)) throw new IllegalArgumentException("unsupported address type"); if (getChannel() != null && ! getChannel().isBlocking() && ! ((PlainSocketImpl) getImpl()).isInChannelOperation()) throw new IllegalBlocking... | connect(endpoint, 0); | public void connect(SocketAddress endpoint, int timeout) throws IOException { if (isClosed()) throw new SocketException("socket is closed"); if (! (endpoint instanceof InetSocketAddress)) throw new IllegalArgumentException("unsupported address type"); // The Sun spec says that if we have an asso... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
int stop = locators.size(); for (int i = 0; i < stop; i++) { ((Locator) locators.get(i)).addAxis(axis); } updateNotesLocationOrder(); | public Axis addAxis(Axis axis) { if (!canAddAxisObjToArray(axis)) //check if the axis can be added return null; getDataCube().incrementDimension(axis ); //increment the DataCube dimension by 1 getAxisList().add(axis); //update the locators that is related to this Array object int stop = l... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cb12c2b95d9b1b83618eb2a5538cd5c44c6bd8cb/Array.java/buggy/src/gov/nasa/gsfc/adc/xdf/Array.java | |
int stop = locators.size(); for (int i = 0; i < stop; i++) { ((Locator) locators.get(i)).addAxis(fieldAxis); } | updateChildLocators(fieldAxis, "add"); | public FieldAxis addFieldAxis(FieldAxis fieldAxis) { if (!canAddAxisObjToArray(fieldAxis)) return null; if (getFieldAxis() !=null) { List axisList = getAxisList(); axisList.remove(0); axisList.add(0, fieldAxis); //replace the old fieldAxis with the new one } else { //add fieldAxis an... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cb12c2b95d9b1b83618eb2a5538cd5c44c6bd8cb/Array.java/buggy/src/gov/nasa/gsfc/adc/xdf/Array.java |
public void appendData (Locator locator, String strValue) throws SetDataException{ | public void appendData (Locator locator, String strValue) throws SetDataException { | public void appendData (Locator locator, String strValue) throws SetDataException{ getDataCube().appendData(locator, strValue); } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cb12c2b95d9b1b83618eb2a5538cd5c44c6bd8cb/Array.java/buggy/src/gov/nasa/gsfc/adc/xdf/Array.java |
private boolean canAddAxisObjToArray(AxisInterface axisToAdd) { | private boolean canAddAxisObjToArray (AxisInterface axisToAdd) { | private boolean canAddAxisObjToArray(AxisInterface axisToAdd) { if (axisToAdd.getAxisId() == null) { Log.warnln("Warning: Can't add Axis Object without axisId attribute defined"); return false; } return true; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cb12c2b95d9b1b83618eb2a5538cd5c44c6bd8cb/Array.java/buggy/src/gov/nasa/gsfc/adc/xdf/Array.java |
cloneObj.locators = new Vector(); | cloneObj.locatorList = new Vector(); | public Object clone() throws CloneNotSupportedException { Array cloneObj = (Array) super.clone(); //deep clone for DataCube cloneObj.setDataCube((DataCube) this.getDataCube().clone()); //there are no locators that are related to the cloned Array object cloneObj.locators = new Vector(); //set the pa... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cb12c2b95d9b1b83618eb2a5538cd5c44c6bd8cb/Array.java/buggy/src/gov/nasa/gsfc/adc/xdf/Array.java |
locators.add(locatorObj); | locatorList.add(locatorObj); | public Locator createLocator() { Locator locatorObj = new Locator(this); //add this locator to the list of locators this Array object monitors locators.add(locatorObj); return locatorObj; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cb12c2b95d9b1b83618eb2a5538cd5c44c6bd8cb/Array.java/buggy/src/gov/nasa/gsfc/adc/xdf/Array.java |
public boolean removeAxis(Axis what) { boolean isRemoveSuccess = removeFromList(what, getAxisList(), "axisList"); if (isRemoveSuccess) | public boolean removeAxis(Axis axisObj) { boolean isRemoveSuccess = removeFromList(axisObj, getAxisList(), "axisList"); if (isRemoveSuccess) { | public boolean removeAxis(Axis what) { boolean isRemoveSuccess = removeFromList(what, getAxisList(), "axisList"); if (isRemoveSuccess) //remove successful getDataCube().decrementDimension(); //decrease the dimension by 1 return isRemoveSuccess; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cb12c2b95d9b1b83618eb2a5538cd5c44c6bd8cb/Array.java/buggy/src/gov/nasa/gsfc/adc/xdf/Array.java |
updateChildLocators(axisObj, "remove"); } | public boolean removeAxis(Axis what) { boolean isRemoveSuccess = removeFromList(what, getAxisList(), "axisList"); if (isRemoveSuccess) //remove successful getDataCube().decrementDimension(); //decrease the dimension by 1 return isRemoveSuccess; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cb12c2b95d9b1b83618eb2a5538cd5c44c6bd8cb/Array.java/buggy/src/gov/nasa/gsfc/adc/xdf/Array.java | |
public Note addNote (Note note ) | public Note addNote (Note note ) | public Note addNote (Note note ) { if (note == null) { Log.warn("in Notes.addNote(), the Note passed in is null"); return null; } getNoteList().add(note); return note; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1e7f6912855beedfa6f64bcbc5bc675d9beedbae/Notes.java/buggy/src/gov/nasa/gsfc/adc/xdf/Notes.java |
if (note == null) { Log.warn("in Notes.addNote(), the Note passed in is null"); return null; } | public Note addNote (Note note ) { if (note == null) { Log.warn("in Notes.addNote(), the Note passed in is null"); return null; } getNoteList().add(note); return note; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1e7f6912855beedfa6f64bcbc5bc675d9beedbae/Notes.java/buggy/src/gov/nasa/gsfc/adc/xdf/Notes.java | |
if (unit == null) { Log.warn("in Units.addUnit(), the Unit passed in is null"); return null; } | public Unit addUnit(Unit unit) { if (unit == null) { Log.warn("in Units.addUnit(), the Unit passed in is null"); return null; } getUnitList().add(unit); return unit; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1e7f6912855beedfa6f64bcbc5bc675d9beedbae/Units.java/buggy/src/gov/nasa/gsfc/adc/xdf/Units.java | |
if (dimension == 0) { Log.error(" in DataCube, incrementDimentsion, the dimension is 0"); return 0; } else return dimension--; | Log.errorln("in DataCube, decrementDimension(), methods empty, returning -1"); return -1; | public int decrementDimension() { if (dimension == 0) { Log.error(" in DataCube, incrementDimentsion, the dimension is 0"); return 0; } else return dimension--;} | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1e7f6912855beedfa6f64bcbc5bc675d9beedbae/DataCube.java/buggy/src/gov/nasa/gsfc/adc/xdf/DataCube.java |
NotesLocationOrder orderObj = (NotesLocationOrder) | NotesLocationOrder orderObj = (NotesLocationOrder) | public void setLocationOrderList (List axisIdList) { NotesLocationOrder orderObj = (NotesLocationOrder) ((XMLAttribute) attribHash.get("locationOrder")).getAttribValue(); orderObj.setAxisOrderList(axisIdList); } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1e7f6912855beedfa6f64bcbc5bc675d9beedbae/Notes.java/buggy/src/gov/nasa/gsfc/adc/xdf/Notes.java |
os.log("#" + address); | if (debug) { os.log("#" + address + " VStack: " + vstack.toString()); } else { os.log("#" + address); } | public void startInstruction(int address) { if (debug) { BootLog.debug("#" + address + "\t" + vstack); } if (log) { os.log("#" + address); } this.curAddress = address; this.curInstrLabel = helper.getInstrLabel(address); if (startOfBB || setCurIn... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7dc855065f1e71c38a1e2ae55f0d25329a209fcd/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); | vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); | public final void visit_dup2_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUST... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7dc855065f1e71c38a1e2ae55f0d25329a209fcd/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); | os.writePOP(Register.EAX); os.writePOP(Register.EBX); os.writePOP(Register.ECX); os.writePOP(Register.EDX); os.writePUSH(Register.EBX); os.writePUSH(Register.EAX); os.writePUSH(Register.EDX); os.writePUSH(Register.ECX); os.writePUSH(Register.EBX); os.writePUSH(Register.EAX); | public final void visit_dup2_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUST... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7dc855065f1e71c38a1e2ae55f0d25329a209fcd/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
vstack.push(v1.clone(eContext)); vstack.push(v2); vstack.push(v1); | vstack.push1(ifac.createStack(v1.getType())); vstack.push1(v2); vstack.push1(v1); | public final void visit_dup2_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUST... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7dc855065f1e71c38a1e2ae55f0d25329a209fcd/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
final Item v3 = vstack.pop(); v3.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); | final Item v3 = vstack.pop1(); | public final void visit_dup2_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUST... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7dc855065f1e71c38a1e2ae55f0d25329a209fcd/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
vstack.push(v1.clone(eContext)); vstack.push(v3); vstack.push(v2); vstack.push(v1); | vstack.push1(ifac.createStack(v1.getType())); vstack.push1(v3); vstack.push1(v2); vstack.push1(v1); | public final void visit_dup2_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUST... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7dc855065f1e71c38a1e2ae55f0d25329a209fcd/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
vstack.push(v2.clone(eContext)); vstack.push(v1.clone(eContext)); vstack.push(v3); vstack.push(v2); vstack.push(v1); | vstack.push1(ifac.createStack(v2.getType())); vstack.push1(ifac.createStack(v1.getType())); vstack.push1(v3); vstack.push1(v2); vstack.push1(v1); | public final void visit_dup2_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUST... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7dc855065f1e71c38a1e2ae55f0d25329a209fcd/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
final Item v4 = vstack.pop(); v4.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); vstack.push(v2.clone(eContext)); vstack.push(v1.clone(eContext)); vstack.push(v4); vstack.push(v3); vstack.push(v2); vstack.push(v1); | final Item v4 = vstack.pop1(); vstack.push1(ifac.createStack(v2.getType())); vstack.push1(ifac.createStack(v1.getType())); vstack.push1(v4); vstack.push1(v3); vstack.push1(v2); vstack.push1(v1); | public final void visit_dup2_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUST... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7dc855065f1e71c38a1e2ae55f0d25329a209fcd/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
os.writeLEA(SP, SP, 8); | os.writeLEA(SP, SP, -8); | final void loadTo(EmitterContext ec, Register lsb, Register msb) { final AbstractX86Stream os = ec.getStream(); final X86RegisterPool pool = ec.getPool(); final VirtualStack stack = ec.getVStack(); //os.log("LongItem.log called "+Integer.toString(kind)); assertCondition(lsb != msb, "lsb != msb"); assertCondition... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4210cbd2e8532c8a29412a6b016e4072578a8de8/DoubleWordItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/DoubleWordItem.java |
public final void writeClassInitialize(Label curInstrLabel, Register classReg, VmType cls) { if (!cls.isInitialized()) { os.writeTEST(classReg, context.getVmTypeState().getOffset(), VmTypeState.ST_INITIALIZED); final Label afterInit = new Label(curInstrLabel + "$$after-classinit-ex"); os.writeJCC(afterInit, X86Constan... | public final boolean writeClassInitialize(VmMethod method, Register methodReg, Register scratch) { if (method.isStatic() && !method.isInitializer()) { final VmType cls = method.getDeclaringClass(); if (!cls.isInitialized()) { os.writePUSH(EAX); os.writeMOV(INTSIZE, EAX, methodReg, context .getVmMemberDeclaringClas... | public final void writeClassInitialize(Label curInstrLabel, Register classReg, VmType cls) { if (!cls.isInitialized()) { // Test declaringClass.modifiers os.writeTEST(classReg, context.getVmTypeState().getOffset(), VmTypeState.ST_INITIALIZED); final Label a... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/X86CompilerHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/X86CompilerHelper.java |
return false; | public final void writeClassInitialize(Label curInstrLabel, Register classReg, VmType cls) { if (!cls.isInitialized()) { // Test declaringClass.modifiers os.writeTEST(classReg, context.getVmTypeState().getOffset(), VmTypeState.ST_INITIALIZED); final Label a... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/X86CompilerHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/X86CompilerHelper.java | |
vstack.push(createConst(type, fpv1 / fpv2)); | vstack.push(createConst(type, fpv1 % fpv2)); | final static void rem(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = getFPValue(v1); final double fpv2 = getFPValue(v2); vstack.push(createConst(type, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4210cbd2e8532c8a29412a6b016e4072578a8de8/FPUHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/FPUHelper.java |
os.writeFXCH(Register.ST1); | final static void rem(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = getFPValue(v1); final double fpv2 = getFPValue(v2); vstack.push(createConst(type, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4210cbd2e8532c8a29412a6b016e4072578a8de8/FPUHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/FPUHelper.java | |
public static final int getArgSlotCount(String signature) { /*int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') | public static final int getArgSlotCount(char[] signature) { int ofs = 0; final int len = signature.length; if (signature[ofs++] != '(') | public static final int getArgSlotCount(String signature) { /*int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' :... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Signature.java/buggy/core/src/core/org/jnode/vm/classmgr/Signature.java |
char ch = signature.charAt(ofs++); | char ch = signature[ofs++]; | public static final int getArgSlotCount(String signature) { /*int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' :... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Signature.java/buggy/core/src/core/org/jnode/vm/classmgr/Signature.java |
while (signature.charAt(ofs) == '[') | while (signature[ofs] == '[') | public static final int getArgSlotCount(String signature) { /*int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' :... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Signature.java/buggy/core/src/core/org/jnode/vm/classmgr/Signature.java |
if (signature.charAt(ofs) == 'L') { | if (signature[ofs] == 'L') { | public static final int getArgSlotCount(String signature) { /*int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' :... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Signature.java/buggy/core/src/core/org/jnode/vm/classmgr/Signature.java |
while (signature.charAt(ofs) != ';') | while (signature[ofs] != ';') | public static final int getArgSlotCount(String signature) { /*int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' :... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Signature.java/buggy/core/src/core/org/jnode/vm/classmgr/Signature.java |
while (signature.charAt(ofs) != ';') | while (signature[ofs] != ';') | public static final int getArgSlotCount(String signature) { /*int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' :... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Signature.java/buggy/core/src/core/org/jnode/vm/classmgr/Signature.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.