rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
catch (Exception exc) {System.out.println("incoming " + exc.getMessage());}; | catch (Exception exc) {log.warn("incoming " + exc.getMessage());}; | private void parseIncoming() { boolean controlChars = false; byte control0; byte control1; boolean done = false; boolean error = false; try { while (bk.hasNext() && !done) { byte b = bk.getNextByte(); switch (b) { case 0: case 1:... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
log.debug(" Control byte0 " + Integer.toBinaryString(byte0 & 0xff)); | private void processCC0 (byte byte0) {// System.out.println(" Control byte0 " + Integer.toBinaryString(byte0 & 0xff)); boolean lockKeyboard = true; boolean resetMDT=false; boolean resetMDTAll = false; boolean nullMDT = false; boolean nullAll = false; // Bits 3 to 6 are reserved and... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug(" Control byte1 " + Integer.toBinaryString(byte1 & 0xff)); | private void processCC1 (byte byte1) {// System.out.println(" Control byte1 " + Integer.toBinaryString(byte1 & 0xff)); if ((byte1 & 0x04) == 0x04) { Toolkit.getDefaultToolkit().beep(); } if ((byte1 & 0x02) == 0x02) { screen52.setMessageLightOff(); } if ((byte1 & 0x01) ==... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug(" WTD position no move"); | private void processCC1 (byte byte1) {// System.out.println(" Control byte1 " + Integer.toBinaryString(byte1 & 0xff)); if ((byte1 & 0x04) == 0x04) { Toolkit.getDefaultToolkit().beep(); } if ((byte1 & 0x02) == 0x02) { screen52.setMessageLightOff(); } if ((byte1 & 0x01) ==... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug(" WTD position move to home" + screen52.homePos + " row " + screen52.getRow(screen52.homePos) + " col " + screen52.getCol(screen52.homePos) ); | private void processCC1 (byte byte1) {// System.out.println(" Control byte1 " + Integer.toBinaryString(byte1 & 0xff)); if ((byte1 & 0x04) == 0x04) { Toolkit.getDefaultToolkit().beep(); } if ((byte1 & 0x02) == 0x02) { screen52.setMessageLightOff(); } if ((byte1 & 0x01) ==... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug(" byte 0 " + l); | private boolean processSOH() throws Exception { int l = bk.getNextByte(); // length// System.out.println(" byte 0 " + l); if (l > 0 && l <= 7) { bk.getNextByte(); // flag byte 2 bk.getNextByte(); // reserved bk.getNextByte(); // resequence fields screen52.clearTable();... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
if(log.isDebugEnabled()) { if (l >= 5) log.debug(" byte 5 " + Integer.toBinaryString(bk.getNextByte())); if (l >= 6) log.debug(" byte 6 " + Integer.toBinaryString(bk.getNextByte())); if (l == 7) log.debug(" byte 7 " + Integer.toBinaryString(bk.getNextByte())); } | private boolean processSOH() throws Exception { int l = bk.getNextByte(); // length// System.out.println(" byte 0 " + l); if (l > 0 && l <= 7) { bk.getNextByte(); // flag byte 2 bk.getNextByte(); // reserved bk.getNextByte(); // resequence fields screen52.clearTable();... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
System.out.println(ioe.getMessage()); | log.warn(ioe.getMessage()); | private final void readImmediate(int readType) { if (screen52.isStatusErrorCode()) { screen52.restoreErrorLine(); screen52.setStatus(Screen5250.STATUS_ERROR_CODE, Screen5250.STATUS_VALUE_OFF,null); } if (!enhanced) { screen52.setCursorActive(false); } screen52.setS... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
log.debug("Restore "); | public final void restoreScreen() throws IOException { int which = 0; try {// System.out.println("Restore "); bk.getNextByte(); bk.getNextByte(); int rows = bk.getNextByte() & 0xff; int cols = bk.getNextByte() & 0xff; int pos = bk.getNextByte() << 8 ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("number of fields " + numFields); | public final void restoreScreen() throws IOException { int which = 0; try {// System.out.println("Restore "); bk.getNextByte(); bk.getNextByte(); int rows = bk.getNextByte() & 0xff; int cols = bk.getNextByte() & 0xff; int pos = bk.getNextByte() << 8 ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
x++; | if(log.isDebugEnabled()) { log.debug("/nRestored "); log.debug(sf.toString()); } x++; | public final void restoreScreen() throws IOException { int which = 0; try {// System.out.println("Restore "); bk.getNextByte(); bk.getNextByte(); int rows = bk.getNextByte() & 0xff; int cols = bk.getNextByte() & 0xff; int pos = bk.getNextByte() << 8 ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println("error restoring screen " + which + " with " + e.getMessage()); | log.warn("error restoring screen " + which + " with " + e.getMessage()); | public final void restoreScreen() throws IOException { int which = 0; try {// System.out.println("Restore "); bk.getNextByte(); bk.getNextByte(); int rows = bk.getNextByte() & 0xff; int cols = bk.getNextByte() & 0xff; int pos = bk.getNextByte() << 8 ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println(" vt thread interrupted and stopping "); | log.warn(" vt thread interrupted and stopping "); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
log.debug("No operation"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Invite Operation"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Output Only"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Put/Get Operation"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Save Screen Operation"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Restore Screen Operation"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Read Immediate"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Reserved"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Read Screen Operation"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.warn(ex.getMessage()); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Reserved"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Cancel Invite Operation"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Turn on message light"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("Turn off Message light"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("update dirty"); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
System.out.println(" tnvt.run: " + exd.getMessage()); | log.warn(" tnvt.run: " + exd.getMessage()); | public void run () { if (enhanced) sfParser = new WTDSFParser(this); while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = fal... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
log.debug("Saved "); log.debug(sf.toString()); | public final void saveScreen() throws IOException { ByteArrayOutputStream sc = new ByteArrayOutputStream(); sc.write(4); sc.write(0x12); // 18 sc.write(0); // 18 sc.write(0); // 18 sc.write((byte)screen52.getRows()); // store the current size sc.write((byte)screen52.ge... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
System.out.println(ioe.getMessage()); | log.warn(ioe.getMessage()); | public final void saveScreen() throws IOException { ByteArrayOutputStream sc = new ByteArrayOutputStream(); sc.write(4); sc.write(0x12); // 18 sc.write(0); // 18 sc.write(0); // 18 sc.write((byte)screen52.getRows()); // store the current size sc.write((byte)screen52.ge... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
log.debug("Save Screen end "); | public final void saveScreen() throws IOException { ByteArrayOutputStream sc = new ByteArrayOutputStream(); sc.write(4); sc.write(0x12); // 18 sc.write(0); // 18 sc.write(0); // 18 sc.write((byte)screen52.getRows()); // store the current size sc.write((byte)screen52.ge... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
System.out.println(ioe.getMessage()); | log.warn(ioe.getMessage()); | public final boolean sendAidKey(int aid) { if (screen52.isStatusErrorCode()) { screen52.restoreErrorLine(); screen52.setStatus(Screen5250.STATUS_ERROR_CODE, Screen5250.STATUS_VALUE_OFF,null); } if (!enhanced) { screen52.setCursorActive(false); } screen52.setStatus(... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println(ioe.getMessage()); | log.warn(ioe.getMessage()); | public final void sendAttentionKey() { // Client sends header 000A12A000004400000FFEF // 0x40 -> 01000000 // // flags // bit 0 - ERR // bit 1 - ATN Attention // bits 2-4 - reserved // bit 5 - SRQ system request // bit 6 - TRQ Test request key // bit 7... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println(ioe.getMessage()); | log.warn(ioe.getMessage()); | public final void sendHelpRequest() { // Client sends header 000D12A0000004000003####F3FFEF // operation code 3 // row - first ## // column - second ## // F3 - Help Aid Key// System.out.println("Help request sent"); baosp.write(screen52.getCurrentR... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println("Send Negative Response error " + e.getMessage()); | log.warn("Send Negative Response error " + e.getMessage()); | protected void sendNegResponse(int cat, int modifier , int uByte1, int uByte2, String from) { try { int os = bk.getByteOffset(-1) & 0xf0; int cp = (bk.getCurrentPos()-1); System.out.println("invalid " + from + " command " + os + "... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println(ioe.getMessage()); | log.warn(ioe.getMessage()); | protected void sendNegResponse(int cat, int modifier , int uByte1, int uByte2, String from) { try { int os = bk.getByteOffset(-1) & 0xf0; int cp = (bk.getCurrentPos()-1); System.out.println("invalid " + from + " command " + os + "... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println(ioe.getMessage()); | log.warn(ioe.getMessage()); | public void sendNegResponse2(int ec) { screen52.setPrehelpState(true,true,false); baosp.write(0x00); baosp.write(ec); try { writeGDS(1, 0, baosp.toByteArray()); } catch (IOException ioe) { System.out.println(ioe.getMessage()); } baosp.reset(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println("sending query response"); | log.info("sending query response"); | public final void sendQueryResponse() throws IOException { System.out.println("sending query response"); byte abyte0[] = new byte[64]; abyte0[0] = 0; // Cursor Row/column (set to zero) abyte0[1] = 0; // "" abyte0[2] = -120; // X'88' inbound write structure Fi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println("enhanced options"); | log.info("enhanced options"); | public final void sendQueryResponse() throws IOException { System.out.println("sending query response"); byte abyte0[] = new byte[64]; abyte0[0] = 0; // Cursor Row/column (set to zero) abyte0[1] = 0; // "" abyte0[2] = -120; // X'88' inbound write structure Fi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
log.debug("invited"); | private final void setInvited() {// System.out.println("invited"); if (!screen52.isStatusErrorCode()) screen52.setStatus(Screen5250.STATUS_SYSTEM, Screen5250.STATUS_VALUE_OFF,null); invited = true; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
System.out.println(" socks set "); | log.info(" socks set "); | public final void setProxy(String proxyHost, String proxyPort) { this.proxyHost=proxyHost; this.proxyPort = proxyPort; proxySet = true; Properties systemProperties = System.getProperties(); systemProperties.put("socksProxySet","true"); systemProperties.put("socksProxyHost",proxyHost); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println("invalid structured field sub command " + bk.getByteOffset(-1)); | log.debug("invalid structured field sub command " + bk.getByteOffset(-1)); | private void writeStructuredField() { boolean done = false; int nextone; try { int length = (( bk.getNextByte() & 0xff )<< 8 | (bk.getNextByte() & 0xff)); while (bk.hasNext() && !done) { switch (bk.getNextByte()) { case -39: // SOH - Start of Header Order ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
System.out.println("invalid structured field command " + bk.getByteOffset(-1)); | log.debug("invalid structured field command " + bk.getByteOffset(-1)); | private void writeStructuredField() { boolean done = false; int nextone; try { int length = (( bk.getNextByte() & 0xff )<< 8 | (bk.getNextByte() & 0xff)); while (bk.hasNext() && !done) { switch (bk.getNextByte()) { case -39: // SOH - Start of Header Order ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
log.debug("SOH - Start of Header Order"); | private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug("RA - Repeat to address"); | private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug(" IC " + icX + " " + icY); | private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
log.debug(" MC " + imcX + " " + imcY); | private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | |
System.out.println("write to display " + e.getMessage()); | log.warn("write to display " + e.getMessage()); | private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
public ListUI() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ListUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/ListUI.java | ||
Thread.currentThread().sleep(100); | Thread.sleep(100); | public void connect() { failIfConnected(); if (!isSignificant(this.user)) { connectSimple(); } else { if (this.embeddedSignon) connectEmbedded(); else connectSimulated(); Runnable runnable = new Runnable() { int tryConnection; public void run() ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/SessionBean.java/clean/tn5250j/src/org/tn5250j/SessionBean.java |
Thread.currentThread().sleep(100); | Thread.sleep(100); | public void run() { if ((tryConnection++ < 30) && //If it is still not connected after 3 seconds, //stop with trying (isConnected() == false)) { try { Thread.currentThread().sleep(100); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/SessionBean.java/clean/tn5250j/src/org/tn5250j/SessionBean.java |
this.setPreferredSize(this.deriveOptimalSize(this, this.getFont(), 80, 24)); | this.setPreferredSize(SessionBean.deriveOptimalSize(this, this.getFont(), 80, 24)); | public Dimension getPreferredSize() { if (preferredSize == null) this.setPreferredSize(this.deriveOptimalSize(this, this.getFont(), 80, 24)); return super.getPreferredSize(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/SessionBean.java/clean/tn5250j/src/org/tn5250j/SessionBean.java |
public ISO9660Volume(BlockDeviceAPI api) throws IOException { this.api = api; initVolumeDescriptors(); } | public ISO9660Volume(BlockDeviceAPI api) throws IOException { this.api = api; initVolumeDescriptors(); } | public ISO9660Volume(BlockDeviceAPI api) throws IOException { this.api = api; initVolumeDescriptors(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/ISO9660Volume.java/clean/fs/src/fs/org/jnode/fs/iso9660/ISO9660Volume.java |
return volumeDescriptor; } | return volumeDescriptor; } | public VolumeDescriptor getVolumeDescriptor() { return volumeDescriptor; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/ISO9660Volume.java/clean/fs/src/fs/org/jnode/fs/iso9660/ISO9660Volume.java |
public void initVolumeDescriptors() throws IOException { int currentLBN = 16; byte[] buff = new byte[ISO9660FileSystem.DefaultLBNSize]; while(true) { this.readFromLBN(currentLBN,0,buff,0,ISO9660FileSystem.DefaultLBNSize); VolumeDescriptor vd = new VolumeDescriptor(this,buff); if(vd.getType() == VolumeDescriptor.Volum... | public void initVolumeDescriptors() throws IOException { int currentLBN = 16; byte[] buff = new byte[ ISO9660FileSystem.DefaultLBNSize]; while (true) { this.readFromLBN(currentLBN, 0, buff, 0, ISO9660FileSystem.DefaultLBNSize); VolumeDescriptor vd = new VolumeDescriptor(this, buff); if (vd.getType() == VolumeDescript... | public void initVolumeDescriptors() throws IOException { int currentLBN = 16; byte[] buff = new byte[ISO9660FileSystem.DefaultLBNSize]; while(true) { // read the LB this.readFromLBN(currentLBN,0,buff,0,ISO9660FileSystem.DefaultLBNSize); VolumeDescriptor vd = new VolumeDescriptor(this,buff); if(vd.getT... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/ISO9660Volume.java/clean/fs/src/fs/org/jnode/fs/iso9660/ISO9660Volume.java |
public void readFromLBN(int startLBN,long offset, byte[] buffer, int bufferOffset , int length) throws IOException { api.read((startLBN * ISO9660FileSystem.DefaultLBNSize) + offset,buffer,bufferOffset,length); } | public void readFromLBN(long startLBN, long offset, byte[] buffer, int bufferOffset, int length) throws IOException { api.read((startLBN * ISO9660FileSystem.DefaultLBNSize) + offset, buffer, bufferOffset, length); } | public void readFromLBN(int startLBN,long offset, byte[] buffer, int bufferOffset , int length) throws IOException { api.read((startLBN * ISO9660FileSystem.DefaultLBNSize) + offset,buffer,bufferOffset,length); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/ISO9660Volume.java/clean/fs/src/fs/org/jnode/fs/iso9660/ISO9660Volume.java |
this.volumeDescriptor = pvd; } | this.volumeDescriptor = pvd; } | public void setVolumeDescriptor(VolumeDescriptor pvd) { this.volumeDescriptor = pvd; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/ISO9660Volume.java/clean/fs/src/fs/org/jnode/fs/iso9660/ISO9660Volume.java |
public AccessibleJFrame() | protected AccessibleJFrame() | public AccessibleJFrame() { super(); // Nothing to do here. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
if (isDefaultLookAndFeelDecorated() && UIManager.getLookAndFeel().getSupportsWindowDecorations()) { setUndecorated(true); getRootPane().setWindowDecorationStyle(JRootPane.FRAME); } | protected void frameInit() { super.setLayout(new BorderLayout(1, 1)); enableEvents(AWTEvent.WINDOW_EVENT_MASK); getRootPane(); // will do set/create // We're now done the init stage. setRootPaneCheckingEnabled(true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java | |
{ } | { } | public void addLayoutComponent(Component comp, Object constraints) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ return target.getAlignmentX(); } | { return target.getAlignmentX(); } | public float getLayoutAlignmentX(Container target) { return target.getAlignmentX(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ return target.getAlignmentY(); } | { return target.getAlignmentY(); } | public float getLayoutAlignmentY(Container target) { return target.getAlignmentY(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ } | { } | public void invalidateLayout(Container target) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ Dimension menuBarSize; Dimension containerSize = c.getSize(null); Dimension contentPaneSize = contentPane.getPreferredSize(); /* if size of top-level window wasn't set then just set contentPane and menuBar to its preferred sizes. Otherwise, if the size of top-level window was specified then set menuBar to its prefer... | { Dimension menuBarSize; int containerWidth = c.getBounds().width - getInsets().left - getInsets().right; int containerHeight = c.getBounds().height - getInsets().top - getInsets().bottom; Dimension contentPaneSize = contentPane.getPreferredSize(); | public void layoutContainer(Container c) { Dimension menuBarSize; Dimension containerSize = c.getSize(null); Dimension contentPaneSize = contentPane.getPreferredSize(); /* if size of top-level window wasn't set then just set contentPane and menuBar to its preferr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
+-------------------------------+ | JLayeredPane | | +--------------------------+ | | | menuBar | | | +--------------------------+ | | +--------------------------+ | | |contentPane | | | | | | | | | | | | ... | /* if size of top-level window wasn't set then just set contentPane and menuBar to its preferred sizes. Otherwise, if the size of top-level window was specified then set menuBar to its preferred size and make content pane to fit into the remaining space | public void layoutContainer(Container c) { Dimension menuBarSize; Dimension containerSize = c.getSize(null); Dimension contentPaneSize = contentPane.getPreferredSize(); /* if size of top-level window wasn't set then just set contentPane and menuBar to its preferr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
*/ if (containerSize.width == 0 && containerSize.height == 0) { if (menuBar != null) { int maxWidth; menuBarSize = menuBar.getPreferredSize(); maxWidth = Math.max(menuBarSize.width, contentPaneSize.width); menuBar.setBounds(0, 0, maxWidth, menuBarSize.height); glassPane.setBounds(0, menuBarSize.height, maxWidth, conten... | public void layoutContainer(Container c) { Dimension menuBarSize; Dimension containerSize = c.getSize(null); Dimension contentPaneSize = contentPane.getPreferredSize(); /* if size of top-level window wasn't set then just set contentPane and menuBar to its preferr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java | |
layeredPane.setSize(containerSize.width, containerSize.height); } } | +-------------------------------+ | JLayeredPane | | +--------------------------+ | | | menuBar | | | +--------------------------+ | | +--------------------------+ | | |contentPane | | | | | | | | | | | | ... | public void layoutContainer(Container c) { Dimension menuBarSize; Dimension containerSize = c.getSize(null); Dimension contentPaneSize = contentPane.getPreferredSize(); /* if size of top-level window wasn't set then just set contentPane and menuBar to its preferr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ return preferredLayoutSize(target); } | { return preferredLayoutSize(target); } | public Dimension maximumLayoutSize(Container target) { return preferredLayoutSize(target); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ return preferredLayoutSize(target); } | { return preferredLayoutSize(target); } | public Dimension minimumLayoutSize(Container target) { return preferredLayoutSize(target); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ Dimension menuBarSize; Dimension prefSize; | { Dimension menuBarSize; Dimension prefSize; | public Dimension preferredLayoutSize(Container c) { Dimension menuBarSize; Dimension prefSize; Dimension containerSize = c.getSize(); Dimension contentPaneSize = contentPane.getPreferredSize(); if (containerSize.width == 0 && containerSize.height == 0) { if (me... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
Dimension containerSize = c.getSize(); Dimension contentPaneSize = contentPane.getPreferredSize(); | Dimension containerSize = c.getSize(); Dimension contentPaneSize = contentPane.getPreferredSize(); | public Dimension preferredLayoutSize(Container c) { Dimension menuBarSize; Dimension prefSize; Dimension containerSize = c.getSize(); Dimension contentPaneSize = contentPane.getPreferredSize(); if (containerSize.width == 0 && containerSize.height == 0) { if (me... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
if (containerSize.width == 0 && containerSize.height == 0) { if (menuBar != null) { int maxWidth; menuBarSize = menuBar.getPreferredSize(); maxWidth = Math.max(menuBarSize.width, contentPaneSize.width); prefSize = new Dimension(maxWidth, contentPaneSize.height + menuBarSize.height); } else prefSize = contentPaneSize; }... | if (containerSize.width == 0 && containerSize.height == 0) { if (menuBar != null) { int maxWidth; menuBarSize = menuBar.getPreferredSize(); maxWidth = Math.max(menuBarSize.width, contentPaneSize.width); prefSize = new Dimension(maxWidth, contentPaneSize.height + menuBarSize.height); } else prefSize = contentPaneSize; }... | public Dimension preferredLayoutSize(Container c) { Dimension menuBarSize; Dimension prefSize; Dimension containerSize = c.getSize(); Dimension contentPaneSize = contentPane.getPreferredSize(); if (containerSize.width == 0 && containerSize.height == 0) { if (me... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
return prefSize; } | return prefSize; } | public Dimension preferredLayoutSize(Container c) { Dimension menuBarSize; Dimension prefSize; Dimension containerSize = c.getSize(); Dimension contentPaneSize = contentPane.getPreferredSize(); if (containerSize.width == 0 && containerSize.height == 0) { if (me... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ } | { } | public void removeLayoutComponent(Component comp) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ setLayout(createRootLayout()); getGlassPane(); getLayeredPane(); getContentPane(); setDoubleBuffered(true); updateUI(); } | { setLayout(createRootLayout()); getGlassPane(); getLayeredPane(); getContentPane(); updateUI(); } | public JRootPane() { setLayout(createRootLayout()); getGlassPane(); getLayeredPane(); getContentPane(); setDoubleBuffered(true); updateUI(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ super.addImpl(comp, constraints, index); } | { super.addImpl(comp, constraints, index); } | protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ JPanel p = new JPanel(); | { JPanel p = new JPanel(); | protected Container createContentPane() { JPanel p = new JPanel(); p.setName(this.getName() + ".contentPane"); p.setLayout(new BorderLayout()); return p; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
p.setLayout(new BorderLayout()); return p; } | p.setLayout(new BorderLayout()); return p; } | protected Container createContentPane() { JPanel p = new JPanel(); p.setName(this.getName() + ".contentPane"); p.setLayout(new BorderLayout()); return p; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ JPanel p = new JPanel(); | { JPanel p = new JPanel(); | protected Component createGlassPane() { JPanel p = new JPanel(); p.setName(this.getName() + ".glassPane"); p.setLayout(new BorderLayout()); p.setVisible(false); p.setOpaque(false); return p; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
p.setLayout(new BorderLayout()); p.setVisible(false); | p.setVisible(false); | protected Component createGlassPane() { JPanel p = new JPanel(); p.setName(this.getName() + ".glassPane"); p.setLayout(new BorderLayout()); p.setVisible(false); p.setOpaque(false); return p; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
return p; } | return p; } | protected Component createGlassPane() { JPanel p = new JPanel(); p.setName(this.getName() + ".glassPane"); p.setLayout(new BorderLayout()); p.setVisible(false); p.setOpaque(false); return p; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ JLayeredPane l = new JLayeredPane(); l.setLayout(null); return l; } | { JLayeredPane l = new JLayeredPane(); l.setLayout(null); return l; } | protected JLayeredPane createLayeredPane() { JLayeredPane l = new JLayeredPane(); l.setLayout(null); return l; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
return new RootLayout(); } | return new RootLayout(); } | protected LayoutManager createRootLayout() { return new RootLayout(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ if (contentPane == null) setContentPane(createContentPane()); return contentPane; } | { if (contentPane == null) setContentPane(createContentPane()); return contentPane; } | public Container getContentPane() { if (contentPane == null) setContentPane(createContentPane()); return contentPane; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
public Component getGlassPane() { if (glassPane == null) setGlassPane(createGlassPane()); return glassPane; } | public Component getGlassPane() { if (glassPane == null) setGlassPane(createGlassPane()); return glassPane; } | public Component getGlassPane() { if (glassPane == null) setGlassPane(createGlassPane()); return glassPane; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
public JLayeredPane getLayeredPane() { if (layeredPane == null) setLayeredPane(createLayeredPane()); return layeredPane; } | public JLayeredPane getLayeredPane() { if (layeredPane == null) setLayeredPane(createLayeredPane()); return layeredPane; } | public JLayeredPane getLayeredPane() { if (layeredPane == null) setLayeredPane(createLayeredPane()); return layeredPane; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ contentPane = p; getLayeredPane().add(contentPane, JLayeredPane.FRAME_CONTENT_LAYER); } | { if (p == null) throw new IllegalComponentStateException ("cannot " + "have a null content pane"); else { if (contentPane != null && contentPane.getParent() == layeredPane) layeredPane.remove(contentPane); contentPane = p; getLayeredPane().add(contentPane, JLayeredPane.FRAME_CONTENT_LAYER); } } | public void setContentPane(Container p) { contentPane = p; getLayeredPane().add(contentPane, JLayeredPane.FRAME_CONTENT_LAYER); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ if (glassPane != null) remove(glassPane); | { if (glassPane != null) remove(glassPane); | public void setGlassPane(Component f) { if (glassPane != null) remove(glassPane); glassPane = f; glassPane.setVisible(false); add(glassPane, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
glassPane = f; | glassPane = f; | public void setGlassPane(Component f) { if (glassPane != null) remove(glassPane); glassPane = f; glassPane.setVisible(false); add(glassPane, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
glassPane.setVisible(false); add(glassPane, 0); } | glassPane.setVisible(false); add(glassPane, 0); } | public void setGlassPane(Component f) { if (glassPane != null) remove(glassPane); glassPane = f; glassPane.setVisible(false); add(glassPane, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ | { | public void setJMenuBar(JMenuBar m) { JLayeredPane jlPane = getLayeredPane(); if (menuBar != null) jlPane.remove(menuBar); menuBar = m; if (menuBar != null) jlPane.add(menuBar, JLayeredPane.FRAME_CONTENT_LAYER); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
menuBar = m; | menuBar = m; | public void setJMenuBar(JMenuBar m) { JLayeredPane jlPane = getLayeredPane(); if (menuBar != null) jlPane.remove(menuBar); menuBar = m; if (menuBar != null) jlPane.add(menuBar, JLayeredPane.FRAME_CONTENT_LAYER); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
} | } | public void setJMenuBar(JMenuBar m) { JLayeredPane jlPane = getLayeredPane(); if (menuBar != null) jlPane.remove(menuBar); menuBar = m; if (menuBar != null) jlPane.add(menuBar, JLayeredPane.FRAME_CONTENT_LAYER); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
{ if (layeredPane != null) remove(layeredPane); layeredPane = f; add(f, -1); } | { if (layeredPane != null) remove(layeredPane); layeredPane = f; add(f, -1); } | public void setLayeredPane(JLayeredPane f) { if (layeredPane != null) remove(layeredPane); layeredPane = f; add(f, -1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
&& style != FRAME && style != INFORMATION_DIALOG && style != ERROR_DIALOG && style != COLOR_CHOOSER_DIALOG && style != FILE_CHOOSER_DIALOG && style != QUESTION_DIALOG | && style != FRAME && style != INFORMATION_DIALOG && style != ERROR_DIALOG && style != COLOR_CHOOSER_DIALOG && style != FILE_CHOOSER_DIALOG && style != QUESTION_DIALOG | public void setWindowDecorationStyle(int style) { if (style != NONE && style != FRAME && style != INFORMATION_DIALOG && style != ERROR_DIALOG && style != COLOR_CHOOSER_DIALOG && style != FILE_CHOOSER_DIALOG && style != QUESTION_DIALOG && style != WARNING_DIALOG && style != PLAIN_DIALOG) throw n... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JRootPane.java/clean/core/src/classpath/javax/javax/swing/JRootPane.java |
public VmCompiledCode( NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler.getMagic(); this.bytecode = bytecode; this.native... | public VmCompiledCode(NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler.getMagic(); this.bytecode = bytecode; this.nativeC... | public VmCompiledCode( NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler.getMagic(); this.bytecod... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50e31eccd50a204db22831206646c58f95c4cc44/VmCompiledCode.java/buggy/core/src/core/org/jnode/vm/classmgr/VmCompiledCode.java |
public void actionPerformed(ActionEvent event) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DefaultEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | ||
public DefaultEditorKit() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DefaultEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | ||
bad.minor = Minor.Any; | public static ServantNotActive extract(Any any) { try { EmptyExceptionHolder h = (EmptyExceptionHolder) any.extract_Streamable(); return (ServantNotActive) h.value; } catch (ClassCastException cex) { BAD_OPERATION bad = new BAD_OPERATION("ServantNotActive expected")... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/ServantNotActiveHelper.java/buggy/core/src/classpath/org/org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.