- The changes add an import for
URIUtiland modify the URL creation inOSGiApp.javato useURIUtil.correctURI()for proper URI handling. The modification ensures correct URI formatting before converting to URL. - The changes add an import for
URIUtiland modify the URI creation inUtil.javato useURIUtil.correctURI()when handling file paths. This ensures proper URI formatting for paths starting with "file:/". - The changes in both
WebInfConfiguration.javafiles (EE10 and EE9 versions) refactor the war file handling logic. The modifications:- Add explanatory comments about looking for sibling directories
- Change how the war path is obtained (using webApp.getPath() instead of creating new resources)
- Restructure the conditional logic for better clarity
- Maintain the same functionality but with improved safety checks and documentation