8008658: Four new method param jtreg tests fail in nightly tests
authorksrini
Thu, 21 Feb 2013 12:23:27 -0800
changeset 16315 3e29f09420ca
parent 16314 f1ece0e4178b
child 16316 1150b1b2f5c2
8008658: Four new method param jtreg tests fail in nightly tests Reviewed-by: jjg, ksrini, mcimadamore Contributed-by: eric.mccorkle@oracle.com
langtools/src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
langtools/test/tools/javac/MethodParameters/EnumTest.java
langtools/test/tools/javac/MethodParameters/LocalClassTest.java
langtools/test/tools/javac/MethodParameters/MemberClassTest.java
--- a/langtools/src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java	Thu Feb 21 14:43:51 2013 -0800
+++ b/langtools/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/langtools/test/tools/javac/MethodParameters/EnumTest.java	Thu Feb 21 14:43:51 2013 -0800
+++ b/langtools/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/langtools/test/tools/javac/MethodParameters/LocalClassTest.java	Thu Feb 21 14:43:51 2013 -0800
+++ b/langtools/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/langtools/test/tools/javac/MethodParameters/MemberClassTest.java	Thu Feb 21 14:43:51 2013 -0800
+++ b/langtools/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