mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8010737: javac, known parameter's names should be copied to automatically generated constructors for inner classes
Reviewed-by: mcimadamore
This commit is contained in:
parent
06d1d22eb5
commit
0ace868fe4
4 changed files with 302 additions and 21 deletions
|
@ -316,9 +316,6 @@ class ClassFileVisitor extends Tester.Visitor {
|
|||
}
|
||||
expect = "this\\$[0-n]*";
|
||||
}
|
||||
} else if (isAnon) {
|
||||
// not an implementation gurantee, but okay for now
|
||||
expect = "x[0-n]*";
|
||||
}
|
||||
} else if (isEnum && mNumParams == 1 && index == 0 && mName.equals("valueOf")) {
|
||||
expect = "name";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue