1.1 --- a/src/share/classes/com/sun/tools/javac/code/Source.java Tue Feb 04 18:49:58 2014 -0800 1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Source.java Thu Feb 06 21:03:03 2014 +0000 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -203,6 +203,9 @@ 1.11 public boolean allowDefaultMethods() { 1.12 return compareTo(JDK1_8) >= 0; 1.13 } 1.14 + public boolean allowDefaultMethodsResolution() { 1.15 + return compareTo(JDK1_7) >= 0; 1.16 + } 1.17 public boolean allowStaticInterfaceMethods() { 1.18 return compareTo(JDK1_8) >= 0; 1.19 }