Re: [OpenJDK 2D-Dev] Fwd: Re: JDK 9 pre-review of JDK-6850612: Deprecate Class.newInstance since it violates the checked exception language contract

2016-04-27 Thread Philip Race
Rather than adding all these annotations I would prefer that you do what Stuart did with the boxed primitive constructor deprecation where he disabled the deprecation checking on the desktop module until we can clean it up. That one was done within about a week and should be in dev in a few days .

[OpenJDK 2D-Dev] Fwd: Re: JDK 9 pre-review of JDK-6850612: Deprecate Class.newInstance since it violates the checked exception language contract

2016-04-26 Thread joe darcy
Phil and other client reviewers, Please review this change from core libs which impacts client libs implementations. In brief, deprecating a method in core reflection requires uses of that method to have a @SuppressWarnings("deprecation") annotation. The typical way to minimize the scope of th