Supporting multiple versions without separate builds in JavaME
Posted
by Casebash
on Stack Overflow
See other posts from Stack Overflow
or by Casebash
Published on 2010-03-12T03:57:24Z
Indexed on
2010/03/15
0:59 UTC
Read the original article
Hit count: 395
java-me
|multiple-versions
I want to be able to support multiple versions of Java ME without having to have multiple builds. I already know how to detect the profile/configuration/supported JSRs. My problem is that knowing whether the JSR is supported at run time doesn't allow me to use all the features. For if I call a function added in a later version anywhere in the code - even a location that will never be run, then this will be a compilation error due to static typing. Is there any way round this?
© Stack Overflow or respective owner