Food for thought: results differ when source compiled in JBuilder and Java

Hi,
I was working with JBuilder and i found that One of the JavaSource files which had a class attribute as final and was assigned somewhere later in a method, was getting compiled by JBuilder (as a member of a project), but the same class file while compiling with javac was giving compilation error.
Also the size of the other class files on which i was working, generated by JBuilder and javac (Both are JDK 1.3) were different. How can there be a difference while compiling.
If anybody can tell the reason.. i will be enlightened.
Regards,
Guru

Your settings in JBuilder for how it compiles is probably set to compile with debugging allowed (command line -g), which will account for the size.
As for your first problem, I can't help you. The only thing I can think of is that either JBuilder actually did not (re)compile that particular file or it's actually using a different compiler (e.g. jikes) that allows that kind of construct.

Similar Messages

  • Accessibility for the visually Impaired - food for thought

    Experts,
    Some food for thought:
    From a technical perspective, all I can imagine of as a solution to deliver accessible applications to visually impaired users of SAP, is an orchestrated screen design and cursor flow with complete keyboard navigability and minimum or zero click sensitivity.
    Have TTS/speech driven navigation or other alternatives been introduced in SAP already? If yes, what are the steps to be performed to harness the same in a typical SAP ERP Installation. Please enlighten me.
    Also, if you think this post is in the wrong forum, please let me know.
    Thanks in advance!
    NW

    Hi,
    Pls check below link.
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/af/94c0417546cd17e10000000a155106/content.htm
    Anil

  • Logic Crashing, food for thought...

    I posted this in another thread, but thought it might be worth posting separately.
    First, keeping in mind that crashes probably happen to Logic users all around the world running different versions on different computers with varying amounts of plugs, 3rd party apps, etc., and that not every Logic user is a member of an online forum... OK, having said that...
    Based on my casual observations reading through this most recent rash of crash complaints, I noticed that many of these posters are running the latest OS, 10.4.9. And I recently had an experience in another studio where, after installing Logic on a 10.4.9 computer that Logic crashed incessently.
    Anyway. So, my food for thought: has anyone found that they're crashing more often since updating to 10.4.9?

    MBP (core duo 1.83) all updates, no problems. Just ran some of the scenarios that others are reporting - it's as stable as ever.
    The only thing I've run across lately is Logic on the MBP not picking up my config from AMS. I have a G4 MDD in my studio, and I'm setting up to be able to switch systems with 1 usb and 1 firewire cable. The midi system is rather complex (40+ ports), and I spent my time working on my laptop.... then found Logic just ignores it. Works fine on the MDD - also running 10.4.9.
    but no crashes on either system... knock on wood.
    MBP 1.83 & MDD 1G DP   Mac OS X (10.4.8)   Logic Pro 7.2.3, Motu 828MkII+828, Firebox LC&XT, Tranzport, Unitor8+(3x)AMT-8's

  • I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries)

    I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries).
    Thank you for your help! - I did try looking for all available specs about Keynote on the Apple iTunes website, and found nothing that could help me. HELP!

    1
    Close all iWork applications
    2
    Uninstall Keynote; this must be done with an application remover tool to delete the installation properly. Appcleaner is known to work correctly for this purpose, it is free and can be downloaded from here: Appcleaner Download
    3
    empty the trash
    4
    shutdown the Mac and restart. After the start up chime, hold down the shift key until the apple logo appears
    let the Mac complete the start up procedure completely, it will take longer than usual as the hard drive is being repaired
    5
    Reinstall Keynote by logging into the Mac App Store using download / install

  • HT1338 PLEASE HELP ME I AM FACING A PROBLEM My name is Ameer. I watch youtube videos from ipad2 ( safari ) today for my first time, when i run a video and i want to pause it, i touch the screen where the video is playing to reach the pause botton that is

    PLEASE HELP ME I AM FACING A PROBLEM
    My name is Ameer.
    I watch youtube videos from ipad2 ( safari )
    today for my first time, when i run a video and i want to pause it, i touch the screen where the video is playing to reach the pause botton that is located on a bar under the video which appears when i touch the screen. Today every time i touch the screen nothing happens and i cannt pause the video nor adjusting its quality.
    So plese help me fixing this problem as soon as posible.
    Regards

    Same problem on my ipad mini, running ios 6.0.2.
    A bit more info:
    -tried using YouTube in Safari on another ipad. Worked fine.
    Tried reboot (sleep + home buttons for 15 seconds). Didn't fix.
    -tried logging out of my YouTube account, thinking the problem was tied to my settings. Didn't fix.
    -tried uninstalling all apps I downloaded since the last time YouTube worked properly. Didn't fix.
    -tried watching a video in desktop mode. Can tap video screen to bring up pause okay in that mode.
    There are work arounds, but the thing I want to know is why YouTube doesn't work in Safari as of a couple of days ago, and is it indicative of another more serious problem with my ipad.

  • [svn] 3780: Fix for bug introduced yesterday when adding clipContent to FxContainer and FxDataContainer .

    Revision: 3780
    Author: [email protected]
    Date: 2008-10-21 10:51:40 -0700 (Tue, 21 Oct 2008)
    Log Message:
    Fix for bug introduced yesterday when adding clipContent to FxContainer and FxDataContainer. The default value needs to be true.
    Also fixing a bug in SystemManager since application isn't always an IRawChildrenContainer anymore. This was previously fixed and got clobbered in a merge.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17423, SDK-17697
    Reviewer: Hans
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17423
    http://bugs.adobe.com/jira/browse/SDK-17697
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as

    The network admin solved the problem:
    “When I recreated the User Profile Service, I did not enable “NetBIOS Name” on the service, so all user accounts did not have the proper domain, which is why none of the targeting worked.
    All users were listed as corp\username instead of rcd\username.”, Network Admin.
    Further information: http://www.windowsclever.com/sharepoint/netbios-name-is-different-domain-name-user-profie-service-sharepoint-2010.html

  • Why won't Apple give out the unlock code for an iPhone 3Gs when the contract was honored and I am still an AT

    Why won't Apple give out the unlock code for an iPhone 3Gs when the 2  year contract was honored and I continued to be an AT&T customer with an iPhone 4. I wanted my old 3gs unlocked so my daughter could use it overseas when she is deployed. AT&T service over there *****, the international plan was not worth it. The individual SIM cards per country are much more reliable and cheaper. Teslestial in Iraq and Afghanistan, Telecom in Croatia,Vodafphone in Germany and Italy.  Why Apple will not unlock these phones for our military to utilize is incomprehensible to me.  These young men and women are fighting for these Apple people to go to work every day, safe, to live lives they have become accustom to yet releasing a phone to use on another network they can't do at least for the military.... WHY APPLE??  WHY?   A good excuse not some of the many lame excuses I have received on the phone many times. AT&T states it is Apple that will not allow them to unlock the phones...  Please tell me why?  All I want Is my daughter to have a phone I trust, to be able to call me when she is given the free time to do so and I trust the apple phone.
    Apple, please reconsider your stance on this issue.  I am having a hard time understanding why you will not unlock the iPhone. 
    A simple code could allow me to talk to my daughter while fighting for our country the Great USA.  Apple should be on the front line and enabling those fighting for our life, liberty and pursuit of happiness to use unlocked phones on reliable local GSM networks.
    I honestly hope that someone who has some sort of authority to begin allowing the release of unlock codes, and not forcing people to unlock their phones with some program produced by some hack just to be able to use your wonderful phone.  That is is in a nutshell, People love the iPhone so much that they want the ability to use it on the most reliable GSM carrier available to them.  That should be a major compliment. Even men and women on the front line want your phone. I agree, my service is not the best where I live either, love the GSM technology so stay with it, but if I had the ability to change to the other GSM network that has much better coverage in this area of the country I would change. To change now I would not have my iPhone and that I will not part with. 
    Apple, please reconsider opening up the lock code and allow your gem of a phone to be used by many more people in many more areas and most importantly overseas fighting for our country.  I know if this is really thought about Apple would understand and come to the conclusion to release the unlock codes, and stop the people from hacking in to use the iPhone on other networks.
    I would love for my daughter to be able to use my iPhone 3gs while fighting for our Free country.
    A response would be appreciated.
    Thank you.
    An Apple customer for 10 years, phones and computers.
    P

    Defiled:
    I did sign a two year contract and completed that contract. The 3gs is no longer in service. My daughter is going overseas to protect you and your family. I was attempting to find a way for her to have a reliable phone that could offer her some connection with home as she travels through the middle east.  She travels in missions all over.
    At&T unlocks other phones of theirs why not the iPhone?  AT&T says that Apple will not give them the code, it is not the carrier.  If I would have known this situation would have come up I would have bought and unlocked 3gs phone"Deggie" .  My main complaint is that Apple has not good excuse as to why they will not allow their phones to be unlocked from services well, AT&T .  I bought the phone full price, completed the contract terms, even went for and iPhone 4 with another2 year contract, along with owning an apple computer... I love the product.  My main issue is give me a good answer as to why you won't allow a phone to be unlocked. It doesn't hurt Apple, People still have to buy the phones from them, and use their App store and iTunes.
    Sorry, just upset about my daughter heading over there, boots on the ground, and just pray she will be safe. Would have liked to facetime her while she is in the airports and in specific areas allowed for that.
    Please don't come down on me for asking this question. I understand all the contracts etc.... but to single out the iPhone specifically to not unlock after contract is over does not seem fair.
    Thank you for your responses.

  • O.T. Food For Thought

    Not something I would have thought any forum members are guilty of,but it does make you wonder how many adults of the future will know what they looked like when they were little :
    'In the U.K., the information security company Symantec commissioned a poll of 2,227 consumers that revealed 89% of them own a digital camera or cameraphone but about one-third of digicam owners don't back up their digital images. Not even with printsa large majority (70%) of digicam owners print 25% or less of their images and fully 30% said that they did not print out ANY hard copies. So, presumably many photographers are depending on their digicam memory cards or their PC's hard drive for storage, but memory cards can get lost or broken and ALL hard drives eventually fail.'

    Malcolm, Hi; I'm one that does not print much. I have a couple of external hard drives and I copy every thing on at least two sources. Most of my digital images and digital video gets put on CD, DVdisk or internet to share.
    Now that I'm getting into PSE I have been thinking about print again. When I do print I use Shutterfly or other on-line services. I have a good printer and a LCD monitor so I have been thinking about getting software to calibrate this monitor or using one of my old CRT monitors, since I have been reading about the difference in what you see on a LCD monitor and your print output. So far The prints I have made at home look good after I nudge up sliders on my printer preferences
    Some of the images I have been editing are looking good and I may not be satisfied with this method or on-line services any longer. Mickey

  • Just Food for Thought

    I think when my contract expires on 01/26/2013 that I will not renew my contract with VZW. I'll still remain with VZW, I'll pay the full-retail price for whatever glitzy device is all the rage. I figure, $800 FRP, without the threat of an ETF is well worth the peace of mind. I still pay the full price for the phone, just not upfront. 

    Verizon Bases the cost of the cell phone off of how much time your contract is, because part of the monthly bill actually goes to reimburse Verizon for the astronomical price of cell phones. Take the HTC Thunderbolt for instance with a 2 year contract they are going for $250 but the Full retail cost of the phone is about $650, if Verizon gets the guarantee from you that you will pay your bill for 2 years then they will sell you the phone at that cost because they will eventually get their money back. That is the whole reason for having contracts in the first place, So that average people can afford nice phones. Even the simplest phone in the line up like the Samsung Haven the full retail cost of that phone is like $175 and that is just a simple flip phone that doesn't Even have a camera. Who would pay that much for a phone? So in a sense you don't save any money by purchasing your phone at full retail because part of your bill will still go toward paying back a cell phone that you don't have a contract on. The only way you would save money is if you bought your phones from eBay or some 3rd party source, and then Verizon offer you an incentive and discount your plan for not purchasing phone through them. Since that isn't happening anytime soon, just sign the contract!

  • Export puzzle--food for thought.

    Hi,
    I used to use FCE 2 on Panther and made a movie and used the export feature to make a DVD. I used "Export to QuickTime Movie" and made the thing self contained.
    After lots of time and upgrades (FCEHD 3.5.1, OS X Leopard, a new hard drive, etc,) I was having trouble with playing those old timelines. The rendered part were red indicating that they needed done even though I hadn't changed anything, so I figured I would render them fresh. I deleted my render files to save some space and just did it again. No problem.
    But now some of my old QT exports won't play, saying they are looking for these old rendered files. Weird, since I thought they could stand alone. Whatever, I'll just export them again, right? Here's the twist: the new exports are way bigger than the old ones. For example, a 90 second clip was 16.6 MB on FCE2, it is now 326.9 MB on FCEHD3.5.1 Does this have something to do with the HD part in the upgrade? Why is this new stuff so big?
    Perhaps I exported the old QT files using something else and compressed it, but I doubt it since the directions clearly state to do that and let iDVD compress it for me. And the info on the files look identical otherwise (codec, dimensions, open with FCE, etc). I'm guessing its just the difference between FCE2 and FCEHD3.5.1 exports. Am I right?
    Thanks,
    Ed

    You're probably right, although I could have sworn I made them self contained. But the signs seem to point to them being referrential. I guess I was wondering if i was possible that the new versions of FCE made things bigger by virtue of being "HD" and such.
    Thanks,

  • Food for thought : Closing I/O streams ....

    hi all,
    my intention is to release all the I/O streams after i have finished their use .to do it i call the .Close()
    method in a finally block .
    my question is : how is calling .Close() on an I/O stream different from, assigning a null to it .
    i.e. :
    objIOStream.Close();// in finally
    objIOStream = null; // in finally
    will the gc behave differently in these two cases ?
    what is the logical diffrence in the two approaches ?
    can i be sure that my streams would be closed/resources freed by using even the second approach ?
    thanks in advance,
    Ravi

    It's not quite the same thing.
    Closing the stream may cause it to set its internal stream to null but that doesn't mean that the outer stream becomes available for garbage collection.
    For example, in the following, outerStream doesn't gets garbage collected although it does get closed. When close is called, the FileInputStream that it wraps is closed and, according to your last post, the reference to it set to null - the FileInputStream should then be eligible for garbage collection. However, my Test class still maintains a reference to the BufferedInputStream thus preventing it from being garbage collected even though it can no longer do anything useful with it.
    public class Test
      private InputStream outerStream;
      public Test() throws Exception
        try
          outerStream = new BufferedInputStream(new FileInputStream("C:/blah.txt"));
        finally
          outerStream.close();
    }Explicitly setting objects to null in order to get them garbage collected is usually unnecessary, however. In the example above outerStream should have been declared locally in the constructor - it will then be eligible for garbage collection when it falls out of scope.
    Hope this helps.

  • Food for thought

    I just checked the reconditioned Macs that Apple is selling on line and noticed most of the reconditioned fairly new Macs are selling with Snow Leopard as the operating system. Lion is only coming on computers with i5 and i7 processors. Hmmmmmmmmmmmmmmmm Very interesting!

    http://store.apple.com/us/browse/home/specialdeals/mac?mco=OTY2ODw
    I typed this because my browser wouldn't copy and paste for some reason. If it doesn't work simply go to the apple store on their web site (NOT the APP STORE, the store link on the apple web site) and look in the left lower column and you'll see a section for reconditioned Macs, iPads, iPhones, etc. I bought a reconditioned Macbook 3 years ago for $300 off new price and it works awesome to this day. In the future when looking for Mac products i'll ALWAYS buy reconditioned if what i want is available.

  • Food for thought: integrating SOAP in WLS6

    Looking at the multitude of questions regarding SOAP and WLS 6, I think
    the time has come to make some kind of HOWTO on integrating SOAP
    (especially apache's rpcrouter) in WLS 6.
    Like many others, I also have a strong need to make my EJB's available
    through SOAP in the very near future. My customers directly call EJB's.
    When they make Java apps, that's fairly straightforward and fast, but I
    also have clients requiring specific languages and runtime environments.
    What would I do when I want to make my EJB's directly available through
    SOAP?
    My guess is to:
    - install rpcrouter as a normal servlet in WLS;
    - write thin wrapper over the EJB's ("Provider Classes" in apache's
    rpcrouter admin);
    - define DeploymentDescriptors for these EJB-wrappers.
    The above is managable, but what about argument and return-type classes?
    These are all home-brewed and fairly complex (extending many classes and
    implemented many interfaces).
    The client at the other side needs class declarations and
    implementations if it is ever to pass one as an argument to a SOAP
    function call.
    In case of a Java client, I might give it these classes at forehand. In
    case of, say, a C-sharp app, this ain't an option.
    Another, even more fundamental problem is that of the interface -
    implementation abstraction: my EJB return-types and arguments are all
    interfaces. So the clients automatically use RMI to obtain an
    implementation at runtime. What about SOAP here? How do SOAP clients
    obtain implementations of these classes?
    Is there anyone (that includes you BEA) who can tell me more on this and
    even get me a working SOAP interface for my EJB's?
    Thanks in advance,
    Erik van Zijst

    I've seen that page. But it doesn't go deeper than the examples from
    apache and MS which I already ran.
    I can easily send strings and primitive datatypes to and from different
    languages. My trouble is with complex classes.
    Consider it the other way round: you are writing a Java app that needs
    to do rpc with a C# application. The return types of the remote methods
    are all complex classes. So you'll have to create stubs for them I
    guess. How do you do that?
    Erik
    Jane wrote:
    Check out the Developer Center...
    http://developer.bea.com/circuit/xml.html
    Jane
    Erik van Zijst <[email protected]> wrote:
    Looking at the multitude of questions regarding SOAP and WLS 6, I think
    the time has come to make some kind of HOWTO on integrating SOAP
    (especially apache's rpcrouter) in WLS 6.
    Like many others, I also have a strong need to make my EJB's available
    through SOAP in the very near future. My customers directly call EJB's.
    When they make Java apps, that's fairly straightforward and fast, but I
    also have clients requiring specific languages and runtime environments.
    What would I do when I want to make my EJB's directly available through
    SOAP?
    My guess is to:
    - install rpcrouter as a normal servlet in WLS;
    - write thin wrapper over the EJB's ("Provider Classes" in apache's
    rpcrouter admin);
    - define DeploymentDescriptors for these EJB-wrappers.
    The above is managable, but what about argument and return-type classes?
    These are all home-brewed and fairly complex (extending many classes and
    implemented many interfaces).
    The client at the other side needs class declarations and
    implementations if it is ever to pass one as an argument to a SOAP
    function call.
    In case of a Java client, I might give it these classes at forehand. In
    case of, say, a C-sharp app, this ain't an option.
    Another, even more fundamental problem is that of the interface -
    implementation abstraction: my EJB return-types and arguments are all
    interfaces. So the clients automatically use RMI to obtain an
    implementation at runtime. What about SOAP here? How do SOAP clients
    obtain implementations of these classes?
    Is there anyone (that includes you BEA) who can tell me more on this and
    even get me a working SOAP interface for my EJB's?
    Thanks in advance,
    Erik van Zijst

  • Why does the youtube results differ when entered via apple tv.

    I want to watch a youtube video via my apple tv but the device cant find the video I want. But when i use the exact same keyword via my mac it finds the video im looking for. This is really frustrating can anyone please help.

    Actually it's nothing to do with Apple. The Apple TV requires that video is in H264 format, the main YouTube website uses other types of video, therefore YouTube transmits an H264 only version. Clearly they do not give as much priority to that site and sometimes don't include all the videos on their main site or take longer to add them.

  • A confusing piece of code, may be food for thought.

    Looking at the following code it seems very obvious to me that the output should be 1010 but it turns out to be 2020. Could anybody explain the reason behind it?
    public class TestClass
      public static void main(String args[ ] )
        TestClass tt = new TestClass();
        tt.ww();
      public void ww()
        Base b = new Base();
        Base b2 = new Base();
        b.iAge = 10;
        b2.iAge = 20;
        System.out.print(b.iAge);
        Integer iw = new Integer(b.iAge);
        col(iw);
      public static void col(Object o)
        Integer iw = (Integer) o;
        System.out.print(iw.intValue());
    class Base
      public static int iAge;
    }

    Considering that the iAge member is 'static' (only one copy no matter how many instances of the object), and that you last set it to 20 before you output anything, what's to wonder about?

Maybe you are looking for

  • Microsoft Office Professional Plus 2010 VBA error

    This question has been asked many times and I have yet to find an answer that actually works.  I am running Windows 7 Professional with Microsoft Office Professional Plus 2010.  It has been working perfectly until now.  When I start Word I get the er

  • Webutil - Word Document

    I am having a template with Book Marks and Word tables that I have to filll using web util. We have managed to fill out the data pertaining to the Book Marks but are stuck to push data in the the word tables. Currently the Word table doesnt have any

  • Problems in Internet explorer

    Hi guys. I got a problem. I published my site and for the mostpart it looks fine on my mac. But when I go to my pc and check my page on Internet explorer....all the textboxes and pictures and basically everything on the site has these outlines over t

  • Transparent graphics in reports

    Hello, Im embedding graphics (OGD files from graphics builder) into reports (RPT files) to view it from the web. In design time I can set the graphic transparent but when I publish it to the web the gif becomes opaque. Is there any issue about how to

  • Runtime Error on call CBIH_IA02_LIST_DISPLAY

    Hello Experts! Can you please give me an example how to call this FM -> CBIH_IA02_LIST_DISPLAY ? I get the message: In the function module interface, you can specify only fields of a specific type and length under "X_IOTAB". Although the currently sp