Only notable behaviour broken with empty string promise suffix was static method calls on imported classes.
(java.import('...').staticMethod())
This is due to double-promisification of callStaticMethod function. This change extracts raw, pre-promisified methods used later in runtime by java bridge as local variables and uses that instead.
This also fixes a similar breakage if someone set "Sync" as promise suffix.
Only notable behaviour broken with empty string promise suffix was static method calls on imported classes. (java.import('...').staticMethod())
This is due to double-promisification of callStaticMethod function. This change extracts raw, pre-promisified methods used later in runtime by java bridge as local variables and uses that instead.
This also fixes a similar breakage if someone set "Sync" as promise suffix.