Community
Participate
Working Groups
I noticed that the JNI code uses indexOf instead of contains. See https://git.eclipse.org/r/c/144213/2/bundles/org.eclipse.swt.tools/JNI+Generation/org/eclipse/swt/tools/internal/ASTField.java Karsten Thoms hinted that this code is generated. Can you please update the generator?
Nikita, can you help here?
(In reply to Lars Vogel from comment #0) > I noticed that the JNI code uses indexOf instead of contains. See > https://git.eclipse.org/r/c/144213/2/bundles/org.eclipse.swt.tools/ > JNI+Generation/org/eclipse/swt/tools/internal/ASTField.java > > Karsten Thoms hinted that this code is generated. Can you please update the > generator? That code isn't auto-generated, it's the code for the generator itself. Your change is safe. Since we dropped 32-bit support, that particular chunk isn't necessary anymore and I'm going to remove it soon.
(In reply to Nikita Nemkin from comment #2) > (In reply to Lars Vogel from comment #0) > > I noticed that the JNI code uses indexOf instead of contains. See > > https://git.eclipse.org/r/c/144213/2/bundles/org.eclipse.swt.tools/ > > JNI+Generation/org/eclipse/swt/tools/internal/ASTField.java > > > > Karsten Thoms hinted that this code is generated. Can you please update the > > generator? > > That code isn't auto-generated, it's the code for the generator itself. Your > change is safe. > > Since we dropped 32-bit support, that particular chunk isn't necessary > anymore and I'm going to remove it soon. Thanks. Will recreate the for the JNI code changes and add you as reviewer after you merged https://git.eclipse.org/r/c/144040/ to avoid conflicts.
New Gerrit change created: https://git.eclipse.org/r/144355
Gerrit change https://git.eclipse.org/r/144355 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f34daeb64cb775d38b51fd23d04bbc98e340dd51