Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334598 - [server] 1.6 Method causes compile error in org.eclipse.orion.server.servlets
Summary: [server] 1.6 Method causes compile error in org.eclipse.orion.server.servlets
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 18:01 EST by Andrew Niefer CLA
Modified: 2011-09-01 11:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2011-01-17 18:01:54 EST
In org.eclipse.orion.internal.server.servlets.xfer.Import there is a reference to the 1.6 method Properties#store(Writer writer, String comments) 

The bundle is currently marked with 
Bundle-RequiredExecutionEnvironment: J2SE-1.5

This causes a compile error in the releng build (or in workspaces set up with a 1.5 JRE in the preferences)
Comment 1 Andrew Niefer CLA 2011-01-17 18:11:31 EST
I have released a change to move the execution environment up to JavaSE-1.6.

Marking as fixed, John, please reopen if we prefer to keep 1.5 and should change the code.