changeset 16315:3e29f09420ca

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 f1ece0e4178b
children 1150b1b2f5c2
files 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
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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