changeset 1601:dabb36173c63

8008658: Four new method param jtreg tests fail in nightly tests Reviewed-by: jjg, ksrini, mcimadamore Contributed-by: eric.mccorkle@oracle.com
author ksrini
date Thu, 21 Feb 2013 12:23:27 -0800
parents cd7340a84bb8
children 6118072811e5
files src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java test/tools/javac/MethodParameters/EnumTest.java test/tools/javac/MethodParameters/LocalClassTest.java test/tools/javac/MethodParameters/MemberClassTest.java
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java	Thu Feb 21 14:43:51 2013 -0800
+++ b/src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java	Thu Feb 21 12:23:27 2013 -0800
@@ -651,7 +651,7 @@
                     ((int) s.flags() & (FINAL | SYNTHETIC | MANDATED)) |
                     ((int) m.flags() & SYNTHETIC);
                 databuf.appendChar(pool.put(s.name));
-                databuf.appendInt(flags);
+                databuf.appendChar(flags);
             }
             // Now write the real parameters
             for (VarSymbol s : m.params) {
--- a/test/tools/javac/MethodParameters/EnumTest.java	Thu Feb 21 14:43:51 2013 -0800
+++ b/test/tools/javac/MethodParameters/EnumTest.java	Thu Feb 21 12:23:27 2013 -0800
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8006582
+ * @bug 8006582 8008658
  * @summary javac should generate method parameters correctly.
  * @build Tester
  * @compile -parameters EnumTest.java
--- a/test/tools/javac/MethodParameters/LocalClassTest.java	Thu Feb 21 14:43:51 2013 -0800
+++ b/test/tools/javac/MethodParameters/LocalClassTest.java	Thu Feb 21 12:23:27 2013 -0800
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8006582
+ * @bug 8006582 8008658
  * @summary javac should generate method parameters correctly.
  * @build Tester
  * @compile -parameters LocalClassTest.java
--- a/test/tools/javac/MethodParameters/MemberClassTest.java	Thu Feb 21 14:43:51 2013 -0800
+++ b/test/tools/javac/MethodParameters/MemberClassTest.java	Thu Feb 21 12:23:27 2013 -0800
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8006582
+ * @bug 8006582 8008658
  * @summary javac should generate method parameters correctly.
  * @build Tester
  * @compile -parameters MemberClassTest.java