Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

access$1900

Thread view: 
Michaelp - 10 Sep 2007 21:18 GMT
Hello!

I am debugging a project that I inherited from someone else.
The run aborts with an exception stack, of which one is access$1900.

What can this mean?

I do not find any reference to a method named access in the entire api
documentation.

Thanks

Michael
Wojtek - 10 Sep 2007 21:46 GMT
Michaelp wrote :
> Hello!
>
[quoted text clipped - 9 lines]
>
> Michael

Google kicks out 265 pages for access$1900

Signature

Wojtek :-)

Michaelp - 11 Sep 2007 05:08 GMT
> --
> Wojtek :-)

Thanks, Wojtek :-)

Found those too.

At least the first 20 of them have it as a part of a pasted stack-
trace.

Michael :-)
Joshua Cranmer - 10 Sep 2007 22:06 GMT
> Hello!
>
[quoted text clipped - 9 lines]
>
> Michael

access$1900 is a synthetic method that is used so that inner classes can
use the private variables of its respective outer class. If you want to
figure out which variable it is accessing, you can run `javap -c [fully
qualified class name]` and then find the output for the method access$1900.

Signature

Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth

Mike  Schilling - 10 Sep 2007 22:08 GMT
> Hello!
>
> I am debugging a project that I inherited from someone else.
> The run aborts with an exception stack, of which one is access$1900.
>
> What can this mean?

Probably that it's a generated method used to access a private field (or
method) of an inner class.
Roedy Green - 11 Sep 2007 05:55 GMT
>I am debugging a project that I inherited from someone else.
>The run aborts with an exception stack, of which one is access$1900.
>
>What can this mean?

Let's see the rest of the stack dump.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

rossum - 11 Sep 2007 23:20 GMT
>Hello!
>
[quoted text clipped - 9 lines]
>
>Michael

How do I fit "There I was expecting to get $1900 paid into my new
PayPal account when I signed up to your new sure-fire money making
scheme, and all I got was this lousy Java technical question." onto my
T-shirt?  :)

rossum


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.