-
Bug
-
Resolution: Fixed
-
P2
-
None
-
b83
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142064 | emb-9 | Martin Buchholz | P2 | Resolved | Fixed | team |
JDK-8183835 | 8u161 | Martin Buchholz | P2 | Resolved | Fixed | b01 |
JDK-8177725 | 8u152 | Martin Buchholz | P2 | Closed | Fixed | b03 |
JDK-8192569 | emb-8u161 | Martin Buchholz | P2 | Resolved | Fixed | b01 |
putenv is fundamentally thread-unsafe! We have observed crashes in getenv probably caused by concurrent putenv, and the assignments to XFILESEARCHPATH and NLSPATH for /usr/dt (CDE?) are the most likely suspects. They are the only environment variables modified running HelloWorld on Linux.
At the very least, we can avoid setting these environment variables when the relevant directory does not exist.
(But we should try to go further and try to figure out how to never write to environment variables outside of the launcher)
At the very least, we can avoid setting these environment variables when the relevant directory does not exist.
(But we should try to go further and try to figure out how to never write to environment variables outside of the launcher)
- backported by
-
JDK-8142064 Stop changing user environment variables related to /usr/dt
- Resolved
-
JDK-8183835 Stop changing user environment variables related to /usr/dt
- Resolved
-
JDK-8192569 Stop changing user environment variables related to /usr/dt
- Resolved
-
JDK-8177725 Stop changing user environment variables related to /usr/dt
- Closed
- relates to
-
JDK-4953367 MAWT: Java should be more careful manipulating NLSPATH, XFILESEARCHPATH env variables
- Resolved
-
JDK-8185365 Tidy up leftover dead code after JDK-8136570
- Resolved
(1 relates to)