internal API usage: sun.awt.CausedFocusEvent

Alan Snyder javalists at cbfiddle.com
Wed May 13 17:51:50 UTC 2015


I will do that, but a larger question remains:

Are any of the AWT classes currently reported by jdeps as “JDK internal API” going to be accessible in JDK 9?

I ask because of this comment by Stuart Marks:

Unfortunately, com.sun is a mixture of internal and publicly supported ("exported") APIs. An annotation @jdk.Exported distinguishes the latter from internal APIs.

Who decides which APIs get this annotation? Are these annotations in place now?

  Alan
 


> On May 13, 2015, at 10:12 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> On 13/05/2015 17:11, Alan Snyder wrote:
>> I have been using sun.awt.CausedFocusEvent to implement special behavior in response to an explicit user-initiated focus traversal to a component. The main point is that I want to inhibit this behavior for all other kinds of focus gained events.
>> 
>> Will there be some way of doing this in JDK9?
>> 
> I don't know but maybe you could bring this up on the awt-dev list to see if there a way to do what you want with the standard API.
> 
> -Alan.



More information about the jigsaw-dev mailing list