Review request: update javac to properly output mandated parameters in MethodParameters attributes (original) (raw)
Alex Buckley alex.buckley at oracle.com
Thu Feb 7 14:08:25 PST 2013
- Previous message: Review request: update javac to properly output mandated parameters in MethodParameters attributes
- Next message: Review request: update javac to properly output mandated parameters in MethodParameters attributes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2/7/2013 12:51 PM, maurizio cimadamore wrote:
Another case - private constructors:
class Outer { class Inner { private Inner() { } } Inner i = new Inner(); } javac will append to the Inner's constructor an extra argument called 'accessTag' - which is essentially a type token.
This parameter certainly seems to be neither explicitly declared nor implicitly declared, so javac should mark it ACC_SYNTHETIC. A javac-specific document should enumerate the growing list of constructs which are marked like that.
Alex
- Previous message: Review request: update javac to properly output mandated parameters in MethodParameters attributes
- Next message: Review request: update javac to properly output mandated parameters in MethodParameters attributes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]