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 52796 Details for
Bug 162296
[compiler] Anonymous and local classes are tagged as final and/or private in the inner class infos
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression tests
patch_162296_tests.txt (text/plain), 5.14 KB, created by
Olivier Thomann
on 2006-10-26 17:42:05 EDT
(
hide
)
Description:
Regression tests
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-10-26 17:42:05 EDT
Size:
5.14 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java,v >retrieving revision 1.158 >diff -u -r1.158 AnnotationTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java 19 Oct 2006 13:04:19 -0000 1.158 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java 26 Oct 2006 21:46:06 -0000 >@@ -3051,16 +3051,16 @@ > expectedOutput = > " Inner classes:\n" + > " [inner class info: #27 X$MyAnon, outer class info: #1 X\n" + >- " inner name: #66 MyAnon, accessflags: 9737 public abstract static ],\n" + >+ " inner name: #66 MyAnon, accessflags: 9737 public abstract static],\n" + > " [inner class info: #67 X$I, outer class info: #1 X\n" + >- " inner name: #69 I, accessflags: 1545 public abstract static ]\n"; >+ " inner name: #69 I, accessflags: 1545 public abstract static]\n"; > } else if (options.targetJDK == ClassFileConstants.JDK1_6) { > expectedOutput = > " Inner classes:\n" + > " [inner class info: #27 X$MyAnon, outer class info: #1 X\n" + >- " inner name: #70 MyAnon, accessflags: 9737 public abstract static ],\n" + >+ " inner name: #70 MyAnon, accessflags: 9737 public abstract static],\n" + > " [inner class info: #71 X$I, outer class info: #1 X\n" + >- " inner name: #73 I, accessflags: 1545 public abstract static ]\n"; >+ " inner name: #73 I, accessflags: 1545 public abstract static]\n"; > } else { > return; > } >Index: src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java,v >retrieving revision 1.544 >diff -u -r1.544 GenericTypeTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java 26 Oct 2006 13:51:51 -0000 1.544 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java 26 Oct 2006 21:46:12 -0000 >@@ -15193,7 +15193,7 @@ > "\n" + > " Inner classes:\n" + > " [inner class info: #28 X$1, outer class info: #0\n" + >- " inner name: #0, accessflags: 18 private final ]\n"; >+ " inner name: #0, accessflags: 0 default]\n"; > > try { > File f = new File(OUTPUT_DIR + File.separator + "X.class"); >Index: src/org/eclipse/jdt/core/tests/compiler/regression/InnerEmulationTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/InnerEmulationTest.java,v >retrieving revision 1.10 >diff -u -r1.10 InnerEmulationTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/InnerEmulationTest.java 9 Oct 2006 09:01:09 -0000 1.10 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/InnerEmulationTest.java 26 Oct 2006 21:46:13 -0000 >@@ -4714,7 +4714,7 @@ > "\n" + > " Inner classes:\n" + > " [inner class info: #1 X$Z, outer class info: #32 X\n" + >- " inner name: #34 Z, accessflags: 8 static ]\n" + >+ " inner name: #34 Z, accessflags: 8 static]\n" + > "}"; > > try { >@@ -4816,7 +4816,7 @@ > // check private constructor outcome (if >= 1.4 modifier change, if 1.3 synthetic emulation) > CompilerOptions options = new CompilerOptions(getCompilerOptions()); > String expectedOutput = options.complianceLevel <= ClassFileConstants.JDK1_3 >- ? "private class X$1$Local {\n" + >+ ? "class X$1$Local {\n" + > " \n" + > " // Field descriptor #6 LX;\n" + > " final synthetic X this$0;\n" + >@@ -4868,9 +4868,9 @@ > "\n" + > " Inner classes:\n" + > " [inner class info: #1 X$1$Local, outer class info: #0\n" + >- " inner name: #43 Local, accessflags: 2 private ]\n" >+ " inner name: #43 Local, accessflags: 0 default]\n" > : options.complianceLevel == ClassFileConstants.JDK1_4 >- ? "private class X$1$Local {\n" + >+ ? "class X$1$Local {\n" + > " \n" + > " // Field descriptor #6 LX;\n" + > " final synthetic X this$0;\n" + >@@ -4911,8 +4911,8 @@ > "\n" + > " Inner classes:\n" + > " [inner class info: #1 X$1$Local, outer class info: #0\n" + >- " inner name: #40 Local, accessflags: 2 private ]\n" >- : "private class X$1Local {\n" + >+ " inner name: #40 Local, accessflags: 0 default]\n" >+ : "class X$1Local {\n" + > " \n" + > " // Field descriptor #6 LX;\n" + > " final synthetic X this$0;\n" + >@@ -4953,7 +4953,7 @@ > "\n" + > " Inner classes:\n" + > " [inner class info: #1 X$1Local, outer class info: #0\n" + >- " inner name: #39 Local, accessflags: 2 private ]\n" + >+ " inner name: #39 Local, accessflags: 0 default]\n" + > " Enclosing Method: #41 #43 X.foo(Ljava/lang/String;)V\n"; > > try {
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
Actions:
View
|
Diff
Attachments on
bug 162296
:
52795
|
52796
|
52799