Re: Wonder Source build error
Re: Wonder Source build error
- Subject: Re: Wonder Source build error
- From: Jeffrey Schmitz via Webobjects-dev <email@hidden>
- Date: Tue, 31 Dec 2019 09:52:09 -0600
I switched to java 8:
java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode)
But am still getting the error.
[wocompile]
/Users/netBrackets/git/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/jdbc/ERXJDBCConnectionBroker.java:269:
error: method does not override or implement a method from a supertype
[wocompile] @Override
[wocompile] ^
[wocompile] Note: Some input files use or override a deprecated API.
[wocompile] Note: Recompile with -Xlint:deprecation for details.
[wocompile] Note: Some input files use unchecked or unsafe operations.
[wocompile] Note: Recompile with -Xlint:unchecked for details.
[wocompile] 1 error
[wocompile] 15 warnings
> On Dec 30, 2019, at 3:49 PM, Henrique Prange <email@hidden> wrote:
>
> Hi Jeffrey,
>
> What Java version are you using to compile the code? If it's Java 11 or
> greater, this error is expected because the method destroy of the Thread
> class was removed. It's deprecated since Java 8.
>
> Currently, it's advisable to build Wonder with Java 8. You can still use the
> resulting binaries on projects with Java 11+ at your own risk.
>
> Cheers,
>
> HP
>
>> On Dec 30, 2019, at 2:30 PM, Jeffrey Schmitz via Webobjects-dev
>> <email@hidden <mailto:email@hidden>>
>> wrote:
>>
>> Hello List (again),
>> I’m trying to build the latest wonder source and am getting the below
>> error. I was able to build by deleting the @Override annotation, but am not
>> sure if this is the right thing to do .
>>
>> [wocompile]
>> /Users/netBrackets/git/WonderSource/Frameworks/Core/ERExtensions/Sources/er/extensions/jdbc/ERXJDBCConnectionBroker.java:269:
>> error: method does not override or implement a method from a supertype
>> [wocompile] @Override
>> [wocompile] ^
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden
>> <mailto:email@hidden>)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden