RFR: 8027536: rmic: add deprecation warning message

Stuart Marks stuart.marks at oracle.com
Thu Dec 12 17:27:32 UTC 2013

Per Mandy's comment, there's a call to error() but it really just issues a 
warning and proceeds the processing. I'll change it to output(getText()).

But it really should be just a warning. This functionality is deprecated, so for 
JDK 8 there are disclaimers in docs and warnings issued by tools like javac and 
now rmic, but using the deprecated features will still work. (For the time 
being, heh heh heh.)


On 12/11/13 3:39 PM, Darryl Mocek wrote:
> Should this be a warning or error?
> Darryl
> On 12/11/2013 01:53 PM, Stuart Marks wrote:
>> Hi all,
>> Just one more deprecation task for JDK 8....
>> Please review the following change to rmic to add a warning message that's
>> emitted when static stubs are generated:
>> http://cr.openjdk.java.net/~smarks/reviews/8027536/webrev.0/
>> https://bugs.openjdk.java.net/browse/JDK-8027536
>> Thanks,
>> s'marks

More information about the core-libs-dev mailing list