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

@BeanProperty: access level of the interface for the anonymous class affects the property info

XMLWordPrintable

      Please compile the attached files and run the test.

      The output will be (Win. 7 + JDK9 b115)
      get 42, true, true

      then make "I" public:
      public interface I { double get42(); }

      The output:
      42, false, false
      (default values)

        1. AnonymousTest.java
          0.7 kB
          Alexander Stepanov
        2. I.java
          0.0 kB
          Alexander Stepanov

            Unassigned Unassigned
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: