rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
throws NotImplementedException
public int getRowCount() { return 0; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public int getRowForPath(TreePath value0) { return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public int getVisibleChildCount(TreePath value0) { return 0; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public Enumeration getVisiblePathsFrom(TreePath value0) { return null; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public void invalidatePathBounds(TreePath value0) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public void invalidateSizes() { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public boolean isExpanded(TreePath value0) { return false; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public void setExpandedState(TreePath value0, boolean value1) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public void treeNodesChanged(TreeModelEvent value0) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public void treeNodesInserted(TreeModelEvent value0) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public void treeNodesRemoved(TreeModelEvent value0) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
throws NotImplementedException
public void treeStructureChanged(TreeModelEvent value0) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
if (pad.equals(PKCS7_PAD))
if (pad.equals(PKCS7_PAD) || pad.equals(PKCS5_PAD))
public static final IPad getInstance(String pad) { if (pad == null) { return null; } pad = pad.trim().toLowerCase(); if (pad.endsWith("padding")) pad = pad.substring(0, pad.length() - "padding".length()); IPad result = null; if (pad.equals(PKCS7_PAD)) { result = new P...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/PadFactory.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/pad/PadFactory.java
hs.add(PKCS5_PAD);
public static final Set getNames() { HashSet hs = new HashSet(); hs.add(PKCS7_PAD); hs.add(TBC_PAD); hs.add(EME_PKCS1_V1_5_PAD); hs.add(SSL3_PAD); hs.add(TLS1_PAD); return Collections.unmodifiableSet(hs); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/PadFactory.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/pad/PadFactory.java
Object oldValue;
if (this.headerValue == headerValue) return;
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/TableColumn.java/buggy/core/src/classpath/javax/javax/swing/table/TableColumn.java
oldValue = this.headerValue;
Object oldValue = this.headerValue;
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/TableColumn.java/buggy/core/src/classpath/javax/javax/swing/table/TableColumn.java
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/TableColumn.java/buggy/core/src/classpath/javax/javax/swing/table/TableColumn.java
sm.checkListen(impl.getLocalPort());
sm.checkAccept(impl.getInetAddress().getHostAddress(), impl.getLocalPort());
public Socket accept() throws IOException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkListen(impl.getLocalPort()); Socket socket = new Socket(); try { implAccept(socket); } catch (IOException e) { try { socket.close(); } catch (IOException e2...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/ServerSocket.java/clean/core/src/classpath/java/java/net/ServerSocket.java
protected InetAddress getInetAddress() { return address; }
protected InetAddress getInetAddress() { return address; }
protected InetAddress getInetAddress() { return address; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/SocketImpl.java/buggy/core/src/classpath/java/java/net/SocketImpl.java
setLayout(null);
void init() { dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 8; cellRenderer = new DefaultListCellRenderer(); listListener = new ListListener(); setModel(new DefaultListModel()); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/JList.java/clean/core/src/classpath/javax/javax/swing/JList.java
protected MetalDividerLayout()
public MetalDividerLayout()
protected MetalDividerLayout() { // Nothing to do here }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/MetalSplitPaneDivider.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalSplitPaneDivider.java
Insets insets = getInsets(); Rectangle bounds = getBounds(); int x = insets.left + (bounds.width - insets.left - insets.right - defaultSize) / 2; int y = insets.top + (bounds.height - insets.left - insets.right - defaultSize) / 2; paintTriangle(g, x, y, defaultSize, direction, isEnabled());
public void paint(Graphics g) { super.paint(g); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicArrowButton.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicArrowButton.java
throw new MARSHAL(ex.toString());
MARSHAL t = new MARSHAL(); t.initCause(ex); throw t;
public void send(IOR ior) { try { Socket socket = new Socket(ior.Internet.host, ior.Internet.port); OutputStream socketOutput = socket.getOutputStream(); write(socketOutput); socketOutput.close(); socket.close(); } catch (IOException ex) { throw new MARS...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/ErrorMessage.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/ErrorMessage.java
private ResolverImpl() { }
private ResolverImpl() { }
private ResolverImpl() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException {
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException {
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
if (resolvers == null) { resolvers = new Hashtable();
if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[] { _dnsserver.toString() }; resolver = new ExtendedResolver(server); Lookup.setDefaultResolver(resolver); resolvers.put(_dnsserver.toString(), resolver); } } catch (UnknownHostE...
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; resolver = new ExtendedResolver(server); Lookup.setDefaultResolver(resolver); resolvers.put(_dnsserver.toString(), resolver); } } catch (UnknownHostException e) { throw new NetworkException("Can't add DnsServ...
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
public String[] getByAddress(ProtocolAddress address) throws UnknownHostException { return new String[0]; }
public String[] getByAddress(ProtocolAddress address) throws UnknownHostException { return new String[0]; }
public String[] getByAddress(ProtocolAddress address) throws UnknownHostException { return new String[0]; //To change body of implemented methods use Options | File Templates. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null;
public ProtocolAddress[] getByName(final String hostname) throws UnknownHostException { final PrivilegedExceptionAction action = new PrivilegedExceptionAction() { public Object run() throws UnknownHostException { ProtocolAddress[] protocolAddresses;
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
protocolAddresses = getFromHostsFile(hostname);
protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; }
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
if (protocolAddresses != null) { return protocolAddresses;
Lookup.setDefaultResolver(resolver); final Lookup lookup; try { lookup = new Lookup(hostname); } catch (TextParseException e) { throw new UnknownHostException(hostname); } lookup.run(); if (lookup.getResult() == Lookup.SUCCESSFUL) { final Record[] records = lookup.getAnswers(); final int recordCount = records.length...
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
Lookup lookup = null; Lookup.setDefaultResolver(resolver); try { lookup = new Lookup(hostname); } catch (TextParseException e) { throw new UnknownHostException(hostname); } lookup.run(); if (lookup.getResult() == Lookup.SUCCESSFUL) { Record[] records = lookup.getAnswers(); protocolAddresses = new ProtocolAddress[r...
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
private ProtocolAddress[] getFromHostsFile(String _hostname) {
private ProtocolAddress[] getFromHostsFile(String _hostname) {
private ProtocolAddress[] getFromHostsFile(String _hostname) { // this should check for changes of the host file return (ProtocolAddress[]) hosts.get(_hostname); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
return (ProtocolAddress[]) hosts.get(_hostname); }
return (ProtocolAddress[]) hosts.get(_hostname); }
private ProtocolAddress[] getFromHostsFile(String _hostname) { // this should check for changes of the host file return (ProtocolAddress[]) hosts.get(_hostname); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl();
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res;
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
return res; }
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
public static void printDnsServers() { if (resolvers == null) { return;
public static void printDnsServers() { if (resolvers == null) { return; } Iterator iterator = resolvers.keySet().iterator(); String dnsServer; while (iterator.hasNext()) { dnsServer = (String) iterator.next(); System.out.println(dnsServer); }
public static void printDnsServers() { if (resolvers == null) { return; } Iterator iterator = resolvers.keySet().iterator(); String dnsServer; while (iterator.hasNext()) { dnsServer = (String) iterator.next(); System.out.println(dnsServer); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
Iterator iterator = resolvers.keySet().iterator(); String dnsServer; while (iterator.hasNext()) { dnsServer = (String) iterator.next(); System.out.println(dnsServer); } }
public static void printDnsServers() { if (resolvers == null) { return; } Iterator iterator = resolvers.keySet().iterator(); String dnsServer; while (iterator.hasNext()) { dnsServer = (String) iterator.next(); System.out.println(dnsServer); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
public static void removeDnsServer(ProtocolAddress _dnsserver) {
public static void removeDnsServer(ProtocolAddress _dnsserver) {
public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
if (resolver == null) { return;
if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers .remove(key); if (resolver.getResolvers().length == 1) { resolver = null; } else { resolver.deleteResolver(resolv); } }
public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length == 1) resolver = null; else resolver.deleteResolver(resolv); } }
public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/04060501a16b98fd68adb85aee99b2fbc6c17873/ResolverImpl.java/buggy/net/src/net/org/jnode/net/ipv4/util/ResolverImpl.java
vr = new Rectangle(); ir = new Rectangle(); tr = new Rectangle();
public BasicLabelUI() { super(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicLabelUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLabelUI.java
void inactiveGroup (ActivationGroupID id, long incarnation)
void inactiveGroup (ActivationGroupID groupId, long incarnation)
void inactiveGroup (ActivationGroupID id, long incarnation) throws UnknownGroupException, RemoteException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/ActivationMonitor.java/clean/core/src/classpath/java/java/rmi/activation/ActivationMonitor.java
public AbstractAction(String name)
public AbstractAction()
public AbstractAction(String name) { this(name, null); // TODO: default icon?? }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractAction.java/buggy/core/src/classpath/javax/javax/swing/AbstractAction.java
this(name, null);
this("");
public AbstractAction(String name) { this(name, null); // TODO: default icon?? }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractAction.java/buggy/core/src/classpath/javax/javax/swing/AbstractAction.java
public static String getEncodingOfClass(Class clazz)
public static String getEncodingOfClass(String type, boolean descriptor)
public static String getEncodingOfClass(Class clazz) { return getEncodingOfClass(clazz.getName(), true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5cf2c2bc800071fe435bc5592c49bd0976f12ab/TypeSignature.java/buggy/core/src/classpath/gnu/gnu/java/lang/reflect/TypeSignature.java
return getEncodingOfClass(clazz.getName(), true);
if (! descriptor || type.charAt(0) == '[') return type.replace('.', '/'); if (type.equals("boolean")) return "Z"; if (type.equals("byte")) return "B"; if (type.equals("short")) return "S"; if (type.equals("char")) return "C"; if (type.equals("int")) return "I"; if (type.equals("long")) return "J"; if (type.equals("floa...
public static String getEncodingOfClass(Class clazz) { return getEncodingOfClass(clazz.getName(), true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5cf2c2bc800071fe435bc5592c49bd0976f12ab/TypeSignature.java/buggy/core/src/classpath/gnu/gnu/java/lang/reflect/TypeSignature.java
return key.equals(e.getKey())
return WeakHashMap.equals(getKey(), e.getKey())
public boolean equals(Object o) { if (o instanceof Map.Entry) { Map.Entry e = (Map.Entry) o; return key.equals(e.getKey()) && WeakHashMap.equals(value, e.getValue()); } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
return key + "=" + value;
return getKey() + "=" + value;
public String toString() { return key + "=" + value; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
throw new ConcurrentModificationException();
throw new ConcurrentModificationException(knownMod + " != " + modCount);
public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
* @throws ConcurrentModificationException if the hash map was * modified.
public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
checkMod();
public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
throw new ConcurrentModificationException();
throw new ConcurrentModificationException(knownMod + " != " + modCount);
private void checkMod() { // This method will get inlined. cleanQueue(); if (knownMod != modCount) throw new ConcurrentModificationException(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
checkMod();
public boolean hasNext() { checkMod(); return nextEntry != null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
if (entry != null && key.equals(entry.key))
if (entry != null && equals(key, entry.key))
private WeakBucket.WeakEntry internalGet(Object key) { if (key == null) key = NULL_KEY; int slot = hash(key); WeakBucket bucket = buckets[slot]; while (bucket != null) { WeakBucket.WeakEntry entry = bucket.getEntry(); if (entry != null && key.equals(entry.key)) return ent...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
if (buckets[slot] == bucket)
WeakBucket prev = null; WeakBucket next = buckets[slot]; while (next != bucket) { if (next == null) throw new InternalError("WeakHashMap in incosistent state"); prev = next; next = prev.next; } if (prev == null)
void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
{ WeakBucket prev = buckets[slot]; /* This may throw a NullPointerException. It shouldn't but if * a race condition occurred (two threads removing the same * bucket at the same time) it may happen. <br> * But with race condition many much worse things may happen * anyway. */ while (prev.next != bucket) prev = prev.ne...
void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
}
void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/WeakHashMap.java/clean/core/src/classpath/5.0/java/util/WeakHashMap.java
public void assign(DynAny from) throws TypeMismatch
public void assign(DynAny from) throws TypeMismatch
public void assign(DynAny from) throws TypeMismatch { checkType(official_type, from.type()); if (from instanceof DynValue) { DynValue other = (DynValue) from; if (other.is_null()) set_to_null(); else { set_to_value(); try ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
public TCKind current_member_kind() throws TypeMismatch, InvalidValue
public TCKind current_member_kind() throws TypeMismatch, InvalidValue
public TCKind current_member_kind() throws TypeMismatch, InvalidValue { if (isNull) throw new TypeMismatch(ISNULL); else return super.current_member_kind(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
public String current_member_name() throws TypeMismatch, InvalidValue
public String current_member_name() throws TypeMismatch, InvalidValue
public String current_member_name() throws TypeMismatch, InvalidValue { if (isNull) throw new TypeMismatch(ISNULL); else return super.current_member_name(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
protected DynAny focused() throws InvalidValue, TypeMismatch
protected DynAny focused() throws InvalidValue, TypeMismatch
protected DynAny focused() throws InvalidValue, TypeMismatch { if (isNull) throw new TypeMismatch(ISNULL); else return super.focused(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
public NameValuePair[] get_members() throws InvalidValue
public NameValuePair[] get_members() throws InvalidValue
public NameValuePair[] get_members() throws InvalidValue { if (isNull) throw new InvalidValue(ISNULL); else return super.gnu_get_members(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
public NameDynAnyPair[] get_members_as_dyn_any() throws InvalidValue
public NameDynAnyPair[] get_members_as_dyn_any() throws InvalidValue
public NameDynAnyPair[] get_members_as_dyn_any() throws InvalidValue { if (isNull) throw new InvalidValue(ISNULL); return super.gnu_get_members_as_dyn_any(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
public Serializable get_val() throws TypeMismatch, InvalidValue
public Serializable get_val() throws TypeMismatch, InvalidValue
public Serializable get_val() throws TypeMismatch, InvalidValue { return to_any().extract_Value(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
public gnuDynValue(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb
public gnuDynValue(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb
public gnuDynValue(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { super(oType, aType, aFactory, anOrb); // Initialise fields. The array of fields also includes all inherited // fields. try { array = new DynAny[ final_type.member...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
parent.id() + ", is not structure nor value."
parent.id() + ", is not structure nor value."
public gnuDynValue(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { super(oType, aType, aFactory, anOrb); // Initialise fields. The array of fields also includes all inherited // fields. try { array = new DynAny[ final_type.member...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
public void insert_val(Serializable a_x) throws InvalidValue, TypeMismatch
public void insert_val(Serializable a_x) throws InvalidValue, TypeMismatch
public void insert_val(Serializable a_x) throws InvalidValue, TypeMismatch { Any a = to_any(); a.insert_Value(a_x); from_any(a); valueChanged(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuDynValue.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynValue.java
return 0;
return dropAction & ((DropTargetContext) source).getTargetActions();
public int getDropAction() { return 0; //return dropAction & ((DropTargetContext) source).getTargetActions(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DropTargetDragEvent.java/clean/core/src/classpath/java/java/awt/dnd/DropTargetDragEvent.java
if (System.in == null) {
if ((System.in == null) || (System.in instanceof EmptyInputStream)) {
protected synchronized void startDevice() throws DriverException { this.channel = getChannel(); this.kbInterpreter = createKeyboardInterpreter(); final Device dev = getDevice(); final String id = dev.getId(); this.daemon = new KeyboardDaemon(id + "-daemon"); daemon.start();...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff3762f8386676fdb7cddddbd169f23a0d3addcc/AbstractKeyboardDriver.java/clean/core/src/driver/org/jnode/driver/input/AbstractKeyboardDriver.java
System.setIn(kis);
AccessController.doPrivileged(new PrivilegedAction() { public Object run() { System.setIn(kis); return null; } });
protected synchronized void startDevice() throws DriverException { this.channel = getChannel(); this.kbInterpreter = createKeyboardInterpreter(); final Device dev = getDevice(); final String id = dev.getId(); this.daemon = new KeyboardDaemon(id + "-daemon"); daemon.start();...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff3762f8386676fdb7cddddbd169f23a0d3addcc/AbstractKeyboardDriver.java/clean/core/src/driver/org/jnode/driver/input/AbstractKeyboardDriver.java
System.setIn(null);
AccessController.doPrivileged(new PrivilegedAction() { public Object run() { System.setIn(new EmptyInputStream()); return null; } });
protected synchronized void stopDevice() throws DriverException { final Device dev = getDevice(); dev.unregisterAPI(KeyboardAPI.class); dev.unregisterAPI(SystemTriggerAPI.class); KeyboardDaemon daemon = this.daemon; if (System.in == kis) { System.setIn(null); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff3762f8386676fdb7cddddbd169f23a0d3addcc/AbstractKeyboardDriver.java/clean/core/src/driver/org/jnode/driver/input/AbstractKeyboardDriver.java
public KeyboardEvent interpretScancode(int scancode) {
public final KeyboardEvent interpretScancode(int scancode) { final boolean extendedMode = this.extendedMode; if (scancode == XT_EXTENDED) { this.extendedMode = true; return null; } else { this.extendedMode = false; } final boolean released = ((scancode & XT_RELEASE) != 0); final long time = System.currentTimeMillis();...
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreter.java
if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED));
final int vk = deriveKeyCode(scancode, extendedMode);
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreter.java
int mask; switch (vk) { case KeyEvent.VK_ALT : mask = InputEvent.ALT_DOWN_MASK; break; case KeyEvent.VK_ALT_GRAPH : mask = InputEvent.ALT_GRAPH_DOWN_MASK; break; case KeyEvent.VK_CONTROL : mask = InputEvent.CTRL_DOWN_MASK; break; case KeyEvent.VK_SHIFT : mask = InputEvent.SHIFT_DOWN_MASK; break; default : mask = 0; } ...
adjustFlags(vk, released);
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreter.java
char ch;
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreter.java
long time = System.currentTimeMillis(); lastScancode = scancode;
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreter.java
long time = System.currentTimeMillis(); lastScancode = scancode;
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreter.java
lastScancode = scancode;
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/57843b9b284ea62b4a1db76be6395f975acfd0fc/KeyboardInterpreter.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreter.java
System.err.println("Cannot load default keyboard layout");
System.err.println("Cannot load default keyboard layout, loading US layout instead");
public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70c0ef1ab55d17e6e98a96ca0de6724037d9bb1c/KeyboardInterpreterFactory.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreterFactory.java
return getKeyboardInterpreter(defaultCountry, defaultRegion);
KeyboardInterpreter ki = getKeyboardInterpreter(defaultCountry, defaultRegion); if(ki == null) { throw new NullPointerException("KeyboardInterpreter for "+defaultCountry+" not found"); } else { return ki; }
public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70c0ef1ab55d17e6e98a96ca0de6724037d9bb1c/KeyboardInterpreterFactory.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreterFactory.java
return new KeyboardInterpreter();
return null;
public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70c0ef1ab55d17e6e98a96ca0de6724037d9bb1c/KeyboardInterpreterFactory.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreterFactory.java
return new KeyboardInterpreter();
return null;
public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70c0ef1ab55d17e6e98a96ca0de6724037d9bb1c/KeyboardInterpreterFactory.java/buggy/core/src/driver/org/jnode/driver/input/KeyboardInterpreterFactory.java
SecurityManager sm = Runtime.securityManager;
SecurityManager sm = SecurityManager.current;
public static void setIn(InputStream in) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPermission(new RuntimePermission("setIO")); VMSystem.setIn(in); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206de32e8ebd7bc5080236c5c9ea198dd5243913/System.java/buggy/core/src/classpath/java/java/lang/System.java
public DefaultComboBoxModel() { }
public DefaultComboBoxModel() { list = new Vector(); }
public DefaultComboBoxModel() { // TODO } // DefaultComboBoxModel()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public void addElement(Object object) { }
public void addElement(Object object) { list.add(object); fireIntervalAdded(this, list.size(), list.size()); }
public void addElement(Object object) { // TODO } // addElement()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public Object getElementAt(int index) { return null; }
public Object getElementAt(int index) { return list.elementAt(index); }
public Object getElementAt(int index) { return null; // TODO } // getElementAt()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public int getIndexOf(Object object) { return 0; }
public int getIndexOf(Object object) { return list.indexOf(object); }
public int getIndexOf(Object object) { return 0; // TODO } // getIndexOf()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public Object getSelectedItem() { return null; }
public Object getSelectedItem() { return selectedItem; }
public Object getSelectedItem() { return null; // TODO } // getSelectedItem()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public int getSize() { return 0; }
public int getSize() { return list.size(); }
public int getSize() { return 0; // TODO } // getSize()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public void insertElementAt(Object object, int index) { }
public void insertElementAt(Object object, int index) { list.insertElementAt(object, index); fireIntervalAdded(this, index, index); }
public void insertElementAt(Object object, int index) { // TODO } // insertElementAt()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public void removeAllElements() { }
public void removeAllElements() { int listSize = getSize(); list.clear(); fireIntervalAdded(this, 0, listSize - 1); }
public void removeAllElements() { // TODO } // removeAllElements()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public void removeElement(Object object) { }
public void removeElement(Object object) { int index = getIndexOf(object); if (index != -1) removeElementAt(index); }
public void removeElement(Object object) { // TODO } // removeElement()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public void removeElementAt(int index) { }
public void removeElementAt(int index) { list.remove(index); fireIntervalRemoved(this, index, index); }
public void removeElementAt(int index) { // TODO } // removeElementAt()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
public void setSelectedItem(Object object) { }
public void setSelectedItem(Object object) { selectedItem = object; fireContentsChanged(this, -1, -1); }
public void setSelectedItem(Object object) { // TODO } // setSelectedItem()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration()
ensureLoaded(); Enumeration result; if (privateKR == null) result = Collections.enumeration(Collections.EMPTY_SET); else
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/GnuKeyring.java/clean/core/src/classpath/gnu/gnu/javax/crypto/jce/keyring/GnuKeyring.java
public boolean hasMoreElements()
Set aliases = new HashSet(); for (Enumeration e = privateKR.aliases(); e.hasMoreElements();)
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/GnuKeyring.java/clean/core/src/classpath/gnu/gnu/javax/crypto/jce/keyring/GnuKeyring.java
return false;
String alias = (String) e.nextElement(); if (alias != null) aliases.add(alias);
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/GnuKeyring.java/clean/core/src/classpath/gnu/gnu/javax/crypto/jce/keyring/GnuKeyring.java
public Object nextElement()
for (Enumeration e = publicKR.aliases(); e.hasMoreElements();)
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/GnuKeyring.java/clean/core/src/classpath/gnu/gnu/javax/crypto/jce/keyring/GnuKeyring.java
throw new NoSuchElementException();
String alias = (String) e.nextElement(); if (alias != null) aliases.add(alias);
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/abad947539d38da7392ff914207d1bb7d5538320/GnuKeyring.java/clean/core/src/classpath/gnu/gnu/javax/crypto/jce/keyring/GnuKeyring.java