Bug 3361 - JCK 1.4 - ICLS - field from outer class and inherited public field in nested class (1GK7LAA)
Summary: JCK 1.4 - ICLS - field from outer class and inherited public field in nested ...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 3350 3351 3352 3362 3363 3364 3365 3366 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:53 EDT by Olivier Thomann CLA
Modified: 2002-01-11 08:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2001-10-10 22:53:50 EDT
http://www.ott.oti.com/uvm/OTIIBM/numbat/Testing/JCK-
14/tests/lang/ICLS/icls005/icls00504m112/icls00504m112.html - POSITIVE TEST
Test case:

	javac 1.4: OK
	javac 1.3:
icls00504m112.java:14: i is inherited from 
javasoft.sqe.tests.lang.icls005.icls00504m112.Y and hides variable in outer 
class 
javasoft.sqe.tests.lang.icls005.icls00504m112.icls00504m112.  An 
explicit 'this' qualifier must be used to select the desired instance.
                int x = i;
                        ^
1 error
	Eclipse compiler:
----------
1. ERROR in icls00504m112.java (at line 14)
        int x = i;
                ^
The field i is defined in an inherited type and an enclosing scope
----------

NOTES:
Comment 1 Philipe Mulet CLA 2001-12-12 13:29:47 EST
Changed namelookup to follow JLS 8.5.1 (when compiler is toggled in 1.4 
compliance mode).

Fixed.
Comment 2 Philipe Mulet CLA 2001-12-12 13:31:54 EST
*** Bug 3350 has been marked as a duplicate of this bug. ***
Comment 3 Philipe Mulet CLA 2001-12-12 13:32:40 EST
*** Bug 3351 has been marked as a duplicate of this bug. ***
Comment 4 Philipe Mulet CLA 2001-12-12 13:34:00 EST
*** Bug 3352 has been marked as a duplicate of this bug. ***
Comment 5 Philipe Mulet CLA 2001-12-12 13:35:32 EST
*** Bug 3362 has been marked as a duplicate of this bug. ***
Comment 6 Philipe Mulet CLA 2001-12-12 13:36:51 EST
*** Bug 3363 has been marked as a duplicate of this bug. ***
Comment 7 Philipe Mulet CLA 2001-12-12 13:37:37 EST
*** Bug 3364 has been marked as a duplicate of this bug. ***
Comment 8 Philipe Mulet CLA 2001-12-12 13:38:58 EST
*** Bug 3365 has been marked as a duplicate of this bug. ***
Comment 9 Philipe Mulet CLA 2001-12-12 13:39:47 EST
*** Bug 3366 has been marked as a duplicate of this bug. ***
Comment 10 Philipe Mulet CLA 2001-12-12 13:40:56 EST
*** Bug 3375 has been marked as a duplicate of this bug. ***
Comment 11 Philipe Mulet CLA 2001-12-12 13:41:33 EST
*** Bug 3376 has been marked as a duplicate of this bug. ***
Comment 12 Philipe Mulet CLA 2001-12-12 13:59:56 EST
*** Bug 3377 has been marked as a duplicate of this bug. ***
Comment 13 Philipe Mulet CLA 2001-12-12 14:00:29 EST
*** Bug 3378 has been marked as a duplicate of this bug. ***
Comment 14 Philipe Mulet CLA 2001-12-12 14:01:21 EST
*** Bug 3379 has been marked as a duplicate of this bug. ***
Comment 15 Philipe Mulet CLA 2001-12-12 14:02:21 EST
*** Bug 3380 has been marked as a duplicate of this bug. ***
Comment 16 Philipe Mulet CLA 2001-12-12 14:02:47 EST
*** Bug 3381 has been marked as a duplicate of this bug. ***
Comment 17 Philipe Mulet CLA 2001-12-12 14:03:19 EST
*** Bug 3382 has been marked as a duplicate of this bug. ***
Comment 18 Philipe Mulet CLA 2001-12-12 14:03:51 EST
*** Bug 3383 has been marked as a duplicate of this bug. ***
Comment 19 Philipe Mulet CLA 2001-12-12 14:04:22 EST
*** Bug 3384 has been marked as a duplicate of this bug. ***
Comment 20 Philipe Mulet CLA 2001-12-12 14:13:54 EST
*** Bug 3387 has been marked as a duplicate of this bug. ***
Comment 21 Philipe Mulet CLA 2001-12-12 14:14:57 EST
*** Bug 3388 has been marked as a duplicate of this bug. ***
Comment 22 Philipe Mulet CLA 2001-12-12 14:15:13 EST
*** Bug 3389 has been marked as a duplicate of this bug. ***
Comment 23 Philipe Mulet CLA 2001-12-12 14:16:04 EST
*** Bug 3390 has been marked as a duplicate of this bug. ***
Comment 24 Philipe Mulet CLA 2001-12-12 14:19:35 EST
*** Bug 3392 has been marked as a duplicate of this bug. ***
Comment 25 Philipe Mulet CLA 2001-12-12 14:20:18 EST
*** Bug 3393 has been marked as a duplicate of this bug. ***
Comment 26 Philipe Mulet CLA 2001-12-12 14:20:55 EST
*** Bug 3394 has been marked as a duplicate of this bug. ***
Comment 27 Philipe Mulet CLA 2001-12-12 14:21:22 EST
*** Bug 3395 has been marked as a duplicate of this bug. ***
Comment 28 Philipe Mulet CLA 2001-12-12 14:21:51 EST
*** Bug 3396 has been marked as a duplicate of this bug. ***
Comment 29 Philipe Mulet CLA 2001-12-12 14:22:11 EST
*** Bug 3397 has been marked as a duplicate of this bug. ***
Comment 30 Philipe Mulet CLA 2001-12-12 14:22:49 EST
*** Bug 3398 has been marked as a duplicate of this bug. ***
Comment 31 Philipe Mulet CLA 2001-12-12 14:23:16 EST
*** Bug 3399 has been marked as a duplicate of this bug. ***
Comment 32 Philipe Mulet CLA 2001-12-12 14:23:42 EST
*** Bug 3400 has been marked as a duplicate of this bug. ***
Comment 33 Philipe Mulet CLA 2001-12-12 14:24:11 EST
*** Bug 3401 has been marked as a duplicate of this bug. ***
Comment 34 Philipe Mulet CLA 2001-12-12 14:26:53 EST
*** Bug 3402 has been marked as a duplicate of this bug. ***
Comment 35 Philipe Mulet CLA 2001-12-12 14:27:13 EST
*** Bug 3403 has been marked as a duplicate of this bug. ***
Comment 36 Philipe Mulet CLA 2001-12-12 14:27:30 EST
*** Bug 3404 has been marked as a duplicate of this bug. ***
Comment 37 Philipe Mulet CLA 2001-12-12 14:27:51 EST
*** Bug 3405 has been marked as a duplicate of this bug. ***
Comment 38 Philipe Mulet CLA 2001-12-12 14:28:38 EST
*** Bug 3406 has been marked as a duplicate of this bug. ***
Comment 39 Philipe Mulet CLA 2001-12-12 14:29:02 EST
*** Bug 3407 has been marked as a duplicate of this bug. ***