Where can I find the BrowserSnifferUtil.java class?
written-by
Allison McGill
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
Issue
- After upgrading from 2023.Q3 to 2025.Q1, I can no longer find the
com.liferay.portal.kernel.util.BrowserSnifferUtil class? Was it moved or deprecated?
Resolution
-
In Liferay DXP Version earlier than 2023.Q4 the BrowserSnifferUtil class was located at
portal-impl/src/com/liferay/portal/servlet/BrowserSnifferUtil.java
-
Starting in 2023.Q4, it was moved to
portal-kernel/src/com/liferay/portal/kernel/servlet/BrowserSnifferUtil.java
as apart of LPD-11434
did-this-article-resolve-your-issue