J2Cl : Error: Cannot find matching native file {Collator,BitSet }
There are two errors running gwt-mt-jre-emulation
with j2cl-m-p
Warning:Collator.java:11: [unusable-by-js] Native 'int Collator.compare(String source, String target)' is exposed to JavaScript without @JsMethod.
Warning:BitSet.java:877: [unusable-by-js] Native 'void BitSet.setLength(Object array, int length)' is exposed to JavaScript without @JsMethod.
Error: Cannot find matching native file 'java/text/Collator.native.js'.
Error: Cannot find matching native file 'java/util/BitSet.native.js'.
JSNI doesn't work with j2cl so this method should be implemented with *.native.js