rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
drawPolyline(int xPoints[], int yPoints[], int npoints); | public abstract void drawPolyline(int xPoints[], int yPoints[], int npoints); | drawPolyline(int xPoints[], int yPoints[], int npoints); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
drawRect(int x, int y, int width, int height) | public void drawRect(int x, int y, int width, int height) | drawRect(int x, int y, int width, int height){ int x1 = x; int y1 = y; int x2 = x + width; int y2 = y + height; drawLine(x1, y1, x2, y1); drawLine(x2, y1, x2, y2); drawLine(x2, y2, x1, y2); drawLine(x1, y2, x1, y1);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight); | public abstract void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight); | drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
drawString(String string, int x, int y); | public abstract void drawString(String string, int x, int y); | drawString(String string, int x, int y); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
fill3DRect(int x, int y, int width, int height, boolean raised) | public void fill3DRect(int x, int y, int width, int height, boolean raised) | fill3DRect(int x, int y, int width, int height, boolean raised){ fillRect(x, y, width, height); draw3DRect(x, y, width-1, height-1, raised);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
fillArc(int x, int y, int width, int height, int arcStart, int arcAngle); | public abstract void fillArc(int x, int y, int width, int height, int arcStart, int arcAngle); | fillArc(int x, int y, int width, int height, int arcStart, int arcAngle); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
fillOval(int x, int y, int width, int height); | public abstract void fillOval(int x, int y, int width, int height); | fillOval(int x, int y, int width, int height); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
fillPolygon(int xPoints[], int yPoints[], int npoints); | public abstract void fillPolygon(int xPoints[], int yPoints[], int npoints); | fillPolygon(int xPoints[], int yPoints[], int npoints); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
fillRect(int x, int y, int width, int height); | public abstract void fillRect(int x, int y, int width, int height); | fillRect(int x, int y, int width, int height); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight); | public abstract void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight); | fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
finalize() | public void finalize() | finalize(){ dispose();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
getClip(); | public abstract Shape getClip(); | getClip(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
getClipBounds(); | public abstract Rectangle getClipBounds(); | getClipBounds(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
getClipRect() | public Rectangle getClipRect() | getClipRect(){ return(getClipBounds());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
return(getClipBounds()); | return getClipBounds(); | getClipRect(){ return(getClipBounds());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
getColor(); | public abstract Color getColor(); | getColor(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
getFont(); | public abstract Font getFont(); | getFont(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
getFontMetrics() | public FontMetrics getFontMetrics() | getFontMetrics(){ return(getFontMetrics(getFont()));} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
return(getFontMetrics(getFont())); | return getFontMetrics(getFont()); | getFontMetrics(){ return(getFontMetrics(getFont()));} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
hitClip(int x, int y, int width, int height) | public boolean hitClip(int x, int y, int width, int height) | hitClip(int x, int y, int width, int height){ throw new UnsupportedOperationException("not implemented yet");} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
throw new UnsupportedOperationException("not implemented yet"); | return getClip().intersects(x, y, width, height); | hitClip(int x, int y, int width, int height){ throw new UnsupportedOperationException("not implemented yet");} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
setClip(int x, int y, int width, int height); | public abstract void setClip(int x, int y, int width, int height); | setClip(int x, int y, int width, int height); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
setColor(Color color); | public abstract void setColor(Color color); | setColor(Color color); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
setFont(Font font); | public abstract void setFont(Font font); | setFont(Font font); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
setPaintMode(); | public abstract void setPaintMode(); | setPaintMode(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
setXORMode(Color color); | public abstract void setXORMode(Color color); | setXORMode(Color color); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
toString() | public String toString() | toString(){ return getClass ().getName () + "[font=" + getFont () + ",color=" + getColor () + "]";} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
return getClass ().getName () + "[font=" + getFont () + ",color=" + getColor () + "]"; | return getClass ().getName () + "[font=" + getFont () + ",color=" + getColor () + "]"; | toString(){ return getClass ().getName () + "[font=" + getFont () + ",color=" + getColor () + "]";} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
translate(int x, int y); | public abstract void translate(int x, int y); | translate(int x, int y); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/Graphics.java/clean/core/src/classpath/java/java/awt/Graphics.java |
private void addGroup(ThreadGroup grp) { | private void addGroup(final ThreadGroup grp) { | private void addGroup(ThreadGroup grp) { final int max = grp.activeCount() * 2; final Thread[] ts = new Thread[max]; grp.enumerate(ts,false); for (int i = 0; i < max; i++) { final Thread t = ts[i]; if (t != null) { JIFSFile F = new JIFSFthread(t.getName(),t, this); addFSE(F); } } final int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/77d5336d9baa2efd535e4d83393c0986c025ccf7/JIFSDthreads.java/buggy/fs/src/fs/org/jnode/fs/jifs/directories/JIFSDthreads.java |
grp.enumerate(ts,false); | AccessController.doPrivileged(new PrivilegedAction() { public Object run() { grp.enumerate(ts,false); return null; } }); | private void addGroup(ThreadGroup grp) { final int max = grp.activeCount() * 2; final Thread[] ts = new Thread[max]; grp.enumerate(ts,false); for (int i = 0; i < max; i++) { final Thread t = ts[i]; if (t != null) { JIFSFile F = new JIFSFthread(t.getName(),t, this); addFSE(F); } } final int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/77d5336d9baa2efd535e4d83393c0986c025ccf7/JIFSDthreads.java/buggy/fs/src/fs/org/jnode/fs/jifs/directories/JIFSDthreads.java |
grp.enumerate(tgs, false); | AccessController.doPrivileged(new PrivilegedAction() { public Object run() { grp.enumerate(tgs, false); return null; } }); | private void addGroup(ThreadGroup grp) { final int max = grp.activeCount() * 2; final Thread[] ts = new Thread[max]; grp.enumerate(ts,false); for (int i = 0; i < max; i++) { final Thread t = ts[i]; if (t != null) { JIFSFile F = new JIFSFthread(t.getName(),t, this); addFSE(F); } } final int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/77d5336d9baa2efd535e4d83393c0986c025ccf7/JIFSDthreads.java/buggy/fs/src/fs/org/jnode/fs/jifs/directories/JIFSDthreads.java |
public JIFSFthread(String name, Thread t, FSDirectory parent) { super(name,parent); this.t = t; refresh(); | public JIFSFthread() { return; | public JIFSFthread(String name, Thread t, FSDirectory parent) { super(name,parent); this.t = t; refresh(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/JIFSFthread.java/buggy/fs/src/fs/org/jnode/fs/jifs/files/JIFSFthread.java |
} | public void close() throws IOException { channel.close(); // Makes sure all intermediate data is released by the decoder. if (decoder != null) decoder.reset(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5cc883bd029030769c65012cf4bb1d33711cca30/ChannelReader.java/buggy/core/src/classpath/gnu/gnu/java/nio/ChannelReader.java | |
} | public int read(char[] buf, int offset, int count) throws IOException { // I declared channel being null meaning that the reader is closed. if (!channel.isOpen()) throw new IOException("Reader was already closed."); // I declared decoder being null meaning that there is no more data to read // and c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5cc883bd029030769c65012cf4bb1d33711cca30/ChannelReader.java/buggy/core/src/classpath/gnu/gnu/java/nio/ChannelReader.java | |
public int read (ByteBuffer dst) throws IOException; | int read(ByteBuffer dst) throws IOException; | public int read (ByteBuffer dst) throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ReadableByteChannel.java/buggy/core/src/classpath/java/java/nio/channels/ReadableByteChannel.java |
public Position createPosition(int offset) throws BadLocationException; | Position createPosition(int offset) throws BadLocationException; | public Position createPosition(int offset) throws BadLocationException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public void getChars(int where, int len, Segment txt) throws BadLocationException; | void getChars(int where, int len, Segment txt) throws BadLocationException; | public void getChars(int where, int len, Segment txt) throws BadLocationException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public String getString(int where, int len) throws BadLocationException; | String getString(int where, int len) throws BadLocationException; | public String getString(int where, int len) throws BadLocationException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public UndoableEdit insertString(int where, String str) throws BadLocationException; | UndoableEdit insertString(int where, String str) throws BadLocationException; | public UndoableEdit insertString(int where, String str) throws BadLocationException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public int length(); | int length(); | public int length(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public UndoableEdit remove(int where, int nitems) throws BadLocationException; | UndoableEdit remove(int where, int nitems) throws BadLocationException; | public UndoableEdit remove(int where, int nitems) throws BadLocationException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
Dictionary getDocumentProperties() | public Dictionary getDocumentProperties() | Dictionary getDocumentProperties() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
EventListener[] getListeners(Class listenerType) | public EventListener[] getListeners(Class listenerType) | EventListener[] getListeners(Class listenerType) { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
void readLock() | public void readLock() | void readLock() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
void readUnlock() | public void readUnlock() | void readUnlock() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public static Collator getInstance (Locale loc) | public static Collator getInstance () | public static Collator getInstance (Locale loc) { ResourceBundle res; String pattern; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc); pattern = res.getString("collation_rules"); } catch (MissingResourceException x) { return null; } try ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/Collator.java/buggy/core/src/classpath/java/java/text/Collator.java |
ResourceBundle res; String pattern; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc); pattern = res.getString("collation_rules"); } catch (MissingResourceException x) { return null; } try { return new RuleBasedCollator (pattern); } catch (ParseException x) { return null; } | return getInstance (Locale.getDefault()); | public static Collator getInstance (Locale loc) { ResourceBundle res; String pattern; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc); pattern = res.getString("collation_rules"); } catch (MissingResourceException x) { return null; } try ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/Collator.java/buggy/core/src/classpath/java/java/text/Collator.java |
public DefaultBoundedRangeModel(int value, int extent, int minimum, int maximum) | public DefaultBoundedRangeModel() | public DefaultBoundedRangeModel(int value, int extent, int minimum, int maximum) { if (!(minimum <= value && extent >= 0 && (value + extent) <= maximum)) throw new IllegalArgumentException(); this.value = value; this.extent = extent; this.minimum = minimum; this.m... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java |
if (!(minimum <= value && extent >= 0 && (value + extent) <= maximum)) throw new IllegalArgumentException(); this.value = value; this.extent = extent; this.minimum = minimum; this.maximum = maximum; | maximum = 100; | public DefaultBoundedRangeModel(int value, int extent, int minimum, int maximum) { if (!(minimum <= value && extent >= 0 && (value + extent) <= maximum)) throw new IllegalArgumentException(); this.value = value; this.extent = extent; this.minimum = minimum; this.m... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java |
public TransformerFactoryConfigurationError (Exception e, String msg) { super (msg); exception = e; } | public TransformerFactoryConfigurationError() { this(null, null); } | public TransformerFactoryConfigurationError (Exception e, String msg) { super (msg); exception = e; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerFactoryConfigurationError.java/buggy/core/src/classpath/javax/javax/xml/transform/TransformerFactoryConfigurationError.java |
out.println("Total memory " + (rt.totalMemory()/1048576) + "Mb"); out.println("Used memory " + ((rt.totalMemory() - rt.freeMemory())/1048576) + "Mb"); out.println("Free memory " + (rt.freeMemory()/1048576) + "Mb"); | out.println("Total memory " + NumberUtils.size(rt.totalMemory())); out.println("Used memory " + NumberUtils.size(rt.totalMemory() - rt.freeMemory())); out.println("Free memory " + NumberUtils.size(rt.freeMemory())); | public void execute(CommandLine cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final Runtime rt = Runtime.getRuntime(); out.println("Total memory " + (rt.totalMemory()/1048576) + "Mb"); out.println("Used memory " + ((rt.totalMemory() - rt.freeMemory())/1048576) + "Mb"); out.println(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e05eb361be2477c496a6c281a82f52392e5d9f7d/MemoryCommand.java/clean/shell/src/shell/org/jnode/shell/command/MemoryCommand.java |
if ((v & (K-1)) != 0) { | if (v < K) { | public static String size(long v) { // Is < 1Kb? if ((v & (K-1)) != 0) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if ((v & (K-1)) != 0) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if ((v & (K-1)) != 0) { return Strin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/901450a40f1780324f9e4b250c08bc94e84e3efb/NumberUtils.java/buggy/core/src/core/org/jnode/util/NumberUtils.java |
if ((v & (K-1)) != 0) { | if (v < K) { | public static String size(long v) { // Is < 1Kb? if ((v & (K-1)) != 0) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if ((v & (K-1)) != 0) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if ((v & (K-1)) != 0) { return Strin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/901450a40f1780324f9e4b250c08bc94e84e3efb/NumberUtils.java/buggy/core/src/core/org/jnode/util/NumberUtils.java |
if ((v & (K-1)) != 0) { | if (v < K) { | public static String size(long v) { // Is < 1Kb? if ((v & (K-1)) != 0) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if ((v & (K-1)) != 0) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if ((v & (K-1)) != 0) { return Strin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/901450a40f1780324f9e4b250c08bc94e84e3efb/NumberUtils.java/buggy/core/src/core/org/jnode/util/NumberUtils.java |
if (((dir_str == null)&&(System.getProperty("user.dir").equals("/")))||(dir_str.equals("/"))){ | if (((dir_str == null)&&(System.getProperty("user.dir").equals("/")))||((dir_str != null)&&(dir_str.equals("/")))){ | public void execute(CommandLine commandLine, InputStream in, PrintStream out, PrintStream err) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(commandLine.toStringArray()); String dir_str = ARG_DIR.getValue(cmdLine); if (((dir_str == null)&&(System.getProperty("user.dir").equals("/")))||(dir_str.equa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9d1d45f6514caca481cc98887e0404d0101570a7/DirCommand.java/buggy/fs/src/fs/org/jnode/fs/command/DirCommand.java |
public List getDataRuns() { | public List<DataRun> getDataRuns() { | public List getDataRuns() { return dataRuns; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/NTFSNonResidentAttribute.java/clean/fs/src/fs/org/jnode/fs/ntfs/NTFSNonResidentAttribute.java |
final List dataruns = getDataRuns(); | final List<DataRun> dataruns = getDataRuns(); | private void readDataRuns(int parentoffset) { int offset = parentoffset; long previousLCN = 0; final List dataruns = getDataRuns(); long vcn = 0; while (getUInt8(offset) != 0x0) { final DataRun dataRun = new DataRun(this, offset, vcn, previousLCN); // map VCN... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/NTFSNonResidentAttribute.java/clean/fs/src/fs/org/jnode/fs/ntfs/NTFSNonResidentAttribute.java |
for (Iterator it = this.getDataRuns().iterator(); it.hasNext();) { final DataRun dataRun = (DataRun) it.next(); | for (DataRun dataRun : this.getDataRuns()) { | public int readVCN(long vcn, byte[] dst, int dstOffset, int nrClusters) throws IOException { final NTFSVolume volume = getFileRecord().getVolume(); final int clusterSize = volume.getClusterSize(); int readClusters = 0; for (Iterator it = this.getDataRuns().iterator(); it.hasNe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/NTFSNonResidentAttribute.java/clean/fs/src/fs/org/jnode/fs/ntfs/NTFSNonResidentAttribute.java |
public IORHolder(IOR initialValue) | public IORHolder() | public IORHolder(IOR initialValue) { value = initialValue; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/IORHolder.java/clean/core/src/classpath/org/org/omg/IOP/IORHolder.java |
value = initialValue; | public IORHolder(IOR initialValue) { value = initialValue; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/IORHolder.java/clean/core/src/classpath/org/org/omg/IOP/IORHolder.java | |
final ParsedArguments cmdLine = HELP_INFO.parse(args); final File file = ARG_TOUCH.getFile(cmdLine); final File parentFile = file.getParentFile(); if (!file.exists()) { if (parentFile!=null && !parentFile.exists()) { if (!parentFile.mkdirs()) { System.err.println("Parent dirs can't create"); } } if (file.createNewFil... | new TouchCommand().execute(new CommandLine(args), System.in, System.out, System.err); | public static void main(String[] args) throws Exception { final ParsedArguments cmdLine = HELP_INFO.parse(args); final File file = ARG_TOUCH.getFile(cmdLine); final File parentFile = file.getParentFile(); if (!file.exists()) { if (parentFile!=null && !parentFile.exists()) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2017000443d42345d2722c0e3010c0ee595d8e15/TouchCommand.java/buggy/fs/src/fs/org/jnode/fs/command/TouchCommand.java |
Segment segment = new Segment(); | Segment segment = getLineBuffer(); | protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(selectedColor); Segment segment = new Segment(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java |
Segment segment = new Segment(); | Segment segment = getLineBuffer(); | protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { JTextComponent textComponent = (JTextComponent) getContainer(); if (textComponent.isEnabled()) g.setColor(unselectedColor); else g.setColor(disabledColor); Segment segment = new Segment(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java |
Document doc = el.getDocument(); Segment seg = new Segment(); | public float getPreferredSpan(int axis) { if (axis != X_AXIS && axis != Y_AXIS) throw new IllegalArgumentException(); // make sure we have the metrics updateMetrics(); float span = 0; Element el = getElement(); Document doc = el.getDocument(); Segment seg = new Segment(); switch (axis) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java | |
for (int i = 0; i < el.getElementCount(); i++) { Element child = el.getElement(i); int start = child.getStartOffset(); int end = child.getEndOffset(); try { doc.getText(start, start + end, seg); } catch (BadLocationException ex) { } int width = metrics.charsWidth(seg.array, seg.offset, seg.count); span = Math.max(sp... | span = determineMaxLineLength(); | public float getPreferredSpan(int axis) { if (axis != X_AXIS && axis != Y_AXIS) throw new IllegalArgumentException(); // make sure we have the metrics updateMetrics(); float span = 0; Element el = getElement(); Document doc = el.getDocument(); Segment seg = new Segment(); switch (axis) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java |
return ((Integer)tabSize).intValue(); | protected int getTabSize() { return 8; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java | |
Segment segment = new Segment(); | Segment segment = getLineBuffer(); | public Shape modelToView(int position, Shape a, Position.Bias b) throws BadLocationException { // Ensure metrics are up-to-date. updateMetrics(); Document document = getDocument(); // Get rectangle of the line containing position. int lineIndex = getElement().getElementIndex(position); Recta... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java |
float tabSizePixels = getTabSize() + metrics.charWidth('m'); | float tabSizePixels = getTabSize() * metrics.charWidth('m'); | public float nextTabStop(float x, int tabStop) { float tabSizePixels = getTabSize() + metrics.charWidth('m'); return (float) (Math.floor(x / tabSizePixels) + 1) * tabSizePixels; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java |
return 0; | Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); int lineClicked = (int) (y - rec.y) / metrics.getHeight(); if (lineClicked >= root.getElementCount()) return getEndOffset() - 1; Element line = root.getElement(lineClicked); Segment s = getLineBuffer(); int sta... | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { // FIXME: not implemented return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java |
public ShortMessage(byte[] data) | public ShortMessage() | public ShortMessage(byte[] data) { super(data); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/ShortMessage.java/buggy/core/src/classpath/javax/javax/sound/midi/ShortMessage.java |
super(data); | this(defaultMessage); | public ShortMessage(byte[] data) { super(data); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/ShortMessage.java/buggy/core/src/classpath/javax/javax/sound/midi/ShortMessage.java |
private void setMessage(int status, int data1, int data2) | public void setMessage(int status, int data1, int data2) | private void setMessage(int status, int data1, int data2) throws InvalidMidiDataException { length = getDataLength(status); length++; if (data == null || data.length < length) data = new byte[length]; data[0] = (byte) status; if (length > 1) { if (data1 < 0 || data1 > 127) throw... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/ShortMessage.java/buggy/core/src/classpath/javax/javax/sound/midi/ShortMessage.java |
return orb.create_alias_tc(id(), "Object Id", orb.create_string_tc(0)); | return orb.create_alias_tc(id(), "ObjectId", orb.create_string_tc(0)); | public static TypeCode type() { ORB orb = OrbRestricted.Singleton; return orb.create_alias_tc(id(), "Object Id", orb.create_string_tc(0)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/ObjectIdHelper.java/buggy/core/src/classpath/org/org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java |
return (int)file.length(); | return (int) file.length(); | public int getLength() { return (int)file.length(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
catch(MalformedURLException e) | catch (MalformedURLException e) | public URL getURL() { try { return new URL(loader.baseURL, name, loader.classloader.getURLStreamHandler("file")); } catch(MalformedURLException e) { InternalError ie = new InternalError(); ie.initCause(e); throw ie; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
if (file.exists() && !file.isDirectory()) | if (file.exists() && ! file.isDirectory()) | Resource getResource(String name) { File file = new File(dir, name); if (file.exists() && !file.isDirectory()) return new FileResource(this, name, file); return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
public JarURLLoader(URLClassLoader classloader, URL baseURL) { super(classloader, baseURL); // cache url prefix for all resources in this jar url String external = baseURL.toExternalForm(); StringBuffer sb = new StringBuffer(external.length() + 6); sb.append("jar:"); sb.append(exter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java | ||
baseJarURL = new URL(null, jarURL, classloader.getURLStreamHandler("jar")); jarfile = ((JarURLConnection) baseJarURL.openConnection()).getJarFile(); | baseJarURL = new URL(null, jarURL, classloader.getURLStreamHandler("jar")); jarfile = ((JarURLConnection) baseJarURL.openConnection()).getJarFile(); } catch (IOException ioe) { /* ignored */ | public JarURLLoader(URLClassLoader classloader, URL baseURL) { super(classloader, baseURL); // cache url prefix for all resources in this jar url String external = baseURL.toExternalForm(); StringBuffer sb = new StringBuffer(external.length() + 6); sb.append("jar:"); sb.append(exter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
catch (IOException ioe) { /* ignored */ } | public JarURLLoader(URLClassLoader classloader, URL baseURL) { super(classloader, baseURL); // cache url prefix for all resources in this jar url String external = baseURL.toExternalForm(); StringBuffer sb = new StringBuffer(external.length() + 6); sb.append("jar:"); sb.append(exter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java | |
if(je != null) | if (je != null) | Resource getResource(String name) { if (jarfile == null) return null; JarEntry je = jarfile.getJarEntry(name); if(je != null) return new JarURLResource(this, name, je); else return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
return ((JarURLLoader)loader).jarfile.getInputStream(entry); | return ((JarURLLoader) loader).jarfile.getInputStream(entry); | InputStream getInputStream() throws IOException { return ((JarURLLoader)loader).jarfile.getInputStream(entry); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
return (int)entry.getSize(); | return (int) entry.getSize(); | int getLength() { return (int)entry.getSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
return new URL(((JarURLLoader)loader).baseJarURL, name, | return new URL(((JarURLLoader) loader).baseJarURL, name, | URL getURL() { try { return new URL(((JarURLLoader)loader).baseJarURL, name, loader.classloader.getURLStreamHandler("jar")); } catch(MalformedURLException e) { InternalError ie = new InternalError(); ie.initCause(e); throw ie; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
catch(MalformedURLException e) | catch (MalformedURLException e) | URL getURL() { try { return new URL(((JarURLLoader)loader).baseJarURL, name, loader.classloader.getURLStreamHandler("jar")); } catch(MalformedURLException e) { InternalError ie = new InternalError(); ie.initCause(e); throw ie; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
URL url = new URL(baseURL, name, classloader.getURLStreamHandler(protocol)); | URL url = new URL(baseURL, name, classloader.getURLStreamHandler(protocol)); | Resource getResource(String name) { try { URL url = new URL(baseURL, name, classloader.getURLStreamHandler(protocol)); URLConnection connection = url.openConnection(); // Open the connection and check the stream // just to be sure it exists. int length = connection.getContentLength(); Inpu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
int response = ((HttpURLConnection)connection).getResponseCode(); if (response/100 != 2) | int response = ((HttpURLConnection) connection).getResponseCode(); if (response / 100 != 2) | Resource getResource(String name) { try { URL url = new URL(baseURL, name, classloader.getURLStreamHandler(protocol)); URLConnection connection = url.openConnection(); // Open the connection and check the stream // just to be sure it exists. int length = connection.getContentLength(); Inpu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
synchronized(urlloaders) { if (newUrl == null) return; URLLoader loader = (URLLoader)urlloaders.get(newUrl); if (loader == null) { String file = newUrl.getFile(); if (! (file.endsWith("/") || file.endsWith(File.separator))) loader = new JarURLLoader(this, newUrl); else if ("file".equals(newUrl.getProtocol())) loade... | addURLImpl(newUrl); | protected void addURL(URL newUrl) { synchronized(urlloaders) { if (newUrl == null) return; // Silently ignore... // check global cache to see if there're already url loader // for this url URLLoader loader = (URLLoader)urlloaders.get(newUrl); if (loader == null) { String file = newUrl.getFile... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
{ addURL(newUrls[i]); } | addURLImpl(newUrls[i]); | private void addURLs(URL[] newUrls) { for (int i = 0; i < newUrls.length; i++) { addURL(newUrls[i]); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VERSION); String specVendor = attr.getValue(Attributes.Name.SPECIFICATION_VENDOR); String implTitle = attr.getValue(Attributes.Name.IMPLEMENTATION_TITLE); String implVersion = attr.get... | String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VERSION); String specVendor = attr.getValue(Attributes.Name.SPECIFICATION_VENDOR); String implTitle = attr.getValue(Attributes.Name.IMPLEMENTATION_TITLE); String implVersion = attr.get... | protected Package definePackage(String name, Manifest manifest, URL url) throws IllegalArgumentException { Attributes attr = manifest.getMainAttributes(); String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
{ | protected Package definePackage(String name, Manifest manifest, URL url) throws IllegalArgumentException { Attributes attr = manifest.getMainAttributes(); String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java | |
} | protected Package definePackage(String name, Manifest manifest, URL url) throws IllegalArgumentException { Attributes attr = manifest.getMainAttributes(); String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java | |
return definePackage(name, specTitle, specVersion, specVendor, implTitle, implVersion, implVendor, url); | return definePackage(name, specTitle, specVersion, specVendor, implTitle, implVersion, implVendor, url); | protected Package definePackage(String name, Manifest manifest, URL url) throws IllegalArgumentException { Attributes attr = manifest.getMainAttributes(); String specTitle = attr.getValue(Attributes.Name.SPECIFICATION_TITLE); String specVersion = attr.getValue(Attributes.Name.SPECIFICATION_VE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
byte [] data; | byte[] data; | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
while(length - pos > 0) | while (length - pos > 0) | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
byte b[] = new byte[4096]; | byte[] b = new byte[4096]; | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
definePackage(packageName, null, null, null, null, null, null, null); | definePackage(packageName, null, null, null, null, null, null, null); | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
{ return (Class)AccessController.doPrivileged (new PrivilegedAction() | return (Class) AccessController.doPrivileged(new PrivilegedAction() | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
return defineClass(className, classData, 0, classData.length, source); | return defineClass(className, classData, 0, classData.length, source); | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
} | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.