Summary: | RuntimeException when trying to compile broken code | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Andrew Eisenberg <andrew.eisenberg> | ||||
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | aclement | ||||
Version: | 1.7.0 | ||||||
Target Milestone: | 1.7.1 | ||||||
Hardware: | PC | ||||||
OS: | Mac OS X | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Andrew Eisenberg
2012-08-21 13:30:11 EDT
Created attachment 220114 [details]
Simplified project that reproduces the error
Thanks for the sample project. I was able to reproduce the error. I simplified it and I'm attaching the simplified project.
It looks like the problem is that BasicFilter.getLogMessage() is referenced inside of an advice, but getLogMessage is protected. If I change from protected to public, the error goes away.
To reproduce, import the attached project into your workspace and do a full build.
Urrrgh...wrong bug report. Previous comment should be applied to Bug 386049. not quite sure what the broken code was but I've modified somewhere on that stack trace to avoid it going down into the code that throws an exception in what I think are the problem circumstances. Don't plan on doing more than that right now. |