This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244700 - main-golden fails to build on openjdk8
Summary: main-golden fails to build on openjdk8
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-23 18:51 UTC by matthias42
Modified: 2014-11-27 04:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
build patch (23.00 KB, patch)
2014-07-05 12:02 UTC, matthias42
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description matthias42 2014-05-23 18:51:08 UTC
I tried to build netbeans main-golden with openjdk8 - this failed:


build-init:
[parseprojectxml] Distilling /home/matthias/NetBeansProjects/main-golden/nbbuild/build/public-package-jars/org-openide-util-lookup.jar from [/home/matthias/NetBeansProjects/main-golden/nbbuild/netbeans/platform/lib/org-openide-util-lookup.jar]

-javac-init-nbjdk:

-javac-init-bootclasspath-prepend:

-javac-init-no-bootclasspath-prepend:

-javac-init:

-init-proxy:

init:

up-to-date:

compile:
    [mkdir] Created dir: /home/matthias/NetBeansProjects/main-golden/openide.util/build/classes
 [nb-javac] Compiling 71 source files to /home/matthias/NetBeansProjects/main-golden/openide.util/build/classes
   [repeat] warning: [options] bootstrap class path not set in conjunction with -source 1.6
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:210: error: reference to putIfAbsent is ambiguous
   [repeat]     public E putIfAbsent(E e) { return m.putIfAbsent(e, null); }
   [repeat]                                         ^
   [repeat]   both method putIfAbsent(K#1,V) in Map and method putIfAbsent(K#2,boolean[]) in SharedKeyWeakHashMap match
   [repeat]   where K#1,V,K#2 are type-variables:
   [repeat]     K#1 extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat]     K#2 extends Object declared in class SharedKeyWeakHashMap
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:210: error: incompatible types: Boolean cannot be converted to E
   [repeat]     public E putIfAbsent(E e) { return m.putIfAbsent(e, null); }
   [repeat]                                                     ^
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in class WeakSet
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:225: error: reference to putIfAbsent is ambiguous
   [repeat]             m.putIfAbsent((E)object, null);
   [repeat]              ^
   [repeat]   both method putIfAbsent(K#1,V) in Map and method putIfAbsent(K#2,boolean[]) in SharedKeyWeakHashMap match
   [repeat]   where K#1,V,K#2 are type-variables:
   [repeat]     K#1 extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat]     K#2 extends Object declared in class SharedKeyWeakHashMap
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:331: warning: [rawtypes] found raw type: Entry
   [repeat]             table = (Entry<K,V>[])new Entry[capacity];
   [repeat]                                       ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Entry
   [repeat]     V extends Object declared in class Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:354: warning: [rawtypes] found raw type: Entry
   [repeat]             table = new Entry[DEFAULT_INITIAL_CAPACITY];
   [repeat]                         ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Entry
   [repeat]     V extends Object declared in class Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:565: warning: [rawtypes] found raw type: Entry
   [repeat]             Entry<K,V>[] newTable = new Entry[newCapacity];
   [repeat]                                         ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Entry
   [repeat]     V extends Object declared in class Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:584: warning: [rawtypes] found raw type: Entry
   [repeat]         private void transfer(Entry[] src, Entry[] dest) {
   [repeat]                               ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Entry
   [repeat]     V extends Object declared in class Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:584: warning: [rawtypes] found raw type: Entry
   [repeat]         private void transfer(Entry[] src, Entry[] dest) {
   [repeat]                                            ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Entry
   [repeat]     V extends Object declared in class Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:643: error: reference to putIfAbsent is ambiguous
   [repeat]                 putIfAbsent(e.getKey(), null);
   [repeat]                 ^
   [repeat]   both method putIfAbsent(K#1,V) in Map and method putIfAbsent(K#2,boolean[]) in SharedKeyWeakHashMap match
   [repeat]   where K#1,V,K#2 are type-variables:
   [repeat]     K#1 extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat]     K#2 extends Object declared in class SharedKeyWeakHashMap
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:740: warning: [rawtypes] found raw type: Entry
   [repeat]             Entry[] tab = table;
   [repeat]             ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Entry
   [repeat]     V extends Object declared in class Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:985: warning: [rawtypes] found raw type: Entry
   [repeat]                 Entry[] t = table;
   [repeat]                 ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Entry
   [repeat]     V extends Object declared in class Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/WeakSet.java:1272: warning: [rawtypes] found raw type: Entry
   [repeat]             Entry[] tab = getTable();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Entry
   [repeat]     V extends Object declared in class Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/ServiceType.java:249: warning: [rawtypes] found raw type: Collection
   [repeat]                 public T process(ServiceType obj, Collection ignore) {
   [repeat]                                                   ^
   [repeat]   missing type arguments for generic class Collection<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Collection
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/ServiceType.java:260: warning: [rawtypes] found raw type: List
   [repeat]         public abstract List getServiceTypes();
   [repeat]                         ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/ServiceType.java:271: warning: [rawtypes] found raw type: List
   [repeat]         public abstract void setServiceTypes(List arr);
   [repeat]                                              ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/ServiceType.java:285: warning: [rawtypes] found raw type: Class
   [repeat]         public ServiceType find(Class clazz) {
   [repeat]                                 ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/ServiceType.java:286: warning: [rawtypes] found raw type: Enumeration
   [repeat]             Enumeration en = services();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Enumeration<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Enumeration
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/ServiceType.java:309: warning: [rawtypes] found raw type: Enumeration
   [repeat]             Enumeration en = services();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Enumeration<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Enumeration
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/ServiceType.java:384: warning: [rawtypes] found raw type: Enumeration
   [repeat]                 Enumeration en = r.services(clazz);
   [repeat]                 ^
   [repeat]   missing type arguments for generic class Enumeration<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Enumeration
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Task.java:82: warning: [rawtypes] found raw type: Class
   [repeat]     private static java.util.WeakHashMap<Class, Boolean> overrides;
   [repeat]                                          ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Task.java:223: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator it;
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Task.java:314: warning: [rawtypes] found raw type: Class
   [repeat]         java.util.WeakHashMap<Class,Boolean> m;
   [repeat]                               ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Task.java:319: warning: [rawtypes] found raw type: Class
   [repeat]                 overrides = new java.util.WeakHashMap<Class, Boolean>();
   [repeat]                                                       ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Task.java:332: warning: [rawtypes] found raw type: Class
   [repeat]                 java.lang.reflect.Method method = getClass().getMethod("waitFinished", new Class[] { Long.TYPE }); // NOI18N
   [repeat]                                                                                            ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Enumerations.java:487: warning: [rawtypes] found raw type: Collection
   [repeat]             public boolean containsAll(Collection c) {
   [repeat]                                        ^
   [repeat]   missing type arguments for generic class Collection<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Collection
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Enumerations.java:503: warning: [rawtypes] found raw type: Collection
   [repeat]             public boolean removeAll(Collection c) {
   [repeat]                                      ^
   [repeat]   missing type arguments for generic class Collection<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Collection
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Enumerations.java:507: warning: [rawtypes] found raw type: Collection
   [repeat]             public boolean retainAll(Collection c) {
   [repeat]                                      ^
   [repeat]   missing type arguments for generic class Collection<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Collection
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/ImageUtilities.java:404: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator it = loaderQuery.allInstances().iterator();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/ImageUtilities.java:932: warning: [rawtypes] found raw type: Hashtable
   [repeat]         public void setProperties(Hashtable props) {
   [repeat]                                   ^
   [repeat]   missing type arguments for generic class Hashtable<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in class Hashtable
   [repeat]     V extends Object declared in class Hashtable
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/MapFormat.java:94: warning: [rawtypes] found raw type: Map
   [repeat]     private Map argmap;
   [repeat]             ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/MapFormat.java:116: warning: [rawtypes] found raw type: Map
   [repeat]     public MapFormat(Map arguments) {
   [repeat]                      ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/MapFormat.java:130: warning: [rawtypes] found raw type: Map
   [repeat]     public static String format(String pattern, Map arguments) {
   [repeat]                                                 ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/MapFormat.java:338: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator key_it = argmap.keySet().iterator();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/MapFormat.java:423: warning: [rawtypes] found raw type: Map
   [repeat]     public Map getMap() {
   [repeat]            ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/MapFormat.java:435: warning: [rawtypes] found raw type: Map
   [repeat]     public void setMap(Map map) {
   [repeat]                        ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Mutex.java:914: warning: [rawtypes] found raw type: List
   [repeat]                 List runnables = info.dequeue(postedMode);
   [repeat]                 ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Mutex.java:1556: warning: [rawtypes] found raw type: List
   [repeat]             this.queues = (List<Runnable>[])new List[MODE_COUNT];
   [repeat]                                                 ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Mutex.java:1575: warning: [rawtypes] found raw type: List
   [repeat]         public List dequeue(int mode) {
   [repeat]                ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/Mutex.java:1576: warning: [rawtypes] found raw type: List
   [repeat]             List ret = queues[mode];
   [repeat]             ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:90: warning: [rawtypes] found raw type: Set
   [repeat]     public static <E> Set<E> checkedSetByCopy(Set rawSet, Class<E> type, boolean strict) throws ClassCastException {
   [repeat]                                               ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:92: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator it = rawSet.iterator();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:118: warning: [rawtypes] found raw type: List
   [repeat]     public static <E> List<E> checkedListByCopy(List rawList, Class<E> type, boolean strict) throws ClassCastException {
   [repeat]                                                 ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:120: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator it = rawList.iterator();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:147: warning: [rawtypes] found raw type: Map
   [repeat]     public static <K,V> Map<K,V> checkedMapByCopy(Map rawMap, Class<K> keyType, Class<V> valueType, boolean strict) throws ClassCastException {
   [repeat]                                                   ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:149: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator it = rawMap.entrySet().iterator();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:151: warning: [rawtypes] found raw type: Entry
   [repeat]             Map.Entry e = (Map.Entry) it.next();
   [repeat]                ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Entry
   [repeat]     V extends Object declared in interface Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:169: warning: [rawtypes] found raw type: Iterator
   [repeat]         private final Iterator it;
   [repeat]                       ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:172: warning: [rawtypes] found raw type: Iterator
   [repeat]         public CheckedIterator(Iterator it) {
   [repeat]                                ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:218: warning: [rawtypes] found raw type: Iterator
   [repeat]     public static <E> Iterator<E> checkedIteratorByFilter(Iterator rawIterator, final Class<E> type, final boolean strict) {
   [repeat]                                                           ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:249: warning: [rawtypes] found raw type: Set
   [repeat]     public static <E> Set<E> checkedSetByFilter(Set rawSet, Class<E> type, boolean strict) {
   [repeat]                                                 ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:256: warning: [rawtypes] found raw type: Set
   [repeat]         private final Set rawSet;
   [repeat]                       ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:260: warning: [rawtypes] found raw type: Set
   [repeat]         public CheckedSet(Set rawSet, Class<E> type, boolean strict) {
   [repeat]                           ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:291: warning: [rawtypes] found raw type: Iterator
   [repeat]             Iterator it = rawSet.iterator();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:330: warning: [rawtypes] found raw type: Map
   [repeat]     public static <K,V> Map<K,V> checkedMapByFilter(Map rawMap, Class<K> keyType, Class<V> valueType, boolean strict) {
   [repeat]                                                     ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:337: warning: [rawtypes] found raw type: Map
   [repeat]         private final Map rawMap;
   [repeat]                       ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:342: warning: [rawtypes] found raw type: Map
   [repeat]         public CheckedMap(Map rawMap, Class<K> keyType, Class<V> valueType, boolean strict) {
   [repeat]                           ^
   [repeat]   missing type arguments for generic class Map<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Map
   [repeat]     V extends Object declared in interface Map
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:373: warning: [rawtypes] found raw type: Entry
   [repeat]         private boolean acceptEntry(Map.Entry e) {
   [repeat]                                        ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Entry
   [repeat]     V extends Object declared in interface Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:392: warning: [rawtypes] found raw type: Iterator
   [repeat]                 Iterator it = rawMap.entrySet().iterator();
   [repeat]                 ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:457: warning: [rawtypes] found raw type: Iterator
   [repeat]             Iterator it = rawMap.entrySet().iterator();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbCollections.java:478: warning: [rawtypes] found raw type: Enumeration
   [repeat]     public static <E> Enumeration<E> checkedEnumerationByFilter(Enumeration rawEnum, final Class<E> type, final boolean strict) {
   [repeat]                                                                 ^
   [repeat]   missing type arguments for generic class Enumeration<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Enumeration
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbPreferences.java:72: warning: [rawtypes] found raw type: Class
   [repeat]     public static Preferences forModule(Class cls) {
   [repeat]                                         ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbPreferences.java:95: warning: [rawtypes] found raw type: Class
   [repeat]                   public Preferences preferencesForModule(Class cls) {
   [repeat]                                                           ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/NbPreferences.java:130: warning: [rawtypes] found raw type: Class
   [repeat]         Preferences preferencesForModule(Class cls);
   [repeat]                                          ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/RE13.java:191: warning: [rawtypes] found raw type: List
   [repeat]                             List listForPref = (List) it.next();
   [repeat]                             ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/RE13.java:242: warning: [rawtypes] found raw type: List
   [repeat]     private static Object[] compress(List item) {
   [repeat]                                      ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/RE13.java:247: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator it = item.iterator();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:61: warning: [rawtypes] found raw type: Collection
   [repeat]     private Collection vertexes;
   [repeat]             ^
   [repeat]   missing type arguments for generic class Collection<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Collection
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:67: warning: [rawtypes] found raw type: Set
   [repeat]     private Set[] result;
   [repeat]             ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:75: warning: [rawtypes] found raw type: Collection
   [repeat]     TopologicalSortException(Collection vertexes, Map<?,? extends Collection<?>> edges) {
   [repeat]                              ^
   [repeat]   missing type arguments for generic class Collection<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Collection
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:85: warning: [rawtypes] found raw type: List
   [repeat]     public final List partialSort() {
   [repeat]                  ^
   [repeat]   missing type arguments for generic class List<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface List
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:86: warning: [rawtypes] found raw type: Set
   [repeat]         Set[] all = topologicalSets();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:110: warning: [rawtypes] found raw type: Set
   [repeat]     public final Set[] unsortableSets() {
   [repeat]                  ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:111: warning: [rawtypes] found raw type: Set
   [repeat]         Set[] all = topologicalSets();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:113: warning: [rawtypes] found raw type: Set
   [repeat]         ArrayList<Set> unsort = new ArrayList<Set>();
   [repeat]                   ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:113: warning: [rawtypes] found raw type: Set
   [repeat]         ArrayList<Set> unsort = new ArrayList<Set>();
   [repeat]                                               ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:121: warning: [rawtypes] found raw type: Set
   [repeat]         return unsort.toArray(new Set[0]);
   [repeat]                                   ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:198: warning: [rawtypes] found raw type: Set
   [repeat]     public final Set[] topologicalSets() {
   [repeat]                  ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:208: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator it = vertexes.iterator();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:217: warning: [rawtypes] found raw type: Set
   [repeat]         Map<Object,Set> objectsToSets = new HashMap<Object,Set>();
   [repeat]                    ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:217: warning: [rawtypes] found raw type: Set
   [repeat]         Map<Object,Set> objectsToSets = new HashMap<Object,Set>();
   [repeat]                                                            ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:219: warning: [rawtypes] found raw type: Set
   [repeat]         ArrayList<Set> sets = new ArrayList<Set>();
   [repeat]                   ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:219: warning: [rawtypes] found raw type: Set
   [repeat]         ArrayList<Set> sets = new ArrayList<Set>();
   [repeat]                                             ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:251: warning: [rawtypes] found raw type: Set
   [repeat]         HashMap<Set,Collection<Set>> edgesBetweenSets = new HashMap<Set,Collection<Set>>();
   [repeat]                 ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:251: warning: [rawtypes] found raw type: Set
   [repeat]         HashMap<Set,Collection<Set>> edgesBetweenSets = new HashMap<Set,Collection<Set>>();
   [repeat]                                ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:251: warning: [rawtypes] found raw type: Set
   [repeat]         HashMap<Set,Collection<Set>> edgesBetweenSets = new HashMap<Set,Collection<Set>>();
   [repeat]                                                                     ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:251: warning: [rawtypes] found raw type: Set
   [repeat]         HashMap<Set,Collection<Set>> edgesBetweenSets = new HashMap<Set,Collection<Set>>();
   [repeat]                                                                                    ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:255: warning: [rawtypes] found raw type: Entry
   [repeat]             Map.Entry entry = (Map.Entry) it.next();
   [repeat]                ^
   [repeat]   missing type arguments for generic class Entry<K,V>
   [repeat]   where K,V are type-variables:
   [repeat]     K extends Object declared in interface Entry
   [repeat]     V extends Object declared in interface Entry
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:256: warning: [rawtypes] found raw type: Collection
   [repeat]             Collection leadsTo = (Collection) entry.getValue();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Collection<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Collection
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:262: warning: [rawtypes] found raw type: Set
   [repeat]             Set from = objectsToSets.get(entry.getKey());
   [repeat]             ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:264: warning: [rawtypes] found raw type: Set
   [repeat]             Collection<Set> setsTo = edgesBetweenSets.get(from);
   [repeat]                        ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:267: warning: [rawtypes] found raw type: Set
   [repeat]                 setsTo = new ArrayList<Set>();
   [repeat]                                        ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:271: warning: [rawtypes] found raw type: Iterator
   [repeat]             Iterator convert = leadsTo.iterator();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:274: warning: [rawtypes] found raw type: Set
   [repeat]                 Set to = objectsToSets.get(convert.next());
   [repeat]                 ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:285: warning: [rawtypes] found raw type: Set
   [repeat]             List<Set> listResult = Utilities.topologicalSort(sets, edgesBetweenSets);
   [repeat]                  ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:286: warning: [rawtypes] found raw type: Set
   [repeat]             result = listResult.toArray(new Set[0]);
   [repeat]                                             ^
   [repeat]   missing type arguments for generic class Set<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Set
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:311: warning: [rawtypes] found raw type: Collection
   [repeat]         Collection c = (Collection) edges.get(vertex);
   [repeat]         ^
   [repeat]   missing type arguments for generic class Collection<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Collection
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:314: warning: [rawtypes] found raw type: Iterator
   [repeat]             Iterator it = c.iterator();
   [repeat]             ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:344: warning: [rawtypes] found raw type: Iterator
   [repeat]         Iterator it = vertex.edges();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/TopologicalSortException.java:383: warning: [rawtypes] found raw type: Iterator
   [repeat]         public Iterator edges() {
   [repeat]                ^
   [repeat]   missing type arguments for generic class Iterator<E>
   [repeat]   where E is a type-variable:
   [repeat]     E extends Object declared in interface Iterator
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/SharedClassObject.java:99: warning: [rawtypes] found raw type: Class
   [repeat]     private static final Map<Class,DataEntry> values = new WeakHashMap<Class,DataEntry>(37);
   [repeat]                              ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/SharedClassObject.java:99: warning: [rawtypes] found raw type: Class
   [repeat]     private static final Map<Class,DataEntry> values = new WeakHashMap<Class,DataEntry>(37);
   [repeat]                                                                        ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/SharedClassObject.java:626: warning: [rawtypes] found raw type: Class
   [repeat]         Class c = this.getClass();
   [repeat]         ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/SharedClassObject.java:646: warning: [rawtypes] found raw type: Class
   [repeat]         java.lang.reflect.Constructor<? extends SharedClassObject> c = clazz.getDeclaredConstructor(new Class[0]);
   [repeat]                                                                                                         ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] /home/matthias/NetBeansProjects/main-golden/openide.util/src/org/openide/util/SharedClassObject.java:779: warning: [rawtypes] found raw type: Class
   [repeat]         private static Method findReadResolveMethod(Class clazz) {
   [repeat]                                                     ^
   [repeat]   missing type arguments for generic class Class<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in class Class
   [repeat] 4 errors
   [repeat] 100 warnings
  [nbmerge] Failed to build target: all-openide.util

BUILD FAILED
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:423: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:418: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:453: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:436: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:418: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:453: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:436: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:418: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/build.xml:465: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/main-golden/nbbuild/templates/common.xml:217: Compile failed; see the compiler error output for details.

Total time: 34 seconds
matthias@athena:~/NetBeansProjects/main-golden/nbbuild$
Comment 1 matthias42 2014-07-05 12:02:25 UTC
Created attachment 147900 [details]
build patch

Ok - seems to be a combination of changes in jre classes and changes in the compilation process.

With the attached patch I was able to build netbeans on java8.
Comment 2 Ralph Ruijs 2014-11-26 13:08:00 UTC
JDK8u20 made default methods visible in -source 7 and -source 6 [1]. Dependencies need to be updated and ambiguous method calls need to be changed.

Thanks for the patch, it has been pushed with some minor changes. (updated with recent changes, mainly the introduction of LineDocument, and removed some unnecessary changes.)

Fixed in jet-main:   http://hg.netbeans.org/jet-main/rev/c60440bf5916



[1] http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8029240
    http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8030855
Comment 3 Ralph Ruijs 2014-11-26 13:13:28 UTC
Successfully build full cluster with:

java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)

java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)



Successfully build basic cluster with: (missing javafx in openjdk installation)

openjdk version "1.8.0_25"
OpenJDK Runtime Environment (build 1.8.0_25-b18)
OpenJDK 64-Bit Server VM (build 25.25-b02, mixed mode)
Comment 4 matthias42 2014-11-26 19:51:52 UTC
I just updated core-main and it looks as if the changes already hit the repository. I can confirm, that the sources now build with the openjdk8 javac.

Ok - this is a bit mixed, but I think I see the correct results. I build with my normal javac (javac 1.8.0-jdk8u40-b08) while referencing a parallel jdk7 installation as classpath (nbjdk.home=<path> via user.build.properties. Then I can run the IDE in "tryme"-modus:

ant -Dnbjdk.home=/home/matthias/bin/jdk8 tryme

the now referenced JDK8 also contains a build of openJFX, and I also get the "Embedded Webkit Browser". It looks as I the javafx components are also included if the build jdk does not contain FX (in this case openjdk7). Looks very nice!

Thank you very much!
Comment 5 Quality Engineering 2014-11-27 04:24:05 UTC
Integrated into 'main-silver', will be available in build *201411270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c60440bf5916
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #244700 - Default methods are visible under source previous to 8, since jdk8u20. Patch contributed by: Matthias Bl