< prev index next >

test/langtools/tools/javac/classfiles/attributes/Synthetic/BridgeMethodsForLambdaTest.java

Print this page
rev 58565 : 8238358: Implementation of JEP 371: Hidden Classes
Reviewed-by: duke
Contributed-by: mandy.chung@oracle.com, lois.foltan@oracle.com, david.holmes@oracle.com, harold.seigel@oracle.com, serguei.spitsyn@oracle.com, alex.buckley@oracle.com, jamsheed.c.m@oracle.com

@@ -42,22 +42,18 @@
 /**
  * Synthetic members:
  * 1. inner class for Inner1.
  * 2. method for () -> {} in Inner1
  * 3. method for () -> {} in Inner2
- * 4. method references to private methods.
- * 5. method for super::function()
- * 6. method references to private static methods.
- * 7. access method for private method function().
- * 8. access method for private static method staticFunction().
- * 9. method reference to vararg method.
- * 10. method reference to array's method.
- * 11. constructors for Inner1 and Inner2.
+ * 4. method for super::function()
+ * 5. method reference to vararg method.
+ * 6. method reference to array's method.
+ * 7. constructors for Inner1 and Inner2.
  */
 @ExpectedClass(className = "BridgeMethodsForLambdaTest",
         expectedMethods = {"<init>()", "<clinit>()", "function(java.lang.Integer[])"},
-        expectedNumberOfSyntheticMethods = 6)
+        expectedNumberOfSyntheticMethods = 3)
 @ExpectedClass(className = "BridgeMethodsForLambdaTest$Inner1",
         expectedMethods = {"<init>(BridgeMethodsForLambdaTest)", "function()", "run()"},
         expectedFields = "lambda1",
         expectedNumberOfSyntheticMethods = 1,
         expectedNumberOfSyntheticFields = 1)
< prev index next >