Nice/src/gnu/expr LambdaExp.java,1.28,1.29
Daniel Bonniot <[email protected]>
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/src/gnu/expr
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8827/src/gnu/expr
Modified Files:
LambdaExp.java
Log Message:
Don't include a SourceFile attribute in the generated classes.
It's only SourceDebugExtension that can give accurate source information.
Index: LambdaExp.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/gnu/expr/LambdaExp.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** LambdaExp.java 20 Feb 2005 13:20:03 -0000 1.28
--- LambdaExp.java 20 Feb 2005 21:20:01 -0000 1.29
***************
*** 998,1002 ****
name = comp.generateUniqueName(name);
frameType = new ClassType(name);
! frameType.setSourceFile(outerClass.getFile());
}
else
--- 998,1003 ----
name = comp.generateUniqueName(name);
frameType = new ClassType(name);
! if (outerClass.getFile() != null)
! frameType.setSourceFile(outerClass.getFile());
}
else
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click