Currently there are 3 tags all describing the same entity:
- javac (332 questions)
- javacompiler (45 questions)
- java-compiler (6 questions)
I think both javacompiler and java-compiler should be made synonyms of javac.
Currently there are 3 tags all describing the same entity:
I think both javacompiler and java-compiler should be made synonyms of javac.
Actually, javac
is just one of several implementations of a Java compiler (the most common one, available in Oracle's JDK and OpenJDK, though also many use the eclipse-compiler). So, in principle the [java-compiler] tag could be more general, for example for comparisons of different java compilers.
On the other hand, many of the current questions of both java-compiler and javacompiler seem to be about javac
, so a merge into javac might be appropriate.
As mentioned by Joachim in the comments, quite some of the questions in the [javacompiler] tag are actually about usages of the Java compiler API (javax.tools.JavaCompiler and related classes/interfaces). (These are actually also using the JRE's default compiler implementation, most likely the same that is javac
.)
For these, java-compiler-api could be more appropriate (and not easily misused).
Then java-compilers would be for general questions about any Java compilers.
I just removed the java-compiler tag from all its 4 questions (retagging as appropriate), and then did a short survey of javacompiler: It has now 44 questions. Of those (by just looking at the question list),
So I think I'll go through the list, retag all but the java-compiler-api ones, and then hope to get an SO moderator to merge/synonym the remaining ones.
(Maybe someone else will have a look at existing javac questions to see if there are any which need retagging.)
Okay, we now have 22 questions with javacompiler left, which should be merged into java-compiler-api (1 question).
I was not able to create the java-compilers tag (for questions about Java-compilers in general), thus I used java-compiler for those questions. These should be renamed or merged to java-compilers now.
Could some kind Stack Overflow moderator do these two tag merges/renames?
javax.tools.JavaCompiler
interface introduced in Java 6 to support invocation of the Java compiler from within a Java application.
Oct 18, 2011 at 13:06
javac
), java-compilers (for Java compilers in general, if necessary) and javacompiler (for the interface) would be the correct approach.
Oct 18, 2011 at 13:14