langtools/test/tools/javadoc/6964914/Test.java
changeset 27991 8f4b68523da3
parent 23139 612191246a7d
child 30730 d3ce7619db2c
--- a/langtools/test/tools/javadoc/6964914/Test.java	Mon Dec 08 16:30:43 2014 +0000
+++ b/langtools/test/tools/javadoc/6964914/Test.java	Mon Dec 08 18:02:07 2014 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -46,6 +46,7 @@
         File testSrc = new File(System.getProperty("test.src"));
         String[] args = {
             "-Xdoclint:none",
+            "-source", "8",
             "-bootclasspath", System.getProperty("sun.boot.class.path"),
             "-classpath", ".",
             "-package",