# HG changeset patch # User Jaroslav Tulach # Date 1410726892 -7200 # Node ID 461cd4b24db907392867611a68bd78224c9210e2 # Parent ce34fdc36fac9d0b57297e69c667159bffcfd84e NetBeans uses the Streams class for check whether we are really running on JDK8 and thus whether it can enable JDK8 features. Add such fake package private class. diff -r ce34fdc36fac -r 461cd4b24db9 rt/emul/compact/src/main/java/java/util/stream/Streams.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rt/emul/compact/src/main/java/java/util/stream/Streams.java Sun Sep 14 22:34:52 2014 +0200 @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2014 API Design + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +package java.util.stream; + +/** NetBeans uses the Streams class for check whether we are really running + * on JDK8 and thus can enable JDK8 features. Let's add one such fake class + * here. + * + * @author Jaroslav Tulach + */ +final class Streams { + private Streams() { + } +}