How detect method calls that are not already in 1.4

My program is compiled with JDK 1.5 or 1.6 and retroweaved to 1.4.
If I do not take care I may type
int i=65;
Character.isDigit(i);
instead of
Character.isDigit(char)i);
Without casting to char it uses a method that exists only since 1.5 but not
yet in 1.4.
There are a few other methods that had been added since 1.5
Their use leads to NoSuchMethodError on 1.4 clients.
Their usage must be avoided.
How can I recognize them at compile time?
Or has anybody written a tool to check all method calls
whether they already exist in 1.4 ?
If not I would write it myself and probably will use the javap output.
After reading through the docs of java.lang.reflect.Method I guess that
there is no flag telling when a method had been introduced.

there was some discussion on that here:
http://forum.java.sun.com/thread.jspa?threadID=586602
If you use ant, you could also try and configure the src and target properties of javac task:
http://ant.apache.org/manual/CoreTasks/javac.html
Alper

Similar Messages

  • Blocking incoming calls that are not in my phone b...

    i recently tried blocking incoming calls that are not in my phone book and the result was that my pin code has been blocked. does any one have an idea of how i should go about it?
    Obria

    That depends which phone he/she is using... this is in the phones section, not the smartphones, so I had assumed that software such as that would not be appropriate lol
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • What is font book used for? I read the description but still unsure. Does it contain fonts that are not already on the computer

    What can I use font book for? I read the description but still don't get it. Does it contain fonts that are not already installed on my new Mac? Thanks.

    Disabling (turning off) a font will make it unavailable for use in any font menu. You can alwasy enable the font(s) again - they're not gone permanantly. DON'T disable System fonts, though -> that's just asking for trouble.
    Here's -> https://www.youtube.com/watch?v=JdR6-4lnF5A - a good video tutorial about using Font Book.
    Clinton

  • How to buy apps that are not availble in my region?

    How to buy apps that are not availble in my region?

    No.
    you can ONLY use the itunes store of your country of residence (proven by the issuing country of your credit card and the valid billing address of that card) and ONLY while you are physically located inside the borders of that country.

  • How to view songs that are not in any playlist

    I am using iTunes 6.04.
    I want to be able to view songs in my Library that are not associated with ANY playlist. How can this be done? Please don't suggest to me upgrading to iTunes 7.02. (with every iTunes update, Apple makes is more difficult to do the things Apple doesn't want you to be able to do).
    Thanks
    Ben

    Please be patient. If you don't get a reply within a few hours, obviously nobody passed by who knew the answer to your question.
    After all we're just fellow users trying to help as these are user-to-user forums.
    I have an answer.
    Run one of these scripts:
    Not In Any Playlist will create a text listing of songs that are not in any playlist.
    Not In Any Playlist To Playlist will put songs that are not in any playlist into a new playlist.
    Hope this helps.
    M
    17' iMac 800 MHz, 768 MB RAM, 200 GB HD, DL burner   Mac OS X (10.4.8)   iTunes 7.0.2

  • How to list files that are NOT in a .jar file?

    Is it possible to list files (resources, .gif/.jpg files, etc.) that are NOT included in the jar but are still to be considered part of the application somewhere in the jnlp-file?
    My applications requires lots of icons which I have put into .gif files. So far I kept them in individual files next to the .jar file and that worked fine.
    JWS now seems to support only stuff that is included in (a) .jar-file(s). That in itself woul not be much of a problem, however, when I include my .gif files into the .jar files they seem to get corrupted by the jar-signing process (at least that what's the code says, which can suddenly not handle these images any more).

    My previous seem to have been non-sense. The .gif file were not corrupted, but rather they were not found at all. They actually must NOT be included in the .jar file, or else they are not found. Strange enough, the .properties-file seemingly HAS to be in the .jar file to be found.
    This is something I'll probably never fully understand with java: which file-types it searches where...

  • Facetime phantom calls and calls that are not from who they say they are

    My wife has an iPhone 4 and twice in the last week Facetime calls that say they are coming from her mother have been originated by someone other than her mother. The second time this happened the stranger made an obscene gesture. Since Apple is routing the call over the Internet, and since the iPhone is obviously phoning home, it should be easy for Apple to know the source and destination but when my wife called the Apple tech seemed to just want to read a script instead of investigate this potentially serious breach of security. In addition to these two incidents there have been numerous others where her displays says her mother is calling via Facetime but yet her mother is not calling. Seeing as my wife Facetimes with her mother, with my children getting on the phone as well, I find this possible issue is worth more than a reset your settings on the phone reply. Has anybody else heard of or seen issues like this?

    This is wild, this just happened to us.
    My husband and I both have iPhone 4's. I left my iPhone on my bed in a room by itself while my husband and I were downstairs in the Family Room together.
    His phone starts ringing and it's a FaceTime from me, but I'm in front of him and my phone is upstairs.
    Ok, so of course if this is simply an breach of our phone protocol - that concerns me of course. But to be honest, I'm relieved to know there's a reasonable explanation - because otherwise we would have to call 911 to do a more thorough search for intruders in our house.
    But seriously, what's going on here. My husband and I want to disable Facetime altogether. Why have it if it won't work securely?

  • How do you download that are not on app world?

    I have a curve 9300 and I want to download something that is not on app world   It takes ages to find it when i hav e used it while out so i want to be able to click on it stright away

    So, you are using now a web page for this (that is a guess, based on your statement of using a bookmark)? And you instead want an actual app for it? If so, you have to find out if the website you are using even has an app...if their web page has any contact information, you'd have to contact them to see if they even have what you desire.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to identify SQL_PROFILES that are not being used?

    In dba_hist_sqlstat table were found 26 Sql_Profiles, some of them are not used.
    Questions:
    - Is there any way to identify which one are not used?
    I tried verifying DBA_SQL_PROFILES but this does not help to much.
    - Analyzing one by one, Is the only way to find why they are not used?
    Thanks,
    Deyanira

    Hello;
    You should be able to Join the views DBA_USERS and DBA_PROFILES to see whats in use. ( or not in use )
    select distinct
      profile
    from
      dba_profiles
    where
      profile not in ( select profile from dba_users )  On the second question I would ask the DBA.
    Best Regards
    mseberg
    Dan is correct. I have misread the question. Sorry about that.
    Edited by: mseberg on Jun 28, 2012 3:06 PM

  • Duplicate Detection Shows Clips That Are Not Dupes !

    Let me admit at the outset that this is not a serious problem, just a curiosity.
    I experimented with the "Show Duplicate Frames" command on a project and had loads of coloured lines appear denoting duplicates.
    The only trouble is that there is not a single duplicate frame used in that project !
    I then created another "test" project by importing a clip and breaking it down into subclips. I dragged them all from the browser to the timeline and then dragged another one that was obviously a duplicate.
    It worked perfectly and the 2 dupes showed up in red.
    So why has the original project got numerous false dupes? Incidentally this "problem" project was captured as 3 clips (from the same tape) which were then split into subclips.
    Any ideas what is going on?

    For detecting dupes, FCP looks at 2 things: the time code and reel number. If you have not changed the reel number from the default 001, and all your tapes start at 00:00:00:00, then you will have several clips with identical time code and reel numbers, which FCP will then assume are the same clips, just digitised at a different time. Not changing the reel number is a _bad habit_ because, if you ever lose your media and have to redigitise, you will be up the proverbial creek, not knowing what reel to put in when the system asks you for "Reel 001". Label your tapes and log your reel numbers!!!
    j0n

  • Is there a way to only view photos that are not already in an album?

    Not much more to say than, what is in the subject.
    I have gotten behind on organizing my photos in to albums, and I would love a method to view ONLY the pictures that have yet to be added to album. Especially useful would be if that un-albumed picture would then disappear from that view, i.e. where I could have a pile of pics that would diminish to zero once I had filed them all properly.
    Any tips?

    Create a smart album with the criteria "Album is not any"
    LN

  • I am getting many days Called US holidays that are not US holidays and ones I do not celebrate.  How can I manage this list of days

    I am getting many days showing up in the US holiday Ca;endar that are not US holidays and days that I do not celebrate.  How can I manage this list

    You could also go through your messages app and see if you have videos or photos in there. Delete unwanted emails and empty the trash in each account. If you are trying to update over wifi try doing it by plugging into iTunes.
    If you need more space for an iOS update - Apple Support

  • I created my iTunes account when I was living in Venezuela, but have relocated to the US now.  How do I change my apple store to allow me to download apps that are not available in the store available to Venezuela?

    I created my iTunes account when I was living in Venezuela, but have relocated to the US now.  How do I change my apple store to allow me to download apps that are not available in the store available to Venezuela?
    Sorry for the long 'subject'!  hahaha  I am new to the community.  This should be fun!

    No, What I mean  is, Now I am leaving in USA but every time that I tried to download an app only appear app available in Venezuela no the one available in USA. 
    I already change my address and select USA but still I can not download app for USA

  • How can I find photos that are not in any event?

    Help!  I have finally, after a decade or so, organized my events and emptied out the trash and gotten rid of duplicates. Round of applause, please.  How can I find out if there are sneaky pictures that are NOT in any particular event (please dont say by showing all photos and just going through each one!)

    You can't because every photo is in an Event already. That's how iPhoto works. Every photo is in the LIbrary. The Library is built upon events. SO if it's in iPhoto, it's in the Library and in an Event.
    Albums are different, as they refernce photos in the LIbrary. It;s perfectly possilbe to have a photo in the Library but not in an album.

  • How to get rid of pix in my iphoto library that are not imported?

    I needed to clear the memory card of my husband's camera recently, and didn't have the canon software installed on my computer. So I tried using iphoto, but it crashed because the movies are high resolution and I guess iPhoto couldn't handle it. I managed to get them transferred another way, but now every time I launch iPhoto I get a message telling me that there are images in my iPhoto library that are not imported, and asking if I want to import them. If I try to import them, iPhoto crashes again. If I say "cancel" I get the same message again next time. I tried going into the finder to get rid of them but don't know where they are. No matter what I try to throw away, I still get the same message. How to get rid of those photos?

    and didn't have the canon software installed on my computer.
    You could also have used Image Capture in your Applications Folder.
    but it crashed because the movies are high resolution and I guess iPhoto couldn't handle it.
    iPhoto managed high resolution just fine. Perhaps you don't have the correct codec.
    To solve you more immediate problem: go to your Pictures Folder and there you'll see your iPhoto Library Folder. Open it and inside you'll see a folder called 'Importing' or something close to that. Drag it to the desktop. Restart iPhoto. Does that help?
    Regards
    TD

Maybe you are looking for

  • Need a way to track the Demand/Supply in MRP

    Hi We have this scenario: Business is using a third party system to book the Orders which are practically the Forecast in Oracle. These orders are linked to a unique tracking number in the third party system (similar to Project /Task in Oracle). We a

  • A white line in the bottom of Safari when in full screen mode

    I'm running 10.9.2 but I've had this issue since I got my MacBook Pro (2012 retina display), When I launch Safari it isnt there, but when I switch tabs or open the tabs card-like viewer thing it appears and it's really annoying and I have to get out

  • Keyword sort option...

    It would be VERY helpful if you could have the option of having the keywords in the metadata sorted alphabetically along with an option that they are left alone in the order that you pick them (or manually add and edit them) and not be sorted.  I am

  • Internet cuts out opening new tab

    Hi every time I open a new tab in Firefox the internet cuts out for a minute or so, any ideas why?

  • Installing OBIEE11g

    Hi All, I am new to OBIEE, i am trying to learn OBIEE. So far the only thing i have is a "Oracle Business Intelligence 11g, Developers Guide" book by Rittman. I want to install OBIEE (dont know which and from where?) on my personal computer. Please k