Bug 63781 - Prefer source to binary input
Summary: Prefer source to binary input
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 00:25 EDT by Wes Isberg CLA
Modified: 2005-03-22 13:06 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wes Isberg CLA 2004-05-25 00:25:57 EDT
When I got the message "can't use declare parents to change superclass of binary
form ... (implementation limitation)", I added the source file to the compile
but still got the message.  It would be nice if binary limitations did not apply
when source files are provided, even if the .class file is also on the inpath,
to reduce the changes to the build process required to work around this limitation.
Comment 1 Adrian Colyer CLA 2005-03-22 09:06:45 EST
I believe all binary limitations are now removed, in order to fully support
incremental compilation (which runs in binary mode most of the time).
Comment 2 Wes Isberg CLA 2005-03-22 13:06:51 EST
Verified with latest CVS that you can declare parents on binary class.

Created another bug 88776: ajc should not prefer source to binary but should
issue an error on duplication, as it does for duplicate classes in source form.
 (This has the potential to break existing build scripts that rely on ajc
silently ignoring duplicates.)