superclass methods not accessible in 1.2.1
See original GitHub issuearraylist = autoclass("java.util.ArrayList")()
arraylist.iterator()
arraylist.stream()
This works for 1.2.0 but not for 1.2.1.
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-7-5e67e1c90388> in <module>()
----> 1 arraylist.stream()
AttributeError: 'java.util.ArrayList' object has no attribute 'stream'
Reproducible notebook at https://colab.research.google.com/drive/1F9u2jVQR5JFw_mk5Bq--VH1Ki91Xe5x3
stream() is defined in the super-interface as a default.
We also had problem accessing methods in interfaces that extended java.util.List.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:20 (17 by maintainers)
Top Results From Across the Web
Object of type super class not able to access method of Sub ...
I am a beginner in java and i am not able to understand what does this line B obj = new A(); mean....
Read more >Chapter 8. Classes - Oracle Help Center
Any of C's superclasses has an abstract method declared with package access, and there exists no method that overrides the abstract method from...
Read more >OOP Inheritance & Polymorphism - Java Programming Tutorial
A subclass inherits all the variables and methods from its superclasses, including its immediate parent as well as all the ancestors. It is...
Read more >BeanInfoIndexedProperty (Apache Standard Taglib 1.2.1 API)
In this case, a publicly accessible version of the method must be found by searching for a public superclass/interface that declares the method...
Read more >Python Tutorial - Object-Oriented Programming (OOP)
In Python, the overridden version replaces the inherited version, as shown in the above function references. To access superclass' version of a method,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I observe the same problem, superclass methods are not accessible in 1.2.1 but everything works in 1.2.0. This is quite nasty bug, don’t you think it make sense to remove 1.2.1 release or somehow mark it as unusable ?
I had wondered if this was a concurrency issue as per #480, but I don’t think pytest is concurrent by default.
I tried reproducing locally, but didn’t succeed in reproducing #480. Here was my command - its a Debian-based image:
All tests passed on master and on the branch.