Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 109058

Summary: [implementation] JavaModelManager.loadVariablesAndContainers should not use platform charset in file format
Product: [Eclipse Project] JDT Reporter: Nick Edgar <n.a.edgar>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard: stalebug

Description Nick Edgar CLA 2005-09-08 11:03:50 EDT
3.1

While looking into bug 109055, I noticed that
JavaModelManager.loadVariablesAndContainers() reads one of the strings using
DataInputStream.readFully(byte[]) and then new String(byte[]).  Note that this
uses the platform's default charset.  It would be better to use UTF8.
I don't think that's the cause of bug 109055, as I'm only using that workspace
from a single machine.
Comment 1 Jerome Lanneluc CLA 2008-05-07 12:31:50 EDT
Deferring post 3.4
Comment 2 Eclipse Genie CLA 2019-08-10 15:55:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.