<AWT Dev> RFR: JDK-8165232 XKeycodeToKeysym is deprecated and should be replaced with XkbKeycodeToKeysym

Alan Burlison Alan.Burlison at oracle.com
Fri Sep 9 22:41:55 UTC 2016

On 06/09/2016 21:42, Phil Race wrote:

> These are all internal-only entry points So if that exists (I did not
> know that it did) then I think you have a few options but the most
> forward looking is to get rid of all references to the deprecated
> methods and migrate all uses (inc. Java land ones) to the new code.
> The declaration in XlibWrapper.java would need to be deleted. And BTW
> if that is done then javac will helpfully find all the places that
> you need to fix .. assuming no use of reflection.

I have a first-pass attempt which passes JPRT but I'm not convinced it 
is going to be robust. I've updated 
https://bugs.openjdk.java.net/browse/JDK-8165232 with the details and 
with a suggested alternate approach, I'd appreciate any comments you have.


Alan Burlison

More information about the awt-dev mailing list