Help needed to figure out a strange thing

I am running GJ and Java 1.4 on window 2k and I have been spending hours trying to figure out what's wrong with the following codes. Any help would be greatly appreciated. The code is simplified (doesn't use any util class at all), but it still throws runtime exception:
C:\test>java D
Exception in thread "main" java.lang.AbstractMethodError: E.test()LE;
at C.test(C.java:1)
at D.main(D.java:17)
The strange thing is that, when I change the name of class E to B, it runs fine. It seems that classes B and C have to be ordered. For example, using name C1 and C2 will be fine, but using C2 and C1 throws exception. It's getting late and I am tired.
public interface A {
public A test();
public abstract class E implements A {
public abstract E test();
public abstract class C extends E {
public C() {}
// the main class
import java.io.*;
public class D extends C {
public D() {
super();
public D test() {
System.out.println("D called");
return new D();
public static void main(String[] agrs) {
A obj = new D();
obj.test();

Its a bug. The compiler neglected to generate a required bridge method.
I have reported 4821489 for this problem.

Similar Messages

  • Help needed to figure out URL and username for the LDAP server

    Given that LDAP directory parameters as follows, how can i identify the exact parameters to be used in my LDAP service access Java code. Im using JNDI to access a LDAP server given by an Ip address (say, 10.1.1.20) and the port number (say, 389)
    Given: -D "cn=mycn,ou=mystaff,o=myorg,dc=test,dc=my,dc=org" -w secret
    Heres my sample Java code
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "<URL>");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "<PRINCIPAL>");
    env.put(Context.SECURITY_CREDENTIALS, "secret");
    ctx = new InitialDirContext(env);
    SearchControls controls = new SearchControls();
    controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
    results = ctx.search("ou=mystaff,o=myorg", null);Could any one please help me to recognize what will be the values to be comes to URL, and PRINCIPAL , so that i can search all the objects inside "ou"
    Note: Actually i tried several times, bt i was getting "Invalid Credentials" exception.. i doubt that is because the URL or the user name i gave was not syntactically correct. Thats y i need to verify with you all.
    Thanks in advance
    Saj

    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "<URL>");env.put(Context.PROVIDER_URL, "ldap://10.1.1.20:389");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "<PRINCIPAL>");env.put(Context.SECURITY_PRINCIPAL, "cn=mycn,ou=mystaff,o=myorg,dc=test,dc=my,dc=org");
    env.put(Context.SECURITY_CREDENTIALS, "secret");
    ctx = new InitialDirContext(env);
    SearchControls controls = new SearchControls();
    controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
    results = ctx.search("ou=mystaff,o=myorg", null);

  • HT5622 I need help trying to figure out why I'm not able to purchase anythi iTunes. I changed my password, that didn't help. I changed my payment type, that didn't help. It initially started when my password got disabled. Any advice?

    I need help trying to figure out why I'm not able to purchase anything on iTunes. I changed my password, that didn't help. I changed my payment type, that didn't help. It initially started when my password got disabled. Any advice?

    I need help trying to figure out why I'm not able to purchase anything on iTunes. I changed my password, that didn't help. I changed my payment type, that didn't help. It initially started when my password got disabled. Any advice?

  • I just bought a new mac mini and an external DVD burner. I want to burn a DVD video and it will not play on the TV but only on the computer? Need this figured out for tomorrow.

    I just bought a new mac mini and an external DVD burner. I want to burn a DVD video and it will not play on the TV but only on the computer? Need this figured out for tomorrow. Can anyone help me?

    Congratulations on the new Mini. Are you saying you tried burning and it does not play, or do you want to burn it only for the computer to be able to play it?
    OS X Mountain Lion: Burn a CD or DVD may help.

  • HT201365 Hello, someone stole my sons IPhone today in his gym class. I have the find my iphone app on my phone BUT he is not a listed device. I went into his itunes account and downloaded the app under his account. Now I just need to figure out how to use

    Hello, someone stole my sons IPhone today in his gym class. I have the "find my iphone app" on my phone BUT he is not a listed device. I went into his itunes account and downloaded the "find my iphone app" app under his account. When I try to log into "find my iphone" under his name on my device I get an error msg involving icloud......he is MUCH better at this stuff then I am BUT he is in school and now I  need to figure out how to use the "find my iphone app". PLEASE HELP

    It doesn't matter whick account you use to download the app.
    You have to sign into the app (or iCloud.com from a web browser on your computer) with his Apple ID & password.
    Find My iPhone will only work if it was enabled in the iCloud settings on the device and it was powered on with a connection to the internet

  • I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this?

    I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this? I have found GearGrip's LCD harness so that I can do carry-on onto the plane...  Or maybe use a Pelican Case to do it as a "checked bag"? Or any other suggestions??! Please help!
    Thanks so much!!

    I don't recommend you send the iMac in a checked bag. Might get damaged.
    Check the airlines website for carry on guidelines.
    Or, if you have the original box that the iMac came in, if you have someone who can pick up the iMac for you, send it ahead Fed Ex and insure the package.
    Just make sure the display is covered to protect it. A blanket perhaps.
    Aloha ...

  • I need to find a new email provider.  One that integrates well with my 'mail.'  I will also need to figure out how to notify everyone in my 'address book' of my change. I've been okay with earthlink but it's getting too expensive. Please advise.  Jack

    I need to find a new email provider.  One that integrates well with apple's 'mail.'  I will also need to figure out how to notify everyone in my 'address book' of my change. I've been okay with earthlink but it's getting too expensive. Can anyone help?  Jack

    I use a OLD G3 when I travel and mostly I am connecting over the satellites which is not really the best connection.
    I use GMX which is free and never have a problem getting my emails from anywhere even in the middle of the oceans.
    It does work using Apple mail and the adress book

  • Need to figure out how to remove an unknown admin password on a mac.  used the install disc with not luck. tried some commands in single user mode, no luck.

    need to figure out how to remove an unknown admin password on a mac.
    used the install disc with not luck. tried some commands in single user mode, no luck.

    need to figure out how to remove an unknown admin password on a mac.
    used the install disc with not luck. tried some commands in single user mode, no luck.

  • Please help me to figure out how to do this

    I was out of touch of java for few months. Please help me to figure out how can i do this, please.
    The university updates student computer accounts at the beginning of semester 1 each year. The set of account ids from last year called oldAccounts is available in a txt file.
    Account ids of students wishing to have a computer account this academic year are collected and held in a txt file called currAccounts.
    Write a Java program to input both of these files into TreeSet collections and generate the following sets;
    Usernames of students who have graduated or left are generated in a file called gradAccounts. Usernames of new students are also generated and held in the file newAccounts.
    All information should be output with appropriate labels.
         Use arrays instead of the ADT TreeSet to produce a Java program for the student computer account problem.

    {color:#000080}Wrong forum, mate. And your subsequent posting in Java Programming was only a slightly better choice.
    Or do you consider yourself too experienced to post in New to Java?
    db{color}

  • Need help- trying to figure out if Spotify would work for my senior living community

    We are a senior community that has activity programs running in like 7-10 areas in the building.  Music is a big part of our day.  CD's for all these areas is getting crazy.  There has got to be a better way.  We want to be able to pick music genre, a song even to hear and have playlists.  What we have currently:  We have some laptops and desktop computer using windows.  We also have a few MP3 players, boomboxes and IPODS.  We also have Wifi.  But sometimes of course we have Wifi issues.  We have access to usually a laptop or boombox.  We could use the MP3 players/ipods.    I like the idea of playlists that we share, pulling music that is alike.  These are my quesitons or issues below: Things are my questions:1.   Can we have 1 account be made for different appliances and be on spotify at the same time?  Premium said 3 but you can't be both logged in under each account.  Is this still true?  Postings were old. 2.  With even the Spotify family can you be on to the account at the same time?  3.  What would be our best solution for this for accounts- would we have to set up different account for each device if we want to play at the same time?  Any ideas - I just really need suggestions4.  If we did our laptops, we would need speakers?  Also for boomboxes- is this possible?  I am assuming using like an MP3 player or IPOD.  Spotify work through them?  Is it certain type of MP3 players and IPODS.  I believe a few of ours are older ones. 5.  If we have tons of accounts, can I start all accounts on same computer?    Would I set them up by each device we have?6.  Can you run ipod/mp3 through large TV speakers?  or laptop music through big screen tv speakers?7. For the music itself, can you pick what exact songs in playlist?  Can you make lots of playlist per account?  I saw 3,300 songs but can you name the playlist and stay forever?  Sorry for all the questions.  I am trying to figure out if this is even possible or worth doing.  If we have seperate accounts - how much monthly is that?  Is there a deal for that many devices?  Thanks  

    Spotify has 2 different account types. You can see the difference between the two at the bottom of the homepage: http://spotify.com
    1: Each Spotify account can only play on one device at a time. You can have the account logged into as many devices as you want, but you can only play on one device at a time.
    2: With Spotify family, there are several Spotify accounts under one plan. Each account is able to play on one device at a time.
    Check out the family help guide here:
    https://support.spotify.com/learn-more/guides/#!/article/spotify-family
    Also check out this thread for information:
    https://community.spotify.com/t5/Help-Accounts-and-Subscriptions/Spotify-Family-Q-amp-A/td-p/988520
    3: Yes, as stated above
    4: You wouldn't necessarily have to have speakers hooked up to the laptop. If the laptop has speakers or you input headphones, that should work. Spotify doesn't work with MP3 players/iPods. To use Spotify you have to have the Spotify app.
    You can find a list of compatible devices here:
    https://support.spotify.com/learn-more/guides/#!/article/spotify-system-requirements
    7: Yes you can search Spotify and add any song you want to a playlist. And you can also make lots of playlists. Each playlist has a limit of 10,000 songs. The 3,333 limit you saw is for the offline limit on premium accounts. Up to 3,333 songs can be downloaded for offline listening.
    Hopefully this information helps. The family plan can have up to 5 accounts. It might end up being too expensive for what you need. The free plan has ads, but it still might be worth looking into.
     

  • Please HELP! NEEd to figure out if my computer can install cs6

    I'm trying to figure out if it is my computer or the software i bought. I have a Macbook pro mid-2009 with the
    Hitachi HTS545050B9SA02 Media. I dont understand what rpm i have...???? It needs to be 7200 for adobe  cs6 production premium. Ive tried to download the sofware and it fails.. I'm tearfully trying to understand if it is my computer that cannot dowload the software or is it the software that is faulty. PLEASE HELP THIS COMPUTER ILLITERATE FOOL.

    cfoot wrote:
    I have a Macbook pro mid-2009
    Hitachi HTS545050B9SA02 Media.
    I dont understand what rpm i have...????
    Revolutions Per Minute (RPM) of that model of hard drive is 5,400, not 7,200.
    HITACHI TRAVELSTAR 5K500.B HTS545050B9SA02 500GB 5400RPM 8MB CACHE 9.5MM SATA 3Gb/s NOTEBOOK HARD DRIVE
    http://www.harddriveexperts.com/HTS545050B9SA02.html
    It needs to be 7200 for adobe cs6 production premium.
    I've never heard of such a thing.
    Usually the software installs regardless of drive performance, it's just slower on a stock 5,400 drive and I fail to see why Adobe would deny all the Mac users the ability to install Cs6 based upon this limitation.
    Most Mac's came with 5,400 RPM laptop drives as they take less power.
    Ive tried to download the sofware and it fails.. I'm tearfully trying to understand if it is my computer that cannot dowload the software or is it the software that is faulty.
    It should be able to download, the software won't know what speed of the drive is until the software is run.
    I would look at a slow, hobbled or data capped Internet connection or some other issue as your problem.
    Contact the vendor, it's their money your giving them, let them solve your problem.

  • I need to figure out how to pay for another month of premiere... and it is very confusing... can someone help me?

    Need help figuring out how to pay for my renewal for Adobe Premiere. Anyone can tell me what to do?
    Thanks!

    Go to this webpage:
    Creative Cloud pricing and membership plans | Adobe Creative Cloud
    Click on the chat button (in the lower center of the page) or use the telephone number there.
    MtD

  • Dropped Macbook, need to figure out replacement part

    I'll begin this by saying in hindsite I could have handled this a better way but it is what it is.
    My white 2007 macbook fell off the bed (landed flat on the bottom on a thick rug) about a year ago and it worked fine until the battery died and I went to turn it on again. It would turn on but wouldn't go past the gray "loading" screen. Now it doesn't turn on at all. What do I need to replace? When it first happened I had a Mac IT guy (for a business, not for Apple) check it out and he said that all of the data was there I just needed to replace the OS (Snow Leopard?) However, now a year later it doesn't turn on at all. It's not the battery I don't think, the battery was only a few months old. I didn't take care of this at first because I didn't know anything about fixing things and erronously thought I would have to pay half a thousand to fix - now I know I can easily do most of it myself. I'm assuming it's the internal hard drive but I'm no expert. Thanks for your help.

    No, it does not work with the plug in. I haven't tried it with the battery out though. This not turning on started a while ago though, not recently.
    I'm looking for a cheap fix (DIY...), I could take it in for them to figure out what's wrong but the closest store is an hour away and my macbook is an hour away in another direction with a Mac-knowledgeable family memember. So, taking it in will only happen if it isn't obvious as to what is wrong with it.

  • *Help, can't figure out how to reopen closed side panels!!!

    I closed the "layer" side panel and can't figure out how to reopen it. Pleaes help, I have CS3.  

    I also find it useful to do a Workspace Save, when I have things setup as I like. You can access it from the same drop-down on the Toolbar, Window>Workspace>Save_As. I have a half-dozen custom Workspaces, that I use. This can be a real time-saver, when Panels get closed, moved off-screen, or similar.
    In versions prior to CS4, the Workspace is saved with the Project. Do not know if that has changed.
    Good luck,
    Hunt

  • I can see videos under the "Movie" section that I used to have on my iPhone and need to figure out where these are stored on my PC. Thanks

    I just need to find out the file destination of the movies listed under my m

    Hi Corey,
    I apologize, I'm a bit unclear on your exact request. If you are trying to locate the actual movie files that you are seeing listed in iTunes, you may find the information in the following articles helpful:
    Where are my iTunes files located?
    http://support.apple.com/kb/HT1391
    iTunes: Understanding iTunes Media Organization
    http://support.apple.com/kb/ht3847
    Regards,
    - Brenden

Maybe you are looking for

  • Automatic creation of Reservation for Service Order (Return and Repair)

    Hi, Looking for your valuable help on Creation of Automatic Reservation I am working on Return and Repair process at Plant. 1) So far Service Notification > Repair Order > Return Delivery > Service order . has been done. now requirement is when i am

  • How to use Web services in BI 7?

    HI all, Can anyone pls let me know how to use Web services in BI Thanks Pooja

  • Planning dataforms

    Hi I have one question if some end user wants to shorten the long list of dimension members in the drop-down list in the Page section can he use Preferences>> Display Options tab all I knew about this option is one can initiate search option but one

  • How send data to serial port from forms 6i

    How send data to serial port to activate hardware connect. The hardware is a drawer for cash the point of sales.

  • Upgraded to Access 2007 RecordSet.EOF is broken?

    This code is never hitting my loop condition in Access 2007, It works perfectly in Access 2003. Dim aRecordSet As New ADODB.Recordset      Dim aConnection As ADODB.Connection      Dim aSQLCmd As String     aSQLCmd = "SELECT * FROM tblProducts WHERE "