Petals Distribution

Java 17 does not allow anymore to invoke protected constructor using Java reflection

Details

  • Description:
    Hide

    Java 17 does not allow anymore to invoke protected constructor using Java reflection. It is needed to introduce new class with a public constructor as following:

    public class MyFilterInputStream extends FilterInputStream {
        public MyFilterInputStream(InputStream in) {
            super(in);
        }
    }
    Show
    Java 17 does not allow anymore to invoke protected constructor using Java reflection. It is needed to introduce new class with a public constructor as following:
    public class MyFilterInputStream extends FilterInputStream {
        public MyFilterInputStream(InputStream in) {
            super(in);
        }
    }
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Wed, 24 May 2023 - 10:51:34 +0200

Fixed in trunk:

  • svn#44980 (easycommons-stream)
Show
Christophe DENEUX added a comment - Wed, 24 May 2023 - 10:51:34 +0200 Fixed in trunk:
  • svn#44980 (easycommons-stream)

People

Dates

  • Created:
    Wed, 24 May 2023 - 10:42:50 +0200
    Updated:
    Thu, 15 Jun 2023 - 16:06:25 +0200
    Resolved:
    Wed, 24 May 2023 - 10:50:09 +0200