|
|
Usage of this$0 |
|
Using JBuilder3 and JDK 1.2, I have an inner class that correctly
uses the synthetic variable this$0, but the compiler doesn't
recognize it.
See the
JLS 2nd ed. § 15.8.4. The this$0 synthentic variable is an implementation
detail of Sun's compiler. Using it is not portable or safe. Use the
name of the outer class, as in "TheOuterClass.this" instead.
| |
| [Append to This Answer] | |
| 2001-Mar-20 8:43am |
| Previous: |
|
| Next: |
|
| ||||||||
|
Java Community
Java Tools |
Code Central JB OpenTools |
Community Recent Threads |
Borland Chat Chat FAQ |
||||||||||||||
|
Feature Matrices 3.0 | 3.5 | 4.0 5.0 | 6.0 | 7.0 |
Shop for JBuilder |
JBuilder Downloads and reg keys |
Report Piracy | ||||||||||||||
|
Online Manuals 4.0 | 5.0 | 6.0 7.0 |
Borland DevSupport's Bug/RFE Form Quality Central Client |
JB Patches & Updates |
JBuilder FAQs TIs | ||||||||||||||
|
JBuilder Newsgroups |
Tamaracka's News Archive |
Mr. Haki's JBuilder Machine |
JGuru's JBuilder FAQ |
||||||||||||||
|
Sun's Bug Parade |
|||||||||||||||||
|
|||||||||||||||||