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 <hpra...@gmail.com> 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 
>> <webobjects-dev@lists.apple.com <mailto:webobjects-dev@lists.apple.com>> 
>> 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      (Webobjects-dev@lists.apple.com 
>> <mailto:Webobjects-dev@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com 
>> <https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com>
>> 
>> This email sent to hpra...@gmail.com
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to