Has a change been made to HK2? I just tried compiling today's
checkout...
Lloyd
[INFO] [hk2:hk2-compile]
[INFO] Compiling 17 source files to /work/v3/code/common/amx-config-
impl/target/classes
/work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/admin/
amx/impl/config/DelegateToConfigBeanDelegate.java:498: cannot find
symbol
symbol : method get()
location: class org.jvnet.hk2.config.Transactions
Transactions.get().addTransactionsListener(myListener);
^
/work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/admin/
amx/impl/config/DelegateToConfigBeanDelegate.java:517: cannot find
symbol
symbol : method get()
location: class org.jvnet.hk2.config.Transactions
Transactions.get().waitForDrain();
^
/work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/admin/
amx/impl/config/DelegateToConfigBeanDelegate.java:519: cannot find
symbol
symbol : method get()
location: class org.jvnet.hk2.config.Transactions
Transactions.get().removeTransactionsListener(myListener);
^
/work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/admin/
amx/impl/config/NameMappingHelper.java:83: non-static method
getElementsNames(org.jvnet.hk2.config.ConfigBean) cannot be referenced
from a static context
final Set<String> xmlLeafNames =
SetUtil.newStringSet(ConfigSupport.getElementsNames(mConfigBean));
^
/work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/admin/
amx/impl/config/AMXConfigLoader.java:82: cannot find symbol
symbol : method get()
location: class org.jvnet.hk2.config.Transactions
private final Transactions mTransactions = Transactions.get();
^
Note: /work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/
admin/amx/impl/config/AMXConfigImplBase.java uses or overrides a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.