mbien opened a new issue, #6568:
URL: https://github.com/apache/netbeans/issues/6568

   ### Body
   
   As discovered in 
https://github.com/apache/netbeans/pull/6213#discussion_r1359320621, the proxy 
class delegates a subset of the methods to the wrapped `JavaPlatform` which 
creates a frankenstein platform.
   
   
https://github.com/apache/netbeans/blob/a9aeefafc04e2d79a4702be88d890324365989bd/java/java.platform/src/org/netbeans/spi/java/platform/support/ForwardingJavaPlatform.java#L36
   
   
https://github.com/apache/netbeans/blob/a9aeefafc04e2d79a4702be88d890324365989bd/java/java.platform/src/org/netbeans/api/java/platform/JavaPlatform.java#L41
   has final methods and was not designed to be extended / delegated in that 
way.
   
   It is possible that it was actually the intention of that class to leave 
some capabilities out, however it is passed to places which expect a working 
`JavaPlatform` object, with non-empty properties etc.
   
   Lets try to figure out what `ForwardingJavaPlatform` was supposed to achieve 
(hide the event system?) and then fix it if possible.
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer in the Apache NetBeans 
project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to