MarkusJx / node-java-bridge

A bridge between Node.js and Java
https://markusjx.github.io/node-java-bridge/
MIT License
112 stars 6 forks source link

fix(bridge): add a toString method to all objects #89

Closed MarkusJx closed 1 year ago

MarkusJx commented 1 year ago

Some methods do not have a proper toString method, thus this method isn't added to the node objects. This PR adds the default toString method of java.lang.Object to all objects, which currently don't have a custom implementation of that method.