We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a414fe2 commit b4e5d33Copy full SHA for b4e5d33
impl/src/main/java/org/jboss/weld/util/ServiceLoader.java
@@ -175,7 +175,8 @@ private void loadServiceFile(URL serviceFile) {
175
InputStream is = null;
176
try {
177
URLConnection jarConnection = serviceFile.openConnection();
178
- //Don't cache the file (avoids file leaks on GlassFish).
+ //Don't cache the file; in combination with Windows OS, this can cause file leaks on some EE servers (GlassFish)
179
+ // See WELD-2800 for more details
180
jarConnection.setUseCaches(false);
181
is = jarConnection.getInputStream();
182
BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
0 commit comments