Commit Graph

5 Commits

Author SHA1 Message Date
Loredana Crusoveanu bd22cd94f2 Merge pull request #10194 from Maiklins/Java-2824-Fix-Tests-in-Java-9-and-above-modules
Java-2824 fix tests in java 9 and above modules
2020-12-30 12:13:19 +02:00
mikr 0e54f859cc JAVA-2824 Fix tests in Java 9 and above modules 2020-10-22 22:04:22 +02:00
dgcd 103bd4cf65 Fixed typos in core-java-9-jigsaw module 2020-10-11 01:23:32 +03:00
Michael Angstadt 388f03ae9a Use ServiceLoader class to obtain service instance
In the "main-app" module, the `HelloInterface` service instance, `HelloModules`, was just being treated like an ordinary class that was exported from the "hello.modules" module. The code was not treating the class as a service class. This is not a good example of how services are used.

This commit makes use of the `ServiceLoader` class, which provides access to the `HelloInterface` instance as defined in the "hello.modules" module. This serves as a better example for how services are used.
2020-05-26 15:46:28 -04:00
Alessio Stalla 0e3e7e9106 Merge branch 'master' into BAEL-16633 2019-10-30 23:09:06 +01:00