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

Bug 318525

Summary: Synchronize view tests introduce dependency to JDK 6
Product: [Technology] EGit Reporter: Benjamin Muskalla <b.muskalla>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mathias.kinzler
Version: 0.9.0   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:

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