Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332995 - LanguageToolkit.getArchive(File) is geting file with environment device section in path
Summary: LanguageToolkit.getArchive(File) is geting file with environment device secti...
Status: NEW
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-21 02:14 EST by Ilya Platonov CLA
Modified: 2010-12-21 03:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Platonov CLA 2010-12-21 02:14:50 EST
Build Identifier: Build id: 20100917-0705

DLTK from dev.eclipse.org CVS (about two month old)

When I am trying to use Open Type dialog with DLTK it gives me IO exception. Exception occurs because LanguageToolkit.getArchive(File) gets invalid File instance.

java.io.File instance point to following location "something.localSomethingEnvironment:/path/to/jar/here"

Reproducible: Always

Steps to Reproduce:
1. Create toolkit with default openArchive implementation
public IArchive openArchive(File localFile) throws IOException {
		return new ZipArchiveFile(localFile);
	}
2. Add some jars into buildpath
3. Open "Open Type" dialog
4. Try to enter any value in filter text field
Comment 1 Ilya Platonov CLA 2010-12-21 03:04:27 EST
Here is path from java.io.File

org.eclipse.dltk.core.environment.localEnvironment/:/home/ill/work/starservers/6.3.0/star/enterprise-server-6.3.0/plugins/jessEngine_1.0.0.v201012161504-local.jar