Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318525 - Synchronize view tests introduce dependency to JDK 6
Summary: Synchronize view tests introduce dependency to JDK 6
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: All Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 19:05 EDT by Benjamin Muskalla CLA
Modified: 2010-07-05 05:06 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 Benjamin Muskalla CLA 2010-06-30 19:05:53 EDT
The Synchronize view tests introduce a dependency to JDK 1.6 due to the usage of Arrays.copyof(..) method.
Setup API Tooling for prevent these errors if there is no perfectly matching JRE available could help here.

The method copyOf(byte[], int) is undefined for the type Arrays
GitSyncInfoTest.java
/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize
line 480
Comment 1 Benjamin Muskalla CLA 2010-06-30 19:40:45 EDT
Code review at http://egit.eclipse.org/r/#change,1017
Comment 2 Mathias Kinzler CLA 2010-07-05 05:06:09 EDT
Merged as 00870a6147c740a8fe6476310cb20e901fcd576a