This is an automated email from the ASF dual-hosted git repository.
jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git
The following commit(s) were added to refs/heads/master by this push:
new d0c770e @JavaScriptBody has never been tested on constructors by the
TCK - it is unlikely to work.
new b62bc0c Merge pull request #39 from jtulach/NoConstructors
d0c770e is described below
commit d0c770e76dccc7d414cce702e229c27bd43cca17
Author: Jaroslav Tulach <[email protected]>
AuthorDate: Wed Jul 28 20:06:42 2021 +0200
@JavaScriptBody has never been tested on constructors by the TCK - it is
unlikely to work.
---
boot/src/main/java/net/java/html/js/JavaScriptBody.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/src/main/java/net/java/html/js/JavaScriptBody.java
b/boot/src/main/java/net/java/html/js/JavaScriptBody.java
index 9a76dac..a076d8d 100644
--- a/boot/src/main/java/net/java/html/js/JavaScriptBody.java
+++ b/boot/src/main/java/net/java/html/js/JavaScriptBody.java
@@ -35,7 +35,7 @@ import java.lang.annotation.Target;
* @author Jaroslav Tulach
*/
@Retention(RetentionPolicy.CLASS)
-@Target({ ElementType.METHOD, ElementType.CONSTRUCTOR })
+@Target({ ElementType.METHOD })
public @interface JavaScriptBody {
/** Names of parameters for the method generated method that can
* be referenced from {@link #body()}.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists