Skip to content

Commit b4e5d33

Browse files
WolfgangHGmanovotn
authored andcommitted
Improved comment
1 parent a414fe2 commit b4e5d33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

impl/src/main/java/org/jboss/weld/util/ServiceLoader.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ private void loadServiceFile(URL serviceFile) {
175175
InputStream is = null;
176176
try {
177177
URLConnection jarConnection = serviceFile.openConnection();
178-
//Don't cache the file (avoids file leaks on GlassFish).
178+
//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
179180
jarConnection.setUseCaches(false);
180181
is = jarConnection.getInputStream();
181182
BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));

0 commit comments

Comments
 (0)