public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] let gjavah accept -source 1.[567]
@ 2012-12-19 13:01 Matthias Klose
  2012-12-19 14:17 ` [cp-patches] " Andrew Hughes
  2012-12-19 17:38 ` Mark Wielaard
  0 siblings, 2 replies; 8+ messages in thread
From: Matthias Klose @ 2012-12-19 13:01 UTC (permalink / raw)
  To: classpath-patches, GCJ-patches

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

Currently gjavah only accepts -source 1.4 and lower, and errors out for any
other value. Would it be reasonable to accept higher versions too?

  Matthias


[-- Attachment #2: gjdoc.diff --]
[-- Type: text/x-diff, Size: 1009 bytes --]

Index: classpath/tools/gnu/classpath/tools/gjdoc/Main.java
===================================================================
--- classpath/tools/gnu/classpath/tools/gjdoc/Main.java	(Revision 194604)
+++ classpath/tools/gnu/classpath/tools/gjdoc/Main.java	(Arbeitskopie)
@@ -1339,10 +1310,13 @@
             option_source = args[0];
             if (!"1.2".equals(option_source)
                 && !"1.3".equals(option_source)
-                && !"1.4".equals(option_source)) {
+                && !"1.4".equals(option_source)
+                && !"1.5".equals(option_source)
+                && !"1.6".equals(option_source)
+                && !"1.7".equals(option_source)) {
 
               throw new RuntimeException("Only he following values are currently"
-                                         + " supported for option -source: 1.2, 1.3, 1.4.");
+                                         + " supported for option -source: 1.2, 1.3, 1.4, 1.5, 1.6, 1.7.");
             }
           }
         });

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-01-10 15:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-19 13:01 [patch] let gjavah accept -source 1.[567] Matthias Klose
2012-12-19 14:17 ` [cp-patches] " Andrew Hughes
2012-12-19 17:38 ` Mark Wielaard
2012-12-20 15:42   ` Andrew Hughes
2013-01-06 17:00   ` Matthias Klose
2013-01-07  8:54     ` Mark Wielaard
2013-01-10  9:17       ` Mark Wielaard
2013-01-10 15:20         ` Andrew Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).