Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.1
-
None
-
None
Description
I have create a class in Groovy:
public class AClass
{
@Deprecated public void foo()
}
I compiled it using groovyc
groovyc AClass.groovy
Now I created a Java class as shown below:
class Test
{
public static void main(String[] args)
}
When I compile the Java code
javac Test.java
I don't get any deprecation warnings.
If I compile AClass.groovy using javac (after copying to AClass.java) and then compile Test.java using javac, I get a deprecation warning.