Process to add some default methods to javax.naming.Context?
Laird Nelson
ljnelson at gmail.com
Thu Oct 13 17:14:48 UTC 2016
Hello; I am new to this mailing list and its conventions; if I misstep I am
happy to be pointed in the right direction. I was directed here by Mark
Reinhold.
Disclaimer in case it matters: I work for Oracle.
I have long wanted there to be methods in javax.naming.Context like the
following:
// typed from memory off the cuff
default <T> T lookup(final String name, final Class<T> type) {
return type.cast(this.lookup(name));
}
// do similar things for other lookup* methods here
What would be the steps I would next need to take to help with this?
Thanks in advance for help, time and guidance,
Best,
Laird
--
http://about.me/lairdnelson
More information about the core-libs-dev
mailing list