8008658: Four new method param jtreg tests fail in nightly tests
Reviewed-by: jjg, ksrini, mcimadamore
Contributed-by: eric.mccorkle@oracle.com
--- 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