Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8059563

(proxy) sun.misc.ProxyGenerator.generateProxyClass should create intermediate directories

    Details

      Backports

        Description

        Testcase:

        import sun.misc.ProxyGenerator;

        public class InPackage {
            public static void main(String[] args) throws Throwable {
                ProxyGenerator.generateProxyClass("a.b.c.d",
                        new Class[] {Inf.class});
            }

            static interface Inf {
            }
        }

        ------------------------
        When the test is executed with -Dsun.misc.ProxyGenerator.saveGeneratedFiles=true, it should created directories a/b/c.
        This is already true with jdk8 and later.

        The fix was a part of JDK-8004260.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igerasim Ivan Gerasimov (Inactive)
                  Reporter:
                  shadowbug Shadow Bug
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: