Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 561299

Summary: java.lang.NoSuchMethodError: org.eclipse.swt.browser.Browser.getBrowserType()
Product: [RT] RAP Reporter: Marco Descher <marco>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.12   
Target Milestone: 3.13   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/159888
https://git.eclipse.org/c/rap/org.eclipse.rap.git/commit/?id=efb34649bf82c1b15de08fccea001dc630977ed5
Whiteboard:

Description Marco Descher CLA 2020-03-20 10:04:01 EDT
While org.eclipse.swt.Browser does provide the getBrowserType() method (since 3.5), the Eclipse RAP implementation does not do so.

Is this a deliberate design decision or a bug? As the method is not deprecated it should be at least available returning a default string.
Comment 1 Marco Descher CLA 2020-03-23 04:40:53 EDT
I propose simply returning "iframe" as getBrowserType() - which, as far as I can see from the documentation should be the case. I am not sure wether getting the
real browser is necessary.
Comment 2 Eclipse Genie CLA 2020-03-23 08:57:55 EDT
New Gerrit change created: https://git.eclipse.org/r/159888