RFR: [8218152] javac fails and exits with no error if a bad annotation processor is on the classpath

Steve Groeger GROEGES at uk.ibm.com
Thu Mar 7 09:56:26 UTC 2019


Hi Jan, 

Thanks for providing a possible test for the malformed Annotation 
Processor.
I have taken the code you provided and tweaked it a bit (for jdk) and had 
to 
write a similar thing for jdk8u as some of the functionality in the test 
is not 
available in the same form in jdk8u (well, not that I could find!!!)

I would be grateful if you could review to code in the new webrevs.

http://cr.openjdk.java.net/~sgroeger/8218152/jdk/webrev.02/
http://cr.openjdk.java.net/~sgroeger/8218152/jdk8u/webrev.02/

Any issues pelase let me know.

PS. I left the FatalErorr in JavacProcessingEnvironment.java as we
wanted Jon to comment on whether this is what is required or whether
we go with your previous suggestion.

Thanks
Steve Groeger
IBM Runtime Technologies
Hursley, Winchester
Tel: (44) 1962 816911  Mobex: 279990  Mobile: 07718 517 129
Fax (44) 1962 816800
Lotus Notes: Steve Groeger/UK/IBM
Internet: groeges at uk.ibm.com

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20190307/d4571b8a/attachment.html>


More information about the compiler-dev mailing list