Results 1 to 3 of 3

Thread: migrating java1.5 gives error.

  1. #1
    Junior Member
    Join Date
    May 2008
    Answers
    9

    migrating java1.5 gives error.

    i have changed java 1.4 to java 1.5.and there is comiler error inconstructor HttpClient(url, null, -1); is ambigious.
    Why it is giving this error.
    Thanks.


  2. #2
    Junior Member
    Join Date
    Jun 2008
    Answers
    2

    Re: migrating java1.5 gives error.

    i thinks this error due to same method used again with same parameters
    HttpClient(url, null, -1);


  3. #3
    Junior Member
    Join Date
    May 2008
    Answers
    9

    Re: migrating java1.5 gives error.

    I cahnged the method as httpClient(url,(String)null,-1); now ther is no compiler error.i guess java 1.5 is more restrictive about casting.
    Thanks for your reply


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact