issue_id
int64
2.04k
425k
title
stringlengths
9
251
body
stringlengths
4
32.8k
⌀
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
timestamp[us, tz=UTC]
report_datetime
timestamp[us, tz=UTC]
updated_file
stringlengths
23
187
chunk_content
stringlengths
1
22k
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
if (null != sourceLoc) { Integer hash = new Integer(sourceLoc.getLine()); List existingEntry = (List)annotations.get(hash); if (existingEntry != null) { entries.addAll(existingEntry); } annotation...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
} public void removeStructureListener(IHierarchyListener listener) { structureListeners.remove(listener); } public void removeAllListeners() { structureListeners.clear(); } private void notifyListeners() { for (Iterator it = structureListeners.iterator(); it.hasNext(); ) { ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
FileOutputStream fos = new FileOutputStream(filePath); ObjectOutputStream s = new ObjectOutputStream(fos); s.writeObject(hierarchy); s.writeObject(mapper); s.flush(); fos.flush(); fos.close(); s.close(); } catch (Exception e) ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
((RelationshipMap)mapper).setHierarchy(hierarchy); } } catch (FileNotFoundException fnfe) { hierarchy.setRoot(IHierarchy.NO_STRUCTURE); } catch (EOFException eofe) { if (!hierarchyReadOK) { System.err.println("AsmManager: Unable to read structure model: "+configFilePath+" b...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
public String getCanonicalFilePath(File f) { return canonicalFilePathMap.get(f); } private CanonicalFilePathMap canonicalFilePathMap = new CanonicalFilePathMap(); private static class CanonicalFilePathMap { private static final int MAX_SIZE = 4000; private Map pathMap = new HashMap(20); ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
pathMap.put(f.getPath(),ret); if (pathMap.size() > MAX_SIZE) pathMap.clear(); } return ret; } } public static void setReporting(String filename,boolean dModel,boolean dRels,boolean dDeltaProcessing, boolean deletefile) { reporting = true; dumpModel = dMod...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
bw.write("=== END OF MODEL REPORT =========\n"); } if (dumpRelationships) { bw.write("=== RELATIONSHIPS REPORT ========= "+reasonForReport+"\n"); dumprels(bw); bw.write("=== END OF RELATIONSHIPS REPORT ==\n"); } Properties p = ModelInfo.summarizeModel().getProperties(); Enumeration pkeyenum =...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
if (node!=null) for (Iterator i = node.getChildren().iterator();i.hasNext();) { dumptree(w,(IProgramElement)i.next(),indent+2); } } public static void dumptree(IProgramElement node,int indent) throws IOException { for (int i =0 ;i<indent;i++) System.out.print(" "); String loc = ""; if (node!=null) { ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
for (Iterator iterator2 = targets.iterator(); iterator2.hasNext(); ) { String thid = (String) iterator2.next(); w.write("Hid:"+(ctr++)+":(targets="+targets.size()+") "+hid+" ("+ir.getName()+") "+thid+"\n"); } } } } private void dumprelsStderr(String key) { System.err.println("Relation...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
} private String getFilename(String hid) { return hid.substring(0,hid.indexOf("|")); } /** * Removes the hierarchy structure for the specified files from the structure model. * Returns true if it deleted anything */ public boolean removeStructureModelForFiles(Writer fw,Collection files) throws IOE...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
if (!model.removeFromFileMap(correctedPath.toString())) throw new RuntimeException("Whilst repairing model, couldn't remove entry for file: "+correctedPath.toString()+" from the filemap"); modelModified = true; } } if (modelModified) model.updateHandleMap(deletedNodes); return modelModified; } ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
Set deletedNodes = new HashSet(); for (Iterator iter = filesToRemoveFromStructureModel.iterator(); iter.hasNext();) { File fileForCompilation = (File) iter.next(); String correctedPath = AsmManager.getDefault().getCanonicalFilePath(fileForCompilation); IProgramElement progElem = (IProgramElement)model.findIn...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
FileWriter filew = new FileWriter(dumpFilename,true); fw = new BufferedWriter(filew); fw.write("=== Processing delta changes for the model ===\n"); fw.write("Files for compilation:#"+files_tobecompiled.size()+":"+files_tobecompiled+"\n"); fw.write("Files added :#"+files_added.size()+":"+files_a...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
fw.write("========================================\n"); fw.flush();fw.close(); } reportModelInfo("After delta processing"); } catch (IOException e) { e.printStackTrace(); } } /** * two kinds of relationships * * A affects B * B affectedBy A * * Both of these relationships ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
int lastSep = typename.lastIndexOf('.'); if (lastSep != -1) { pkg = typename.substring(0,lastSep); type= typename.substring(lastSep+1); } boolean didsomething=false; IProgramElement typeNode = hierarchy.findElementForType(pkg,type); if (typeNode == null) return; Set sourcesToRemove = new Has...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
if (relationshipsToRemove.size()>0) { didsomething=true; if (relationshipsToRemove.size() == relationships.size()) sourcesToRemove.add(hid); else { for (int i = 0 ;i<relationshipsToRemove.size();i++) relationships.remove(relationshipsToRemove.get(i)); } } } } for (Iterator ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
sourcehandlesSet = mapper.getEntries(); for (Iterator keyiter = sourcehandlesSet.iterator(); keyiter.hasNext();) { String hid = (String) keyiter.next(); IProgramElement sourceElement = hierarchy.getElement(hid); relationshipsToRemove.clear(); List relationships = mapper.get(hid); for (...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
} } } if (relationshipsToRemove.size()>0) { if (relationshipsToRemove.size() == relationships.size()) sourcesToRemove.add(hid); else { for (int i = 0 ;i<relationshipsToRemove.size();i++) relationships.remove(relationshipsToRemove.get(i)); } } } for (Iter...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
} /** * Return true if the target element is in the type specified. */ private boolean sameType(String hid,IProgramElement target, IProgramElement type) { IProgramElement containingType = target; if (target==null) throw new RuntimeException("target can't be null!"); if (type==null) throw new Runti...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
/** * Go through all the relationships in the model, if any endpoints no longer exist (the node it * points to has been deleted from the model) then delete the relationship. */ private void repairRelationships(Writer fw) { try { IHierarchy model = AsmManager.getDefault().getHierarchy(); if (dump...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
IProgramElement existingElement = model.getElement(hid); if (dumpDeltaProcessing) fw.write("Looking for handle ["+hid+"] in model, found: "+existingElement+"\n"); if (existingElement == null) { sourcesToRemove.add(hid); nonExistingHandles.add(hid); } else { Lis...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
if (dumpDeltaProcessing) fw.write("Target handle ["+targethid+"] for srchid["+hid+"]rel["+rel.getName()+"] does not exist\n"); targetsToRemove.add(targethid); nonExistingHandles.add(targethid); } } } if (targetsToRemove.size()!=0) { if (targetsTo...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
if (relationshipsToRemove.size() == relationships.size()) { sourcesToRemove.add(hid); } else { for (int i = 0 ;i<relationshipsToRemove.size();i++) { IRelationship irel = (IRelationship)relationshipsToRemove.get(i); verifyAssumption(irm.remove(hid,irel),"Failed to rem...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
System.err.println("Failed to repair relationships:"); ioe.printStackTrace(); } } /** * Removes a specified program element from the structure model. * We go to the parent of the program element, ask for all its children * and remove the node we want to delete from the list of children. */ private ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
* and remove the node we want to delete from the list of children. * <p>Second:We check if that parent has any other children. If it has no other * children and it is either a CODE node or a PACKAGE node, we delete it too. */ private void removeNode(IProgramElement progElem) { try { verifyAssum...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
} public static void verifyAssumption(boolean b,String info) { if (!b) { System.err.println("=========== ASSERTION IS NOT TRUE =========v"); System.err.println(info); Thread.dumpStack(); System.err.println("=========== ASSERTION IS NOT TRUE =========^"); throw new RuntimeException("Assertion is ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
private ModelInfo(IHierarchy hierarchy,IRelationshipMap relationshipMap) { IProgramElement ipe = hierarchy.getRoot(); walkModel(ipe); recordStat("FileMapSize", new Integer(hierarchy.getFileMapEntrySet().size()).toString()); recordStat("RelationshipMapSize", new Integer(relationshipMap.getEntries()...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
StringBuffer sb = new StringBuffer(); sb.append("Model node summary:\n"); Enumeration nodeKeys = nodeTypeCount.keys(); while (nodeKeys.hasMoreElements()) { String key = (String)nodeKeys.nextElement(); Integer ct = (Integer)nodeTypeCount.get(key); sb.append(key+"="+ct+"\n"); } sb.append("Model...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/AsmManager.java
extraProperties.setProperty(string,string2); } public static ModelInfo summarizeModel() { return new ModelInfo(AsmManager.getDefault().getHierarchy(), AsmManager.getDefault().getRelationshipMap()); } } /** * Set to indicate whether we are currently building a structure model, should ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
/* ******************************************************************* * Copyright (c) 2003 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at * htt...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
private static final long serialVersionUID = 6462734311117048620L; protected IProgramElement root = null; protected String configFile = null; private Map fileMap = null; private Map handleMap = null; private Map typeMap = null; public IProgramElement getElement(String handle) { IProgramEleme...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
String file = AsmManager.getDefault().getHandleProvider().getFileForHandle(handle); int line = AsmManager.getDefault().getHandleProvider().getLineNumberForHandle(handle); int offSet = AsmManager.getDefault().getHandleProvider().getOffSetForHandle(handle); String canonicalSFP = AsmMan...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
return fileMap.get(key); } public Set getFileMapEntrySet() { return fileMap.entrySet(); } public boolean isValid() { return root != null && fileMap != null; } /** * Returns the first match * * @param parent * @param kind not null * @return null if not found */ public IProgramEleme...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
public IProgramElement findElementForLabel( IProgramElement parent, IProgramElement.Kind kind, String label) { for (Iterator it = parent.getChildren().iterator(); it.hasNext(); ) { IProgramElement node = (IProgramElement)it.next(); if (node.getKind() == kind && label.equals(node.toLabelString())) { ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
if (packageName == null) { packageNode = root; } else { if (root == null) return null; List kids = root.getChildren(); if (kids == null) return null; for (Iterator it = kids.iterator(); it.hasNext(); ) { IProgramElement node = (IProgramElement)it.next(); if (packageName.equals(node.getN...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
String innerName; int dollar = name.indexOf('$'); if (dollar == -1) { baseName = name; innerName = null; } else { baseName = name.substring(0, dollar); innerName = name.substring(dollar+1); } for (Iterator j = nodes.iterator(); j.hasNext(); ) { IProgramElement classNode = (IProgramElement)j....
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
* @return a new structure node for the file if it was not found in the model */ public IProgramElement findElementForSourceFile(String sourceFile) { try { if (!isValid() || sourceFile == null) { return IHierarchy.NO_STRUCTURE; } else { String correctedPath = ...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
} catch (Exception e) { return null; } } /** * Never returns null * * @param sourceFilePath canonicalized path for consistency * @param lineNumber if 0 or 1 the corresponding file node will be returned * @return a new structure node for the file if it was not found in the model */ public IPro...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
} private IProgramElement createFileStructureNode(String sourceFilePath) { int lastSlash = sourceFilePath.lastIndexOf('\\'); if (lastSlash == -1) { lastSlash = sourceFilePath.lastIndexOf('/'); } String fileName = sourceFilePath.substring(lastSlash+1); IProgramElement fileNode = new ProgramElement(fileN...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
return null; } private boolean matches(IProgramElement node, String sourceFilePath, int lineNumber, int offSet) { return node != null && node.getSourceLocation() != null && node.getSourceLocation().getSourceFile().getAbsolutePath().equals(sourceFilePath) && ((offSet != -1 && node.getSou...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
return configFile; } public void setConfigFile(String configFile) { this.configFile = configFile; } public IProgramElement findElementForHandle(String handle) { IProgramElement ret = (IProgramElement) handleMap.get(handle); if (ret != null) return ret; String file = AsmManager.getDefault(...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
protected void cache(String handle, IProgramElement pe) { if (!AsmManager.isCompletingTypeBindings()) { handleMap.put(handle,pe); } } public void flushTypeMap() { typeMap.clear(); } public void flushHandleMap() { handleMap.clear(); } public void flushFileMap() { fileMap.clear(); } public vo...
146,546
Bug 146546 Remove hard coded dependency on "|" in getFileName(..) methods
null
resolved fixed
38cc0dd
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-12T14:00:02Z
2006-06-12T11:00:00Z
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java
k = typeMap.keySet(); for (Iterator iter = k.iterator(); iter.hasNext();) { String element = (String) iter.next(); IProgramElement ipe = (IProgramElement)typeMap.get(element); if (deletedFiles.contains(getFilename(ipe.getHandleIdentifier()))) forRemoval.add(element); } for (Iterator iter = forRemoval.ite...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
/* ******************************************************************* * Copyright (c) 2001-2001 Xerox Corporation, * 2002 Palo Alto Research Center, Incorporated (PARC) * 2003-2004 Contributors. * All rights reserved. * This program and the accompanying materials are made available ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
import org.apache.tools.ant.Location; import org.apache.tools.ant.Project; import org.apache.tools.ant.taskdefs.Copy; import org.apache.tools.ant.taskdefs.Delete; import org.apache.tools.ant.taskdefs.Execute; import org.apache.tools.ant.taskdefs.Expand; import org.apache.tools.ant.taskdefs.Javac; import org.apache.tool...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
import org.aspectj.util.LangUtil; /** * This runs the AspectJ 1.1 compiler, * supporting all the command-line options. * In 1.1.1, ajc copies resources from input jars, * but you can copy resources from the source directories * using sourceRootCopyFilter. * When not forking, things will be copied as needed * ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
* (b) permitting recycling the task with * <code>reset()</code> (untested). * * The parts that do more than convert ant specs are * (a) code for forking; * (b) code for copying resources. * * If you maintain/upgrade this task, keep in mind: * (1) changes to the semantics o...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
* boolean includeJavaRuntime = false; * </pre> * Other javac arguments are not supported in ajc 1.1: * <pre> * boolean optimize; * String forkedExecutable; * FacadeTaskHelper facade; * boolean depend; * String debugLevel; * Path compileSourcepath; * </pre> * @param...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
ajc.setFork(fork); if (fork) { ajc.setMaxmem(javac.getMemoryMaximumSize()); } ajc.setNowarn(javac.getNowarn()); ajc.setListFileArgs(javac.getListfiles()); ajc.setVerbose(javac.getVerbose()); ajc.setTarget(javac.getTarget()); ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
* Find aspectjtools.jar on the task or system classpath. * Accept <code>aspectj{-}tools{...}.jar</code> * mainly to support build systems using maven-style * re-naming * (e.g., <code>aspectj-tools-1.1.0.jar</code>. * Note that we search the task classpath first, * though an entry on the...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
private static File isAspectjtoolsjar(String path) { if (null == path) { return null; } final String prefix = "aspectj"; final String infix = "tools"; final String altInfix = "-tools"; final String suffix = ".jar"; final int pre...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
return null; } /** * Maximum length (in chars) of command line * before converting to an argfile when forking */ private static final int MAX_COMMANDLINE = 4096; private static final File DEFAULT_DESTDIR = new File(".") { public String toString() { return "(no ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
static final String[] TARGET_INPUTS = new String [] { "1.1", "1.2", "1.3", "1.4", "1.5" }; static final String[] SOURCE_INPUTS = new String [] { "1.3", "1.4", "1.5" }; static final String[] COMPLIANCE_INPUTS = new String [] { "-1.3", "-1.4", "-1.5" }; private static final ICommandEditor COMMA...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
VALID_XLINT = Collections.unmodifiableList(Arrays.asList(xs)); ICommandEditor editor = null; try { String editorClassName = System.getProperty(COMMAND_EDITOR_NAME); if (null != editorClassName) { ClassLoader cl = AjcTask.class.getClassLoader(); ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
private Path inpath; private Path classpath; private Path bootclasspath; private Path forkclasspath; private Path extdirs; private Path aspectpath; private Path argfiles; private List ignored; private Path sourceRoots; private File xweaveDir; private String xdoneSignal; ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
private File outjar; private boolean outjarFixedup; /** * When possibly copying resources to the output jar, * pass ajc a fake output jar to copy from, * so we don't change the modification time of the output jar * when copying injars/inpath into the actual outjar. */ pri...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
adapterArguments = null; adapterFiles = new ArrayList(); argfiles = null; executing = false; aspectpath = null; bootclasspath = null; classpath = null; cmd = new GuardedCommand(); copyInjars = false; copyInpath = false; destDir = DEFAULT_DE...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
tmpOutjar = null; verbose = false; xweaveDir = null; xdoneSignal = null; javaCmd = new CommandlineJava(); } protected void ignore(String ignored) { this.ignored.add(ignored + " at " + getLocation()); } protected String validCommaList(String list, Li...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
if (!valid.contains(token)) { ignore("bad commaList entry for -" + label + ": " + token); } else { if (0 < result.length()) { result.append(","); } result.append(token); } } return (0 == result.length() ? null : result.toString()); } public void setIn...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} public void setXJoinpoints(String optionalJoinpoints) { cmd.addFlag("-Xjoinpoints:"+optionalJoinpoints,true); } public void setXNoWeave(boolean b) { if (logger!=null) logger.warning("the noweave option is no longer required and is being ignored"); } public void setNoWeav...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
public void setDeprecation(boolean deprecation) { cmd.addFlag("-deprecation", deprecation); } public void setWarn(String warnings) { warnings = validCommaList(warnings, VALID_WARNINGS, "warn"); cmd.addFlag("-warn:" + warnings, (null != warnings)); } public void setDebug(boolean de...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
/** -Xlint:{error|warning|info} - set default level for -Xlint messages * @param xlint the String with one of error, warning, ignored */ public void setXlint(String xlint) { xlint = validCommaList(xlint, VALID_XLINT, "Xlint", 1); cmd.addFlag("-Xlint:" + xlint, (null != xlint)); } /** * -Xl...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
public void setProceedOnError(boolean proceedOnError) { cmd.addFlag("-proceedOnError", proceedOnError); } public void setVerbose(boolean verbose) { cmd.addFlag("-verbose", verbose); this.verbose = verbose; } public void setListFileArgs(boolean listFileArgs) { th...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
public void setFork(boolean fork) { this.fork = fork; } public void setMaxmem(String maxMem) { this.maxMem = maxMem; } public Commandline.Argument createJvmarg() { return this.javaCmd.createVmArgument(); } public void setTagFile(File file) { inIncr...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
outjarFixedup = false; tmpOutjar = null; } public void setOutxml(boolean outxml) { cmd.addFlag("-outxml",outxml); } public void setOutxmlfile(String name) { cmd.addFlagged("-outxmlfile", name); } public void setDestdir(File dir) { if (null != outjar) { St...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} /** * Language compliance level. * If not set explicitly, eclipse default holds. * @param input a String in COMPLIANCE_INPUTS */ public void setCompliance(String input) { String ignore = cmd.addOption(null, COMPLIANCE_INPUTS, input); if (null != ignore) { ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
*/ public void setCopyInjars(boolean doCopy){ ignore("copyInJars"); log("copyInjars not required since 1.1.1.\n", Project.MSG_WARN); } /** * Option to copy all files from * all source root directories * except those specified here. * If this is specified and...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
* If the input does not contain "**\/*.class", then * this prepends it, to avoid overwriting woven classes * with unwoven input. * @param filter a String acceptable as an excludes * filter for an Ant Zip fileset. */ public void setInpathDirCopyFilter(String filter){ if (null ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
this.xdoneSignal = doneSignal; } public void setMessageHolder(IMessageHolder holder) { this.messageHolder = holder; } /** * Setup custom message handling. * @param className the String fully-qualified-name of a class * reachable from this object's class loader,...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
/** * Setup command-line filter. * To do this staticly, define the environment variable * <code>org.aspectj.tools.ant.taskdefs.AjcTask.COMMAND_EDITOR</code> * with the <code>className</code> parameter. * @param className the String fully-qualified-name of a class * reachable from ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
if (null == source) { source = new Path(project); } if (null != toAdd) { source.append(toAdd); } return source; } public void setSourcerootsref(Reference ref) { createSourceRoots().setRefid(ref); } public void setSourceRoots(Path root...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} public void setInpathref(Reference ref) { createInpath().setRefid(ref); } public void setInjars(Path path) { injars = incPath(injars, path); } public void setInpath(Path path) { inpath = incPath(inpath,path); } public Path createInjars() { if (injar...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
public void setClasspathref(Reference classpathref) { createClasspath().setRefid(classpathref); } public Path createClasspath() { if (classpath == null) { classpath = new Path(project); } return classpath.createPath(); } public void setBootcla...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
createForkclasspath().setRefid(forkclasspathref); } public Path createForkclasspath() { if (forkclasspath == null) { forkclasspath = new Path(project); } return forkclasspath.createPath(); } public void setExtdirs(Path path) { extdirs = incPa...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
public Path createAspectpath() { if (aspectpath == null) { aspectpath = new Path(project); } return aspectpath.createPath(); } public void setSrcDir(Path path) { srcdir = incPath(srcdir, path); } public Path createSrc() { return createSrcdir();...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
public void setArgfiles(Path path) { argfiles = incPath(argfiles, path); } public Path createArgfiles() { if (argfiles == null) { argfiles = new Path(project); } return argfiles.createPath(); } /** * Compile using ajc per setting...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
if (!fork) { executeInSameVM(args); } else { executeInOtherVM(args); } } catch (BuildException e) { throw e; } catch (Throwable x) { this.logger.error(Main.renderExceptionForUser(x)); throw new BuildException("IGNO...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
Main me = main; if (null != me) { me.quit(); } return true; } String[] makeCommand() { ArrayList result = new ArrayList(); if (0 < ignored.size()) { for (Iterator iter = ignored.iterator(); iter.hasNext();) { logVerbose("ignored: ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} result.addAll(cmd.extractArguments()); addListArgs(result); String[] command = (String[]) result.toArray(new String[0]); if (null != commandEditor) { command = commandEditor.editCommand(command); } else if (null != COMMAND_EDITOR) { command = COM...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
File injar = zipDirectory(xweaveDir); setInjars(new Path(getProject(), injar.getAbsolutePath())); setDestdir(xweaveDir); } } protected File zipDirectory(File dir) { File tempDir = new File("."); try { tempDir = File.createTempFile("AjcTest", ".tmp")...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
delete.setProject(getProject()); delete.setTaskName(getTaskName() + " - delete"); delete.setDir(dir); delete.execute(); Mkdir mkdir = new Mkdir(); mkdir.setProject(getProject()); mkdir.setTaskName(getTaskName() + " - mkdir"); mkdir.setDir(dir); mkdir.execu...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
sb.append(REQ); } if (0 < sb.length()) { throw new BuildException(sb.toString()); } } /** * Run the compile in the same VM by * loading the compiler (Main), * setting up any message holders, * doing the compile, * and converting abort/failure and err...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} else { numPreviousErrors = holder.numMessages(IMessage.ERROR, true); } { Main newmain = new Main(); newmain.setHolder(holder); newmain.setCompletionRunner(new Runnable() { public void run() { doCompletionTasks(); ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
{ IMessage[] fails = holder.getMessages(IMessage.FAIL, true); if (!LangUtil.isEmpty(fails)) { StringBuffer sb = new StringBuffer(); String prefix = "fail due to "; int numThrown = 0; for (int i = 0; i < fails.length; i++) { ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
prefix = ", "; } if (0 < sb.length()) { sb.append(" (" + numThrown + " exceptions)"); throw new BuildException(sb.toString()); } } } } /** * Execute in a separate VM. * Differences from nor...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
File aspectjtools = null; int vmClasspathSize = vmClasspath.size(); if ((null != forkclasspath) && (0 != forkclasspath.size())) { vmClasspath.addExisting(forkclasspath); } else { aspectjtools = findAspectjtoolsJar(); ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
if (args.length != numArgs) { tempFile = new File(args[1]); } try { boolean setMessageHolderOnForking = (this.messageHolder != null); String[] javaArgs = javaCmd.getCommandline(); String[] both = new String[javaArgs.length + args.length + (setMessageHolderOn...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
doCompletionTasks(); } finally { if (null != tempFile) { tempFile.delete(); } } } /** * Execute in another process using the same JDK * and the base directory of the project. XXX correct? * @param args * @return */ protect...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
throw new BuildException(s, location); } executingInOtherVM = true; exe.execute(); } finally { executingInOtherVM = false; } return exe.getExitValue(); } catch (IOException e) { String m = "Error exec...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
addFlaggedPath("-aspectpath", aspectpath, list); addFlaggedPath("-injars", injars, list); addFlaggedPath("-inpath", inpath, list); addFlaggedPath("-sourceroots", sourceRoots, list); if (argfiles != null) { String[] files = argfiles.list(); for (int i = 0;...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} if (0 < adapterFiles.size()) { for (Iterator iter = adapterFiles.iterator(); iter.hasNext();) { File file = (File) iter.next(); if (file.canRead() && FileUtil.hasSourceSuffix(file)) { list.add(file.getAbsolutePath()); } else { ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
if (isDir ^ file.isDirectory()) { String e = file + " should" + (isDir ? "" : "n't") + " be a directory!"; throw new BuildException(e, loc); } return true; } /** * Called when compile or incremental compile is completing, * this completes ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
/** * Complete the destination directory * by copying resources from the source root directories * (if the filter is specified) * and non-.class files from the input jars * (if XCopyInjars is enabled). */ private void completeDestdir() { if (!copyInjars && (null == sourceRoot...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
unzip.setProject(project); unzip.setTaskName(taskName); unzip.setDest(destDir); unzip.setSrc(new File(paths[i])); unzip.addPatternset(patternSet); unzip.execute(); } } } if ((n...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
copy.setTodir(destDir); boolean gotDir = false; for (int i = 0; i < paths.length; i++) { File inpathDir = new File(paths[i]); if (inpathDir.isDirectory() && inpathDir.canRead()) { if (!gotDir) { g...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
|| (!copyInjars && (null == sourceRootCopyFilter) && (null == inpathDirCopyFilter))) { return; } Zip zip = new Zip(); Project project = getProject(); zip.setProject(project); zip.setTaskName(getTaskName() + " - zip"); zip.setDestFil...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
if (!LangUtil.isEmpty(paths)) { for (int i = 0; i < paths.length; i++) { File srcRoot = new File(paths[i]); FileSet fileset = new FileSet(); fileset.setProject(project); fileset.setDir(srcRoot); fileset.s...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
/** * Add specified source files. */ void addFiles(File[] paths) { for (int i = 0; i < paths.length; i++) { addFile(paths[i]); } } /** * Add specified source file. */ void addFile(File path) { if (null != path) { adapterFiles.add(path);...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
final String[] args; int index = 0; Args(String[] args) { this.args = args; } boolean hasNext() { return index < args.length; } String next() { String err = null; if (!hasNext()) { ...
136,707
Bug 136707 iajc should print summary like javac
The iajc ant task should produce a summary of what it is doing, like the javac task does: [javac] Compiling 189 source files to C:\project\classes
resolved fixed
008efca
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-13T19:45:44Z
2006-04-13T17:40:00Z
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
} Args in = new Args(args); String flag; while (in.hasNext()) { flag = in.next(); if ("-1.3".equals(flag)) { setCompliance(flag); } else if ("-1.4".equals(flag)) { setCompliance(flag); } else if ("-1.5".equals(flag)) {...