-
Bug
-
Resolution: Fixed
-
P2
-
alpha
-
None
-
1.0fcs
-
generic
-
solaris_2.6
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2113041 | alpha | J. Duke | P2 | Closed | Fixed | alpha |
There's no documentation of the behavior when the constructor MimetypesFileTypeMap("MissingFile")
is used. The underlying implementation in MimeTypeFile will trap the FileNotFound exception,
dump errors to the console and execute System.exit(1).
The use of exit precludes handling the problem by trapping exceptions or verifying the resultant state in the client code
- backported by
-
JDK-2113041 MimetypesFileTypeMap("MissingFile") causes System.exit(1)
-
- Closed
-