Ticket #20 (new defect)

Opened 1 year ago

PlainSocketImpl typo

Reported by: anonymous Assigned to: chris
Priority: minor Milestone:
Component: core-libraries Version:
Keywords: Cc:

Description

Hello

There seems to be a little typo in the java.net.PlainSocketImpl?:

It's seems that it's trying to use PlainDatagramSocketImpl?.Options(...), but should use PlainDatagramSocketImpl?.options(...). Could be corrected in one or the other, I decided to change it in PlainSocketImpl? and it works now.

The error message was:

velopment/Mika/trunk/build/pc//ant_build.settings'

build-wre:

[javac] Compiling 809 source files to /home/grafl/development/Mika/trunk/build/pc/class [javac] [javac] Found 2 semantic errors compiling "/home/grafl/development/Mika/trunk/core-vm/java/java/net/PlainSocketImpl.java": [javac] [javac] 61. return PlainDatagramSocketImpl?.Options(opt, null, getSocket()); [javac] ----------------------------------------------------- [javac] *** Semantic Error: No method named "Options" was found in type "java.net.PlainDatagramSocketImpl?". However, there is an accessible method "options" whose name closely matches the name "Options". [javac] [javac] [javac] 86. PlainDatagramSocketImpl?.Options(opt, value, getSocket()); [javac] ------------------------------------------------------ [javac] *** Semantic Error: No method named "Options" was found in type "java.net.PlainDatagramSocketImpl?". However, there is an accessible method "options" whose name closely matches the name "Options".

BUILD FAILED /home/grafl/development/Mika/trunk/build.xml:38: The following error occurred while executing this line: /home/grafl/development/Mika/trunk/build.xml:84: The following error occurred while executing this line: