History log of /unit/auto/modules/java (Results 1 – 18 of 18)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2228:f403dc1e3ec1 27-Oct-2022 Andrew Clayton

Fixed main() prototypes in auto tests.

Future releases of GCC are planning to remove[0] default support for
some old features that were removed from C99 but GCC still accepts.

We can test for these

Fixed main() prototypes in auto tests.

Future releases of GCC are planning to remove[0] default support for
some old features that were removed from C99 but GCC still accepts.

We can test for these changes by using the following -Werror=
directives

-Werror=implicit-int
-Werror=implicit-function-declaration
-Werror=int-conversion
-Werror=strict-prototypes
-Werror=old-style-definition

Doing so revealed an issue with the auto/ tests in that the test
programs always define main as

int main()

rather than

int main(void)

which results in a bunch of errors like

build/autotest.c:3:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
3 | int main() {
| ^~~~
build/autotest.c: In function 'main':
build/autotest.c:3:23: error: old-style function definition [-Werror=old-style-definition]

The fix was easy, it only required fixing the main prototype with

find -type f -exec sed -i 's/int main() {/int main(void) {/g' {} \;

Regardless of these upcoming GCC changes, this is probably a good thing
to do anyway for correctness.

[0]: https://fedoraproject.org/wiki/Changes/PortingToModernC

Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/>
Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/6SGHPHPAXKCVJ6PUZ57WVDQ5TDBVIRMF/>
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>

show more ...


Revision tags: 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0, 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0
# 1938:418e225f58e4 12-Aug-2021 Max Romanov

Java: upgrading third-party components.


# 1931:747666e4bec3 09-Aug-2021 Max Romanov

Java: upgrading third-party components.


Revision tags: 1.24.0-1, 1.24.0, 1.23.0-1, 1.23.0
# 1816:91b04f5068f5 22-Mar-2021 "Sergey A. Osokin"

Java: upgrading third-party components.


Revision tags: 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0
# 1696:27cef28d0126 10-Nov-2020 Max Romanov

Java: fixing isolation mounts for Alpine musl.

Thanks to @wujjpp.

This closes #490 PR on GitHub.


# 1677:ccd5c695b739 02-Nov-2020 Max Romanov

Java: upgrading 3rd-party components.


# 1673:883f2f79c2f6 29-Oct-2020 Tiago Natel de Moura

Isolation: mounting of procfs by default when using "rootfs".


# 1655:72319d055889 26-Oct-2020 Valentin Bartenev

Configure: using comma instead of space for passing -rpath value.

This variant will be more interoperable across various systems
and it's already used in Ruby module.

Otherwise, configure tests fai

Configure: using comma instead of space for passing -rpath value.

This variant will be more interoperable across various systems
and it's already used in Ruby module.

Otherwise, configure tests fail on NetBSD with:

gcc: Missing argument for -Wl,-rpath

show more ...


Revision tags: 1.20.0-1, 1.20.0
# 1585:e941d77852d1 25-Aug-2020 Tiago Natel de Moura

Isolation: added "automount" option.

Now it's possible to disable default bind mounts of
languages by setting:

{
"isolation": {
"automount": {
"language_deps": fal

Isolation: added "automount" option.

Now it's possible to disable default bind mounts of
languages by setting:

{
"isolation": {
"automount": {
"language_deps": false
}
}
}

In this case, the user is responsible to provide a "rootfs"
containing the language libraries and required files for
the application.

show more ...


Revision tags: 1.19.0-1, 1.19.0
# 1532:4b4d0c3ce94b 30-Jul-2020 Tiago Natel de Moura

Isolation: fixed the generation of mounts table.

Since the introduction of rootfs feature, some language modules
can't be configured multiple times.

Now the configure generates a separate nxt_<modu

Isolation: fixed the generation of mounts table.

Since the introduction of rootfs feature, some language modules
can't be configured multiple times.

Now the configure generates a separate nxt_<module>_mounts.h for
each module compiled.

show more ...


Revision tags: 1.18.0-1, 1.18.0
# 1496:9e14c63773be 28-May-2020 Tiago Natel de Moura

Packages: fixed java configure script.

Now the configure script appends /server to --lib-path argument.


# 1489:4a3ec07f4b19 28-May-2020 Tiago Natel de Moura

Added "rootfs" feature.


Revision tags: 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0
# 1341:f11eb1b5b339 28-Jan-2020 Max Romanov

Java: fixing configure errors reporting.


# 1340:518b528dc67e 28-Jan-2020 Max Romanov

Java: introducing SHA512 sum validation for external JARs.


# 1339:d572742eae2f 28-Jan-2020 Max Romanov

Java: fixing maven repository URL.

It is required to use https scheme and different host to download
packages from maven repository.


Revision tags: 1.14.0-1, 1.14.0, 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0
# 1217:ed8c4e263152 02-Oct-2019 Max Romanov

Fixed "make tests" build without preceding "make".

Currently almost all Unit object files depends on generated nxt_version.h.
This patch adds missing dependence and fixes running make with multiple

Fixed "make tests" build without preceding "make".

Currently almost all Unit object files depends on generated nxt_version.h.
This patch adds missing dependence and fixes running make with multiple
jobs.

This closes #318 issue on GitHub.

show more ...


Revision tags: 1.11.0-2, 1.11.0-1, 1.11.0
# 1157:7ae152bda303 05-Sep-2019 Max Romanov

Java: introducing websocket support.


Revision tags: 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0, 1.8.0-1, 1.8.0
# 977:4f9268f27b57 28-Feb-2019 Max Romanov

Introducing Java Servlet Container beta.