Re: dependency-detection in java - 3rd Take
- From: "Mike Schilling" <mscottschilling@xxxxxxxxxxx>
- Date: Tue, 04 Sep 2007 19:16:17 GMT
"Andreas Leitgeb" <avl@xxxxxxxx> wrote in message
news:slrnfdqi5j.53q.avl@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
B. How to generate the dependency information. I presume it can be
calculated from .class file analysis
No, not possible (unless javac was modified), because usage of static
finals is not explicitly "mentioned" in the .class file.
I didn't quite believe this, so I created an example, got out my handy class
file analyzer and found that you're completely correct. Even compiling with
debugging information, there is no information put in the class file about
which constants were referenced, or even which classes constants were
referenced from.
Making builds reliable without resorting to always
doing full rebuilds might safe some costs.
As someone who was in the software tools business for years, I feel
confident in predicting that you wouldn't find enough people that would pay
for it to recover your development costs.
.
- Follow-Ups:
- Class file parsers
- From: Andreas Leitgeb
- Class file parsers
- References:
- Re: dependency-detection in java - Take 2
- From: Michael Jung
- Re: dependency-detection in java - Take 2
- From: Andreas Leitgeb
- Re: dependency-detection in java - Take 2
- From: Mike Schilling
- dependency-detection in java - 3rd Take
- From: Andreas Leitgeb
- Re: dependency-detection in java - Take 2
- Prev by Date: Re: Methods which return 'abstract'
- Next by Date: Re: UML
- Previous by thread: dependency-detection in java - 3rd Take
- Next by thread: Class file parsers
- Index(es):