Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 30893 Details for
Bug 118698
Not Allowing Access to Private ITD inside Nested Type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to tests module that integrates this test case into the ajc150 test suite.
privateItdFromNested.txt (text/plain), 2.62 KB, created by
Ron Bodkin
on 2005-11-30 15:24:56 EST
(
hide
)
Description:
Patch to tests module that integrates this test case into the ajc150 test suite.
Filename:
MIME Type:
Creator:
Ron Bodkin
Created:
2005-11-30 15:24:56 EST
Size:
2.62 KB
patch
obsolete
>Index: src/org/aspectj/systemtest/ajc150/Ajc150Tests.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java,v >retrieving revision 1.152 >diff -u -r1.152 Ajc150Tests.java >--- src/org/aspectj/systemtest/ajc150/Ajc150Tests.java 30 Nov 2005 17:23:35 -0000 1.152 >+++ src/org/aspectj/systemtest/ajc150/Ajc150Tests.java 30 Nov 2005 20:24:47 -0000 >@@ -51,6 +51,7 @@ > public void testGeneratingCodeForAnOldRuntime_pr116679_1() { runTest("generating code for a 1.2.1 runtime - 1");} > public void testGeneratingCodeForAnOldRuntime_pr116679_2() { runTest("generating code for a 1.2.1 runtime - 2");} > >+ public void testAccesstoPrivateITDInNested_pr118698() { runTest("access to private ITD from nested type");} > public void testAtDeclareParents_pr117681() { runTest("at declare parents");} > public void testPrivilegeProblem_pr87525() { runTest("privilege problem with switch");} > public void testGenericAspects_pr115237() { runTest("aspectOf and generic aspects");} >Index: src/org/aspectj/systemtest/ajc150/ajc150.xml >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml,v >retrieving revision 1.233 >diff -u -r1.233 ajc150.xml >--- src/org/aspectj/systemtest/ajc150/ajc150.xml 30 Nov 2005 17:23:35 -0000 1.233 >+++ src/org/aspectj/systemtest/ajc150/ajc150.xml 30 Nov 2005 20:24:53 -0000 >@@ -2,6 +2,9 @@ > > <!-- AspectJ v1.5.0 Tests --> > <suite> >+ <ajc-test dir="bugs150" title="access to private ITD from nested type"> >+ <compile files="pr118698.aj"/> >+ </ajc-test> > > <ajc-test dir="bugs150/pr112476/case1" title="binary weaving decp broken"> > <compile files="lib/A.java,lib/B.java,lib/C.java" outjar="library.jar" options="-1.5"/> >Index: bugs150/pr118698.aj >=================================================================== >RCS file: bugs150/pr118698.aj >diff -N bugs150/pr118698.aj >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ bugs150/pr118698.aj 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,16 @@ >+public aspect pr118698 { >+ private static interface Marker {} >+ >+ private class Foo implements Marker { >+ public Foo() { >+ bar = null; // allowed >+ listener = null; // should also be allowed >+ this.listener = null; // so should this >+ Marker.this.listener = null; // and this >+ ((Marker)this).listener = null; // and this >+ } >+ } >+ >+ private Object Marker.listener; >+ private Object bar; >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
aclement
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 118698
: 30893